Skip to content
MCP server

Agg Search

Multi-engine web search MCP server with RRF fusion, reranking and tiered page fetching

Runs locally

Agg Search is an open-source MCP server for web search and scraping. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
1.2.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add agg-search --env EXA_API_KEY='<EXA_API_KEY>' --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env SERPER_API_KEY='<SERPER_API_KEY>' --env MCP_ANYSEARCH_API_KEY='<MCP_ANYSEARCH_API_KEY>' --env FIRECRAWL_API_KEY='<FIRECRAWL_API_KEY>' --env TAVILY_API_KEY='<TAVILY_API_KEY>' --env DEEPSEEK_API_KEY='<DEEPSEEK_API_KEY>' --env JINA_API_KEY='<JINA_API_KEY>' -- uvx agg-search

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "agg-search": {
      "command": "uvx",
      "args": [
        "agg-search"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "SERPER_API_KEY": "<SERPER_API_KEY>",
        "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
        "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
        "JINA_API_KEY": "<JINA_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "agg-search": {
      "command": "uvx",
      "args": [
        "agg-search"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "SERPER_API_KEY": "<SERPER_API_KEY>",
        "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
        "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
        "JINA_API_KEY": "<JINA_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "agg-search": {
      "command": "uvx",
      "args": [
        "agg-search"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "SERPER_API_KEY": "<SERPER_API_KEY>",
        "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
        "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
        "JINA_API_KEY": "<JINA_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "agg-search": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "agg-search"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "SERPER_API_KEY": "<SERPER_API_KEY>",
        "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
        "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
        "JINA_API_KEY": "<JINA_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add agg-search --env EXA_API_KEY='<EXA_API_KEY>' --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env SERPER_API_KEY='<SERPER_API_KEY>' --env MCP_ANYSEARCH_API_KEY='<MCP_ANYSEARCH_API_KEY>' --env FIRECRAWL_API_KEY='<FIRECRAWL_API_KEY>' --env TAVILY_API_KEY='<TAVILY_API_KEY>' --env DEEPSEEK_API_KEY='<DEEPSEEK_API_KEY>' --env JINA_API_KEY='<JINA_API_KEY>' -- uvx agg-search

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.agg-search]
command = "uvx"
args = ["agg-search"]
env = { EXA_API_KEY = "<EXA_API_KEY>", BRAVE_API_KEY = "<BRAVE_API_KEY>", SERPER_API_KEY = "<SERPER_API_KEY>", MCP_ANYSEARCH_API_KEY = "<MCP_ANYSEARCH_API_KEY>", FIRECRAWL_API_KEY = "<FIRECRAWL_API_KEY>", TAVILY_API_KEY = "<TAVILY_API_KEY>", DEEPSEEK_API_KEY = "<DEEPSEEK_API_KEY>", JINA_API_KEY = "<JINA_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "agg-search": {
      "command": "uvx",
      "args": [
        "agg-search"
      ],
      "env": {
        "EXA_API_KEY": "<EXA_API_KEY>",
        "BRAVE_API_KEY": "<BRAVE_API_KEY>",
        "SERPER_API_KEY": "<SERPER_API_KEY>",
        "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
        "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
        "TAVILY_API_KEY": "<TAVILY_API_KEY>",
        "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
        "JINA_API_KEY": "<JINA_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e EXA_API_KEY='<EXA_API_KEY>' -e BRAVE_API_KEY='<BRAVE_API_KEY>' -e SERPER_API_KEY='<SERPER_API_KEY>' -e MCP_ANYSEARCH_API_KEY='<MCP_ANYSEARCH_API_KEY>' -e FIRECRAWL_API_KEY='<FIRECRAWL_API_KEY>' -e TAVILY_API_KEY='<TAVILY_API_KEY>' -e DEEPSEEK_API_KEY='<DEEPSEEK_API_KEY>' -e JINA_API_KEY='<JINA_API_KEY>' agg-search uvx -- agg-search

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "agg-search": {
          "command": "uvx",
          "args": [
            "agg-search"
          ],
          "env": {
            "EXA_API_KEY": "<EXA_API_KEY>",
            "BRAVE_API_KEY": "<BRAVE_API_KEY>",
            "SERPER_API_KEY": "<SERPER_API_KEY>",
            "MCP_ANYSEARCH_API_KEY": "<MCP_ANYSEARCH_API_KEY>",
            "FIRECRAWL_API_KEY": "<FIRECRAWL_API_KEY>",
            "TAVILY_API_KEY": "<TAVILY_API_KEY>",
            "DEEPSEEK_API_KEY": "<DEEPSEEK_API_KEY>",
            "JINA_API_KEY": "<JINA_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • EXA_API_KEYExa semantic search key
  • BRAVE_API_KEYBrave Search key
  • SERPER_API_KEYSerper (Google SERP) key
  • MCP_ANYSEARCH_API_KEYAnySearch batch search key
  • FIRECRAWL_API_KEYFirecrawl search key
  • TAVILY_API_KEYTavily search key
  • DEEPSEEK_API_KEYDeepSeek search and fetch key
  • JINA_API_KEYJina reranker key
  • SEARXNG_URLSelf-hosted SearXNG base URL
  • AGG_SEARCH_PORTALPortal preset (<agent>.<domain>, e.g. codex.academic)
  • AGG_SEARCH_PROFILEDomain profile override (general, academic, code, news)

About Agg Search

The README describes agg-search as a search stack that sends one query to many engines at once, then merges the results with reciprocal rank fusion and a Jina reranker. Engines without a configured key are skipped, so a partial setup still returns results. A fallback chain moves from Jina v3.5 to v3 to v2, and if all fail the RRF order is kept.

Beyond search, it includes a fetcher that escalates from DeepSeek's fetch endpoint to static and dynamic retrieval and then anti-bot handling, running the heavier steps in an isolated container. It ships as a CLI and as an MCP server over stdio or streamable HTTP, with domain profiles for academic, code and news queries.

The project suits developers wiring web search into coding agents or research workflows who want control over which engines, keys and caches are used. Its README also notes a local feedback loop that adjusts engine weights based on which results were used, stored as hashes and counts.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 2 of 3 tools read data; 1 name doesn't say.

From the server's own tool labels and tool names; not verified by us.

searchName suggests: reads
Parallel multi-engine recall with fusion and reranking, returning text and structured content.
fetchName suggests: reads
Tiered retrieval of page text for one or more URLs.
answer
Available only in the academic portal; synthesises a cited answer from sources or URLs.

What it does

Parallel multi-engine recall
Queries fan out to many search engines at once, and engines missing a key are dropped before running.
RRF and Jina reranking
Results are fused with reciprocal rank fusion and then reranked by a listwise Jina model, with fallbacks.
Tiered page fetching
Page retrieval escalates through several methods, running browser-based steps in a container.
Domain profiles
Academic, code and news profiles change engine mix, weights, recency defaults and snippet length.
Local feedback tuning
Engine weights are adjusted from recorded surfaced and used results, kept as hashes and counts only.
Stdio and HTTP transports
Runs as an MCP server over stdio or streamable HTTP, with an HTTP mode bound to localhost by default.

Good for

  • Give a coding agent web search across several engines through one MCP tool
  • Run academic-focused searches that favour scholarly sources and domain filters
  • Fetch readable page text for agents from URLs returned by search
  • Compare results from multiple search providers without managing separate accounts in one place

Pricing

Open source

Free and open source under MIT; search engines used may charge separately for their own API keys.

Agg Search FAQ

Which search engines does Agg Search support?

The README lists Exa, Brave, Serper, DeepSeek, Firecrawl, AnySearch, Tavily and SearXNG, plus keyless OpenAlex, Hacker News and Stack Exchange sources.

Does Agg Search need API keys?

Keys are read from environment variables. Engines whose keys are missing are skipped, and the three domain sources need no key.

How is Agg Search licensed?

The README states the project is released under the MIT licence.

Is the HTTP transport safe to expose publicly?

The README says the HTTP endpoint has no authentication and must be placed behind a reverse proxy before any public exposure.

Is Agg Search free?

Yes. Agg Search is open source, so you can use and self-host it for free.

How do I add Agg Search to Claude Code?

Run this command in your terminal: claude mcp add agg-search --env EXA_API_KEY='<EXA_API_KEY>' --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env SERPER_API_KEY='<SERPER_API_KEY>' --env MCP_ANYSEARCH_API_KEY='<MCP_ANYSEARCH_API_KEY>' --env FIRECRAWL_API_KEY='<FIRECRAWL_API_KEY>' --env TAVILY_API_KEY='<TAVILY_API_KEY>' --env DEEPSEEK_API_KEY='<DEEPSEEK_API_KEY>' --env JINA_API_KEY='<JINA_API_KEY>' -- uvx agg-search

What are the best alternatives to Agg Search?

The closest alternatives to Agg Search are Search that shows its work, websearch, web-retrieval-mcp, WebSearch MCP Server and PyreCrawl.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers