← Back to directory
A

AgentSearch

Community
Self-hosted SearXNG search and content extraction over MCP.
Category
Other #109 of 678
Stars
★ 92 Popular
Transport
stdio (local process)
Runtime
Python 3.11+ · Docker
Credentials
No credential needed
License
MIT
Last commit
59FMRS · C

The supplied sources describe an MCP package launched over stdio and provide a Claude Desktop configuration example. The manifest does not list tool names, so specific MCP tools are not inferred. The server depends on self-hosted services and external search sources; there is no evidence that it is maintained by an upstream product or protocol owner.

Strongest · Documentation 15/20 Weakest · Reliability 10/20

Reliability
10/20
Security and permissions
12/20
Maintenance
10/20
Documentation
15/20
Setup experience
12/20
Why each score
Reliability 10/20
The README claims a separate MCP package, contract tests, stdio handshake and tool invocation checks, and documents dependency bounds and error diagnostics. The source files and tests are not provided for verification, so clean startup and agreement between declared tools and implementation remain unverified; the score is conservative.
Security and permissions 12/20
The documentation discloses a shared bearer token, third-party search and page-content flows, query and fetch records, and boundaries such as URL and redirect validation and browser isolation. It also says page text remains untrusted and authentication is an optional, simple service token. The supplied material does not let me verify implementation or permission boundaries, so the score is limited. No red-line evidence appears in the material.
Maintenance 10/20
The material states that the main project is MIT licensed and the MCP subproject AGPL licensed, and describes semantic-version releases, CI, CodeQL, Dependabot, and contribution channels. It provides no commit history, release record, issue-response evidence, or security-response channel. The unarchived status, 89 stars, and 3 open issues do not establish sustained maintenance.
Documentation 15/20
The README gives Docker and native install paths, authentication guidance, client configuration, endpoint and search-mode examples, and limitations involving upstream services, caching, data flows, challenge pages, and Tor. However, it lacks specific MCP tool parameters and return schemas, and the supplied material cannot independently verify many feature and testing claims.
Setup experience 12/20
The README provides MCP virtual-environment installation and launch commands, a Claude Desktop configuration example, and notes a Windows executable path and token setup. Installation depends on the repository, complete connection examples for other mainstream clients are absent, and there is no verifiable cross-platform execution evidence.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessReads local filesWrites / deletes local filesRuns commands or codeUses the networkControls a browserConnects to a database

Best for

  • People or teams able to deploy and maintain SearXNG and AgentSearch.
  • Users connecting search and content extraction to Claude Desktop through MCP.

Not for

  • Users who want a hosted service and do not want to manage deployment, storage, or network access.
  • Workflows requiring guaranteed availability, verified results, or fixed source coverage.

Required permissions

  • The MCP client must be able to launch the local `agent-search-mcp` executable specified in its configuration.
  • The server needs access to the configured AgentSearch API; the API needs access to SearXNG and selected search sources, and to target webpages when extracting content.
  • When authentication is enabled, the client must provide a bearer token matching the server configuration.

Risks and side effects

  • Search engines may rate-limit or block requests, or return empty results; coverage depends on the running SearXNG instance and selected sources.
  • Search results and extracted third-party webpage content remain untrusted; the README describes content scrubbing as heuristic.
  • A self-hosted deployment stores local query and fetch records and cached content. The optional Tor stack still sends query text to providers, and network observers may see connection metadata.
  • The MCP package is licensed under AGPL-3.0; the repository's root API, SDK, Docker stack, and documentation are MIT licensed.

Setup

Before you start

Runtime:Python 3.11+ · Docker

AGENT_SEARCH_TOKEN optionalsecret Optional API bearer token; set it when server authentication is enabled, or provide it with the --token startup option.
Other optional settings (4)
BROWSER_SERVICE_URL optional Optional browser service URL; configuring it enables browser search discovery.
BROWSER_DISCOVERY_ENABLED optional Set to 0 to disable browser search discovery; no key is needed.
AGENTSEARCH_INTEGRATION optional Set to 1 to run the optional local integration check; no key is needed.
SEARXNG_URL optional SearXNG instance URL; defaults to http://searxng:8080.

From the repository root, create a separate MCP Python environment and install the package: python3 -m venv .venv-mcp, then .venv-mcp/bin/python -m pip install -e ./mcp-server. Start it with .venv-mcp/bin/agent-search-mcp. In Claude Desktop configuration, set command to the absolute path of that executable. If the service requires authentication, set AGENT_SEARCH_TOKEN or pass --token.

claude_desktop_config.json
{"mcpServers":{"agent-search":{"command":"/absolute/path/to/agent-search/.venv-mcp/bin/agent-search-mcp"}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "agent-search": {
      "command": "/absolute/path/to/agent-search/.venv-mcp/bin/agent-search-mcp"
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.agent-search]
command = "/absolute/path/to/agent-search/.venv-mcp/bin/agent-search-mcp"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add agent-search -- /absolute/path/to/agent-search/.venv-mcp/bin/agent-search-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After adding AgentSearch to your client configuration, confirm the server connects and its search or content extraction tools appear in the tool list. Then ask it to search for a topic and check that it returns results.

Troubleshooting

  1. Check that the separate MCP environment has the `mcp-server` package installed and that the client configuration uses the executable's absolute path.
  2. Confirm the AgentSearch API and SearXNG are running and reachable from the MCP server; check `/health`, `/ready`, and `/engines`.
  3. For authentication errors, check that the client token matches the server's `AGENT_SEARCH_TOKEN`; setting a client token alone does not enable server authentication.
  4. For empty results or source failures, inspect `meta.engine_attempts` in the response and source status from `/engines`; upstream sources may be blocked or rate-limited.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search for best practices in Python async programming and summarize the source pages.
  • Find official documentation about SQLite write-ahead logging and extract the key points.
  • Search for recent AI regulation news and list the sources.

Use cases

Provide web or news search to AI agents.
Extract webpage content for research or retrieval-augmented generation workflows.
Run search in a self-hosted environment without third-party search API keys.

Supported clients

Claude Desktop

Listed from the project's documentation, not tested by this site.

Overview

AgentSearch is a self-hosted search API and MCP server backed by SearXNG. It supports web, news, and job search, as well as webpage content extraction. It requires no third-party search API keys, but you operate and maintain the service yourself.

Similar servers

Source revision 448da6e64438 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/brcrusoe72-mcp-server.svg)](https://followmcp.com/en/servers/brcrusoe72-mcp-server)