YaCy peer-to-peer search
v1.0.0Web search, crawling and ranking evaluation on your own YaCy peer: no API key, no central service.
Values you need
| Variable | What it is | |
|---|---|---|
YACY_URL | required | 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 |
YACY_ADMIN_USER | optional | YaCy administrator account, needed for crawling and settings Default: admin |
YACY_ADMIN_PASSWORD | optional secret | YaCy administrator password; without it crawl, settings and the index counts of index_status are not available |
YACY_CRAWL_ALLOW_PRIVATE | optional | 1 lets crawl reach loopback and private addresses (intranets); off by default |
YACY_ALLOW_TRUST_SETTINGS | optional | 1 lets set_ranking_setting change the trust filter settings (acceptUnverified, excludeTags); off by default |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add yacy-search -e 'YACY_URL=<YACY_URL>' -- docker run -i --rm -e YACY_URL ghcr.io/pad01g/yacy-search-mcp:1.0.0Add to
claude_desktop_config.json{
"mcpServers": {
"yacy-search": {
"args": [
"run",
"-i",
"--rm",
"-e",
"YACY_URL",
"ghcr.io/pad01g/yacy-search-mcp:1.0.0"
],
"command": "docker",
"env": {
"YACY_URL": "<YACY_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"yacy-search": {
"args": [
"run",
"-i",
"--rm",
"-e",
"YACY_URL",
"ghcr.io/pad01g/yacy-search-mcp:1.0.0"
],
"command": "docker",
"env": {
"YACY_URL": "<YACY_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "YACY_URL",
"id": "yacy-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"yacy-search": {
"args": [
"run",
"-i",
"--rm",
"-e",
"YACY_URL",
"ghcr.io/pad01g/yacy-search-mcp:1.0.0"
],
"command": "docker",
"env": {
"YACY_URL": "${input:yacy-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.yacy-search]
command = "docker"
args = ["run", "-i", "--rm", "-e", "YACY_URL", "ghcr.io/pad01g/yacy-search-mcp:1.0.0"]
env = { "YACY_URL" = "<YACY_URL>" }For AI agents
- Ask the user for: YACY_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_web, crawl_site, get_index_status, list_peers, get_ranking_settings, set_ranking_setting, evaluate_ranking, list_crawls, ….
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json