YaCy Search MCP
An MCP server that allows AI agents to interact with a self-hosted YaCy peer-to-peer search engine. It enables web searching, site crawling, index status monitoring, peer listing, and ranking evaluation without requiring a central API or API key, leveraging the agent's own local YaCy instance.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search the web using a local YaCy peer
- Crawl specific sites to update the local index
- Evaluate search ranking settings and results
- List connected peers and trust status
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/pad01g/yacy-search-mcp:1.0.0
{
"transport": "stdio",
"identifier": "ghcr.io/pad01g/yacy-search-mcp:1.0.0",
"registryType": "oci",
"environmentVariables": [
{
"name": "YACY_URL",
"isRequired": true,
"description": "Base URL of your YaCy peer as seen from the MCP server container, e.g. http://yacy:8090 on a shared Docker network (docker run --network ...), or http://host.docker.internal:8090"
},
{
"name": "YACY_ADMIN_USER",
"default": "admin",
"description": "YaCy administrator account, needed for crawling and settings"
},
{
"name": "YACY_ADMIN_PASSWORD",
"description": "YaCy administrator password; without it crawl, settings and the index counts of index_status are not available"
},
{
"name": "YACY_CRAWL_ALLOW_PRIVATE",
"description": "1 lets crawl reach loopback and private addresses (intranets); off by default"
},
{
"name": "YACY_ALLOW_TRUST_SETTINGS",
"description": "1 lets set_ranking_setting change the trust filter settings (acceptUnverified, excludeTags); off by default"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"yacy-search-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"YACY_URL=<YOUR_YACY_URL>",
"-e",
"YACY_ADMIN_USER=<YOUR_YACY_ADMIN_USER>",
"-e",
"YACY_ADMIN_PASSWORD=<YOUR_YACY_ADMIN_PASSWORD>",
"-e",
"YACY_CRAWL_ALLOW_PRIVATE=<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"-e",
"YACY_ALLOW_TRUST_SETTINGS=<YOUR_YACY_ALLOW_TRUST_SETTINGS>",
"ghcr.io/pad01g/yacy-search-mcp:1.0.0"
],
"env": {
"YACY_URL": "<YOUR_YACY_URL>",
"YACY_ADMIN_USER": "<YOUR_YACY_ADMIN_USER>",
"YACY_ADMIN_PASSWORD": "<YOUR_YACY_ADMIN_PASSWORD>",
"YACY_CRAWL_ALLOW_PRIVATE": "<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"YACY_ALLOW_TRUST_SETTINGS": "<YOUR_YACY_ALLOW_TRUST_SETTINGS>"
}
}
}
}Cline
{
"mcpServers": {
"yacy-search-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"YACY_URL=<YOUR_YACY_URL>",
"-e",
"YACY_ADMIN_USER=<YOUR_YACY_ADMIN_USER>",
"-e",
"YACY_ADMIN_PASSWORD=<YOUR_YACY_ADMIN_PASSWORD>",
"-e",
"YACY_CRAWL_ALLOW_PRIVATE=<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"-e",
"YACY_ALLOW_TRUST_SETTINGS=<YOUR_YACY_ALLOW_TRUST_SETTINGS>",
"ghcr.io/pad01g/yacy-search-mcp:1.0.0"
],
"env": {
"YACY_URL": "<YOUR_YACY_URL>",
"YACY_ADMIN_USER": "<YOUR_YACY_ADMIN_USER>",
"YACY_ADMIN_PASSWORD": "<YOUR_YACY_ADMIN_PASSWORD>",
"YACY_CRAWL_ALLOW_PRIVATE": "<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"YACY_ALLOW_TRUST_SETTINGS": "<YOUR_YACY_ALLOW_TRUST_SETTINGS>"
}
}
}
}VS Code
{
"servers": {
"yacy-search-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"YACY_URL=<YOUR_YACY_URL>",
"-e",
"YACY_ADMIN_USER=<YOUR_YACY_ADMIN_USER>",
"-e",
"YACY_ADMIN_PASSWORD=<YOUR_YACY_ADMIN_PASSWORD>",
"-e",
"YACY_CRAWL_ALLOW_PRIVATE=<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"-e",
"YACY_ALLOW_TRUST_SETTINGS=<YOUR_YACY_ALLOW_TRUST_SETTINGS>",
"ghcr.io/pad01g/yacy-search-mcp:1.0.0"
],
"env": {
"YACY_URL": "<YOUR_YACY_URL>",
"YACY_ADMIN_USER": "<YOUR_YACY_ADMIN_USER>",
"YACY_ADMIN_PASSWORD": "<YOUR_YACY_ADMIN_PASSWORD>",
"YACY_CRAWL_ALLOW_PRIVATE": "<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"YACY_ALLOW_TRUST_SETTINGS": "<YOUR_YACY_ALLOW_TRUST_SETTINGS>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"yacy-search-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"YACY_URL=<YOUR_YACY_URL>",
"-e",
"YACY_ADMIN_USER=<YOUR_YACY_ADMIN_USER>",
"-e",
"YACY_ADMIN_PASSWORD=<YOUR_YACY_ADMIN_PASSWORD>",
"-e",
"YACY_CRAWL_ALLOW_PRIVATE=<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"-e",
"YACY_ALLOW_TRUST_SETTINGS=<YOUR_YACY_ALLOW_TRUST_SETTINGS>",
"ghcr.io/pad01g/yacy-search-mcp:1.0.0"
],
"env": {
"YACY_URL": "<YOUR_YACY_URL>",
"YACY_ADMIN_USER": "<YOUR_YACY_ADMIN_USER>",
"YACY_ADMIN_PASSWORD": "<YOUR_YACY_ADMIN_PASSWORD>",
"YACY_CRAWL_ALLOW_PRIVATE": "<YOUR_YACY_CRAWL_ALLOW_PRIVATE>",
"YACY_ALLOW_TRUST_SETTINGS": "<YOUR_YACY_ALLOW_TRUST_SETTINGS>"
}
}
}
}Let your agent find its tools
Find servers like YaCy Search MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.