Logo von agent search mcp

agent search mcp

Community
lennney

Free-first Chinese and English web search MCP using zero-key sources and inspectable evidence.

Herausgeberlennney
Repositoryagent-search-mcp
SpracheTypeScript
Forks
11
Sterne
110
Verfügbare Tools
0
Transporttypstdio
Kategorien
LizenzApache-2.0
Links
  • Tools mit KI-Workflows verbinden

    agent search mcp stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 0 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    110 Sterne und 11 Forks im verlinkten Repository.

Agent Search MCP: Free-first Web Search with Inspectable Evidence

A Node.js MCP server and CLI for English and Chinese web search.

Agent Search MCP starts without an API key. It returns compact multi-source evidence, records provider failures, and bounds work with request and evidence budgets. Paid providers run only when policy and credentials allow.

npm version npm downloads GitHub stars CI License Glama

中文文档 · Product page · Benchmarks · Architecture · CHANGELOG


Install

bash
npx -y agent-search-mcp

Requires Node.js >= 18.17. The default runtime does not require a browser, database, Python, or a search API account.

Connect an MCP client

Use this stdio configuration in MCP clients that accept mcpServers JSON, including Claude Desktop, Cursor, VS Code, and Windsurf:

json
{
  "mcpServers": {
    "agent-search": {
      "command": "npx",
      "args": ["-y", "agent-search-mcp"]
    }
  }
}

Claude Code and Codex can register the same npx -y agent-search-mcp stdio command through their MCP settings.

Add the optional Agent Skill

After connecting the MCP server, Agent Skills-compatible clients can install the repository-owned routing guide:

bash
npx skills add lennney/agent-search-mcp --skill agent-search

Invoke it with a request such as Use $agent-search to verify this claim with official sources. The Agent Search Skill chooses one of four bounded paths: quick discovery, stricter verification, Chinese-source search, or extraction of a selected URL. It checks that the needed MCP tool exists and asks before any install or configuration change. Installing the Skill does not start or configure the MCP server.

Example: inspect a bounded search result

After building the local package, run a CLI query without adding a provider key:

bash
npm run build
fasm search "MCP server without an API key" --json

The response contract keeps result evidence, meta.execution, and partialFailures separate. A provider timeout or challenge remains visible to the agent instead of being converted into an unexplained empty result. This is a contract example, not a live availability or search-quality benchmark.

After a global install, check the local runtime without making a search request:

bash
npm install -g agent-search-mcp
fasm doctor

Why Agent Search MCP

NeedProduct behavior
Free web searchZero-key sources work without an API account
Provider cost controlPaid providers run only under an explicit routing policy
Token cost controlCompact output and one evidence budget bound response size
Multi-source evidenceResults retain provenance, relevance, provider-family count, and partial failures
Chinese web searchSogou and Baidu handle Chinese queries without a translation layer
Lightweight self-hostingPure Node.js runtime with stdio, Streamable HTTP, and CLI access

The difference from a plain multi-engine wrapper

Plain multi-engine aggregationAgent Search MCP
Returns N deduplicated resultsReturns results plus the number of independent sources (provider families, not adapter names)
A provider failure quietly drops some resultsEvery failure stays in partialFailures (timeout, rate limit, challenge, permission, budget)
Stops when the result count looks sufficientStops only after a quality gate (count, relevance, confidence, source coverage) and returns the stop_reason
Fixed-size outputOne shared evidence budget bounds response tokens; compact text keeps provenance
One adapter counts as one sourceThe same upstream through several adapters never inflates source_count

The one-minute offline demo replays these differences through the production evidence scorer and formatter:

Inspect the search evidence

Each JSON response includes one Search Evidence Packet. It answers the routing questions an agent needs before it uses a result:

QuestionResponse field
Which adapters ran?meta.execution.searched_engines
Why did the router stop?meta.execution.stop_reason and meta.execution.quality_gate
Did the request hit a work limit?meta.execution.budget
Was evidence truncated?meta.evidence_budget
Did an upstream provider fail?partialFailures
Do multiple adapters represent independent sources?results[].source_count counts provider families, not adapter names

Run the one-minute offline contract demo:

bash
npm run demo:evidence
npm run demo:evidence -- --json

It replays three synthetic scenarios through the production evidence scorer, formatter, and MCP output helper: same-family adapter overlap, visible fallback failure, and a bounded quality-gate stop. It makes no live availability or search-quality claim and performs no network request.

The default free_first policy never spends a configured API credential. free_only blocks paid providers. quality_escalation can call one configured paid provider after free evidence misses the quality gate, while paid_first tries that provider before the free fallback.

Request budgets cap adapter attempts, elapsed time, and admitted results. The evidence budget caps query-relevant passages across the complete response. Compact mode keeps full detail for the first results and reduces later entries to source-preserving references.

