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
Open Custom Search API
Perform web searches using Google's Custom Search API.
AllTrails
Search for hiking trails and get detailed trail information from AllTrails.
Context7 HTTP
An MCP server for the Context7 project, providing HTTP streaming and search endpoints for library information without local installation.
Grep App
Search code across public GitHub repositories using the grep.app API.
NullBR MCP Server
A server for searching and retrieving movie and media resource information via the MCP protocol.
Manticore Search
Provides access to Manticore Search, an open-source database for real-time, full-text search.
PaperMCP 智能学术论文检索系统
An academic paper search server powered by the OpenAlex API.
门店大数据服务
Provides comprehensive offline store information queries, including enterprise restaurant brand store search, offline store search, and restaurant brand store statistics.
Deep Research
Generates in-depth research reports using powerful AI models.
YouTube MCP Server
Search YouTube videos, retrieve transcripts, and perform semantic search over video content.