Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Yacy

FreeNot checked

Enables AI applications to perform web searches using a YaCy search engine instance through the Model Context Protocol.

GitHubEmbed

About

Enables AI applications to perform web searches using a YaCy search engine instance through the Model Context Protocol.

README

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 .

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.

from github.com/koosty/yacy-mcp

Install Yacy in Claude Desktop, Claude Code & Cursor

Recommended · one command, every IDE
unyly install yacy-mcp

Installs into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.

First time? Get the CLI: curl -fsSL https://unyly.org/install | sh

Or configure manually

Run in your terminal:

claude mcp add yacy-mcp -- uvx yacy-mcp

FAQ

Is Yacy MCP free?

Yes, Yacy MCP is free — one-click install via Unyly at no cost.

Does Yacy need an API key?

No, Yacy runs without API keys or environment variables.

Is Yacy hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Yacy in Claude Desktop, Claude Code or Cursor?

Open Yacy on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Yacy with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All ai MCPs