Skip to main content
Glama
koosty

yacy-mcp

by koosty

YaCy MCP Server

MCP (Model Context Protocol) Server implementation that provides AI tools to search using YaCy web search API.

Installation

  1. Make sure you have uv installed:

pip install uv
  1. Install the package in development mode:

cd yacy-mcp
uv sync  # Sync all dependencies from pyproject.toml and uv.lock

Or alternatively:

cd yacy-mcp
uv pip install -e .

Related MCP server: MCP Google Server

Usage

  1. Make sure you have a YaCy server running (typically on http://localhost:8090)

  2. Set environment variables (optional):

export YACY_URL=http://localhost:8090
  1. Run the MCP server:

python -m yacy_mcp

Configuration

The server can be configured using environment variables:

Available Tools

  • yacy-search: Search using YaCy web search engine

    • Parameters:

      • query (string, required): Search query string

      • max_results (integer, optional): Maximum number of results to return (default: 10)

      • resource (string, optional): Search resource (local or global, default: global)

MCP Configuration for AI Applications

To use this server with AI applications that support the Model Context Protocol (MCP), configure your MCP client to connect to the server using stdio transport.

Example configuration for Claude Desktop (settings.json):

{
  "mcpServers": {
    "yacy-mcp": {
      "command": "uvx",
      "args": ["yacy_mcp"],
      "env": {
        "YACY_URL": "http://localhost:8090"
      }
    }
  }
}

For other MCP-compatible applications, use the command uvx yacy_mcp as the server executable. The server will be automatically fetched and run from PyPI.

Integration with AI Applications

This MCP server can be used with AI applications that support the Model Context Protocol to perform web searches using the YaCy search engine.

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev0.1.0
    • First observedyacy_search

TDQS

A4.1/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no possibility of confusion between tools. The tool's purpose is clearly defined as a web search operation.

Naming Consistency4/5

The single tool name 'yacy_search' is descriptive and follows a verb-like pattern, but with only one tool there is no pattern to compare against for consistency.

Tool Count2/5

A single search tool is too few for a full-featured MCP server, even one focused on a single search engine. Users would expect additional capabilities like managing resources or getting engine status.

Completeness2/5

The search tool provides the core search functionality, but lacks any supporting operations such as retrieving specific results, filtering, or examining engine state. This leaves significant gaps for agents that might need more than a basic search.

Maintenance

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Provides web search capabilities using Google Custom Search API, enabling users to perform searches through a Model Context Protocol server.
    2
    219 npm
    68
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that provides web search capabilities via DuckDuckGo and advanced content extraction using Crawl4AI and LLM-powered analysis. It enables users to perform web-wide searches and fetch processed website data through automated browser interaction and intelligent summarization.
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Provides a bridge between AI assistants and SearXNG, a privacy-respecting metasearch engine, enabling web searches and engine discovery via the Model Context Protocol.
    2
    24 npm
    1
    Apache 2.0