Measured token reduction

The checked-in bilingual fixture measures formatting with a locked tokenizer:

OutputAverage tokens per querySavings vs normal
Normal2396.0
Compact1650.131.1%
Compact+1633.031.8%

This fixture verifies output formatting and evidence-packet behavior. It does not measure live engine availability or search quality. See the benchmark method and limitations.

How the search router works

The router evaluates each search batch against separate result, relevance, confidence, and provider-family gates. It stops after the evidence passes those gates and exposes the decision in meta.execution. Provider failures stay visible in partialFailures, so an empty result cannot hide an upstream error.

The competitive landscape (2026-08-07) maps the crowded baseline and the product gaps. It records source dates and fixed commits for facts that can change. The 2026-08-10 update adds competitor activity since then: direct local competitors are dormant, and token-efficient evidence is becoming an industry-explicit lever. The earlier source-level product comparison contains the architecture-specific evidence.


Engines

The runtime registers 16 adapters: 9 zero-key adapters and 7 optional API adapters.

EngineAccessLanguagesRole
DuckDuckGoZero-keyenGeneral Web Search
Sogou SearchZero-keyzhChinese Web Search
BingZero-keyen, zhMultilingual Web Search
BaiduZero-keyzhChinese Web Search
WikipediaZero-keyen, zh, ja, de, fr, es, autoEncyclopedic references
StartpageZero-keyen, autoPrivacy-oriented Web Search
YandexZero-keyru, en, autoRussian and international Web Search
MojeekZero-keyen, autoIndependent privacy-oriented index
WibyZero-keyenIndependent small-Web index
Brave SearchBRAVE_API_KEYen, zhOptional commercial Web Search
Tavily SearchTAVILY_API_KEYen, zhOptional agent-oriented Search
Exa SearchEXA_API_KEYen, zhOptional neural Search
You.com SearchYDC_API_KEYen, zhOptional commercial Web Search
Tencent Web Search APITENCENT_WSA_API_KEYzhOptional official Chinese Web Search
Bocha Web SearchBOCHA_API_KEYzh, enOptional Chinese-first AI Search
Serper Google SearchSERPER_API_KEYen, zh, autoOptional Google SERP Search

Tools

ToolDescriptionBest for
free_searchMulti-engine Web Search with bounded fallbackQuick facts and general discovery
free_search_advancedFiltered waterfall search and optional enrichmentDomain policy and progressive verification
free_extractExtract a URL as clean MarkdownReading complete source pages
fetch_github_readmeFetch a public GitHub repository READMEProject documentation
fetch_csdn_articleFetch a CSDN articleChinese technical articles
fetch_juejin_articleFetch a Juejin articleChinese developer articles
search_with_synthesisSearch evidence with an LLM synthesis hintAgent-authored answers from cited evidence

Capability controls

EnvironmentDefaultPurpose
ENABLED_TOOLS / DISABLED_TOOLSall / noneTool registration allowlist and denylist; deny wins
ALLOWED_ENGINES / DENIED_ENGINESall / noneEngine execution allowlist and denylist; deny wins
SEARCH_PROVIDER_MODEfree_firstDefault routing: free_first, quality_escalation, paid_first, or free_only
PAID_ENGINE_ORDERbrave,exa,tavily,youcom,tencent_wsa,bocha,serperSelects the first configured optional provider; not a quality claim
SEARCH_BUDGET_MAX_CALLS16Adapter-attempt budget
SEARCH_BUDGET_MAX_ELAPSED_MS30000End-to-end elapsed-time budget
SEARCH_BUDGET_MAX_RESULTS100Admitted raw-result budget
EVIDENCE_BUDGET_CHARS1200Evidence-character budget

search_with_synthesis uses the same canonical structuredContent evidence packet as the primary search tools and adds prompt_hint; its text content is only a compact compatibility view. Execution metadata distinguishes scheduled adapters from retry-inclusive adapter attempts. http_requests is null until all adapter transports can report it without false precision.

Wiby is a genuine zero-key source backed by its official JSON API and is used late in the free waterfall as an independent small-Web supplement. Optional providers require user credentials; any signup credit or trial quota is provider-controlled and is not treated as permanent free access.

All tools are read-only and idempotent. Search cancellation reaches rate-limit waits, retries, provider requests, and optional enrichment. Enrichment can improve a snippet but cannot increase source confidence or independent source count.

free_search_advanced.time_range remains in the compatibility schema. The server returns UNSUPPORTED_FILTER before searching because the general web providers do not share one enforceable recency contract.


Configuration

The generated capability table above lists the default request budgets. These settings cover the common deployment choices:

