YaCy MCP Server
MCP (Model Context Protocol) Server implementation that provides AI tools to search using YaCy web search API.
YaCy MCP Server
MCP (Model Context Protocol) Server implementation that provides AI tools to search using YaCy web search API.
Installation
- Make sure you have
uvinstalled:
pip install uv
- 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 .
Usage
- Make sure you have a YaCy server running (typically on http://localhost:8090)
- Set environment variables (optional):
export YACY_URL=http://localhost:8090
- Run the MCP server:
python -m yacy_mcp
Configuration
The server can be configured using environment variables:
YACY_URL: URL of your YaCy instance (default: http://localhost:8090)
Available Tools
yacy-search: Search using YaCy web search engine- Parameters:
query(string, required): Search query stringmax_results(integer, optional): Maximum number of results to return (default: 10)resource(string, optional): Search resource (local or global, default: global)
- Parameters:
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.
Related Servers
Paper Search MCP
Search and download academic papers from sources like arXiv, PubMed, and Google Scholar.
gnosis-mcp
Zero-config knowledge base for AI coding agents. Loads your markdown docs into a searchable database and exposes them as MCP tools — search, read, and manage documentation without leaving your editor. Works instantly with SQLite (no setup), upgrades to PostgreSQL + pgvector for hybrid semantic search. Includes skills for searching docs (/gnosis:search), health checks (/gnosis:status), doc management (/gnosis:manage), and first-time setup (/gnosis:setup). 6 MCP tools, 3 resources, FTS5 keyword search, 176 tests.
Stock Analysis
Access real-time and historical Indian stock data using the Yahoo Finance API.
MCP Registry Server
A server for discovering and retrieving other MCP servers via MCPulse.
Finviz MCP Server
Provides stock screening and fundamental analysis using Finviz data. Requires a Finviz Elite subscription.
yfinance MCP Server
Access up-to-date prices and news for stocks and cryptocurrencies.
Legal MCP Server Argentina
A server for intelligent search and jurisprudence analysis of Argentine legal documents.
Inkeep
RAG Search over your content powered by Inkeep
Semantic Search Of Reddit
MCP server that enables AI assistants to search Reddit conversations, explore subreddits, and access trending topics.
Lancelot-MCP
A containerized MCP server for LanceDB vector search, featuring hybrid processing with Gemini and Ollama.