GoalEnvironment variables
Add an optional providerBRAVE_API_KEY, TAVILY_API_KEY, EXA_API_KEY, YDC_API_KEY, TENCENT_WSA_API_KEY, BOCHA_API_KEY, or SERPER_API_KEY
Choose spend policySEARCH_PROVIDER_MODE, PAID_ENGINE_ORDER
Reduce response tokensOUTPUT_STYLE=compact, MAX_FULL_RESULTS, SNIPPET_LENGTH, EVIDENCE_BUDGET_CHARS
Restrict tools or enginesENABLED_TOOLS, DISABLED_TOOLS, ALLOWED_ENGINES, DENIED_ENGINES
Use an explicit proxyDUCKDUCKGO_PROXY_URL, SOGOU_PROXY_URL, MOJEEK_PROXY_URL, WIBY_PROXY_URL, or USE_PROXY=true with PROXY_URL
Use a user-owned proxy poolDUCKDUCKGO_PROXY_URLS, SOGOU_PROXY_URLS, MOJEEK_PROXY_URLS, or WIBY_PROXY_URLS as a JSON array of 2-16 HTTP(S) proxy URLs
Persist the exact-result cacheSEARCH_CACHE_DIRECTORY, SEARCH_CACHE_TTL_MS, SEARCH_CACHE_MAX_ENTRIES
Enable optional semantic processingSEMANTIC_DEDUP, SEMANTIC_RERANK, DEDUP_THRESHOLD, RERANK_TOP_K

Adding an API key does not authorize paid traffic. The routing policy controls provider use. The default exact-result cache stays in memory; setting SEARCH_CACHE_DIRECTORY opts into local persistence. Semantic processing is the only optional feature that uses Python and Model2Vec.

Proxy pools select a deterministic first exit from the logical query and keep multi-step provider requests sticky. Only a transport failure can move to the next configured exit; a failed transport is cooled for 60 seconds. HTTP responses, including 403, 429, and challenge pages, never trigger proxy switching and continue through the provider's existing cooldown contract. Engine-specific single-proxy variables take precedence over their pool. Proxy credentials are never printed by fasm doctor.

HTTP deployment

HTTP mode requires HTTP_AUTH_TOKEN unless you set HTTP_ALLOW_UNAUTHENTICATED=true. Browser requests with an Origin header must match ALLOWED_ORIGINS. See the HTTP deployment guide for TLS termination, token rotation, and reverse-proxy examples.


CLI

The package includes the fasm CLI:

bash
fasm search "TypeScript MCP server"
fasm search "query" --count 5 --engines bing,baidu,youcom --json
fasm extract "https://example.com"
fasm extract "https://example.com" --json
fasm doctor
fasm doctor --json
HTTP_AUTH_TOKEN=change-me MODE=http npx agent-search-mcp

fasm doctor reads local configuration without network probes and never prints credential or proxy values.


Documentation and evidence

DocumentContents
System architectureRouting, evidence, provider families, and configuration
Competitive landscape (2026-08-10)Competitor activity through 2026-08-10, positioning, and improvement priorities
Competitive landscape (2026-08-07)Baseline competitors, expectations, and product gaps snapshot
Product comparisonSource-level review of Agent search products
BenchmarksToken fixture, live-run scope, and quality evaluation method
v3.2.0 release notesProvider policy, budgets, and migration notes
Earlier release candidate evidencePre-expansion packed-install matrix and limitations
MCP 2026 readinessIsolated protocol experiment and remaining gates

Companion: Slim Guard

Agent Search controls retrieval work and compresses search evidence. mcp-slim-guard sits between an agent and MCP servers to handle tool-schema compression and security policy.

bash
npm install -g mcp-slim-guard

Development

bash
git clone https://github.com/lennney/agent-search-mcp.git
cd agent-search-mcp
npm install
npm run build
npm test
npm run dev        # stdio mode
npm run dev:http   # HTTP mode (port 3000)

The stable package supports Node.js 18, 20, and 22. The isolated MCP 2026 experiment requires Node.js 20 or newer.


License

Apache 2.0

Based on open-websearch by Aas-ee.

If Agent Search MCP helps your agent, star the repository so other developers can find the project.

agent search mcp MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald agent search mcp verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

agent search mcp als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für agent search mcp ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "agent-search-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von agent search mcp. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von agent search mcp.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit agent search mcp bei dieser Aufgabe helfen?
agent search mcp
Gerne. Ich habe es gelesen.
Das habe ich mit agent search mcp gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server agent search mcp verwendet?

agent search mcp ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich agent search mcp MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie agent search mcp mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum agent search mcp MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald agent search mcp verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich agent search mcp MCP mit TypingMind?

agent search mcp wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt agent search mcp MCP in TypingMind bereit?

agent search mcp stellt MCP-Funktionen bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um agent search mcp MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls agent search mcp eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