Skip to main content
Glama
ffffhx

CPA Search MCP Server

by ffffhx

CPA Search MCP Server

License: MIT Node.js MCP

Englisch | 中文说明

Ein leichtgewichtiger, ohne Abhängigkeiten implementierter Model Context Protocol (MCP)-Server für Echtzeit-Websuche und die Extraktion von Webseiteninhalten.

Er greift nahtlos auf Ihre bestehende lokale CLIProxyAPI (CPA)-Instanz (http://127.0.0.1:8317) sowie autorisierte Konten von Google Gemini, xAI Grok und Zhipu GLM zu, um strukturierte Web-Recherchen für KI-Coding-Agenten (Claude Code, Cursor, Codex, Windsurf, Trae) durchzuführen.


🌟 Hauptfunktionen

  • Keine Einrichtung & keine Extrakosten: Nutzt direkt Ihre bestehenden lokalen CPA- sowie Google/Grok/GLM-Anmeldedaten.

  • 🎯 Multi-Engine-Unterstützung:

    • gemini: Google Deep-Web-Suche und Faktenprüfung (Standard & Empfohlen).

    • glm: Zhipu GLM für chinesische und technische Faktenrecherche.

    • grok: xAI-Echtzeit-Web- & X/Twitter-Suche.

    • duckduckgo: Kostenloser öffentlicher Suchmaschinen-Fallback ohne API-Schlüssel.

    • auto: Intelligente automatische Engine-Auswahl und Failover.

  • 🌐 Webseiten-Inhaltsextraktion: Das eingebaute fetch_webpage-Tool ruft rohen HTML-Code ab und bereinigt ihn in sauberen lesbaren Text.

  • 🔌 Universelle Kompatibilität: Funktioniert mit Claude Code, Cursor, Codex, Windsurf, Trae und jedem Standard-MCP-Client.

  • 🚀 Keine Abhängigkeiten: Reine Node.js-ESM-Standardbibliothek-Umsetzung. Sofortiger Start und minimaler Speicherbedarf.


📦 Schnellstart

1. Registrierung bei Claude Code

Führen Sie in Ihrem Terminal folgenden Befehl aus:

claude mcp add --scope user cpa-search node "C:/Users/aa182/Documents/Codex/2026-08-22/new-chat-2/repositories/cpa-search-mcp/index.mjs"

Status überprüfen:

claude mcp list

2. Konfiguration für Cursor / Windsurf / Trae / Codex

Fügen Sie Folgendes zu Ihrer MCP-Konfigurationsdatei hinzu (z. B. claude_desktop_config.json oder Cursor-MCP-Einstellungen):

{
  "mcpServers": {
    "cpa-search": {
      "command": "node",
      "args": [
        "C:/Users/aa182/Documents/Codex/2026-08-22/new-chat-2/repositories/cpa-search-mcp/index.mjs"
      ]
    }
  }
}

🛠️ Tools

1. cpa_search

Durchsucht das Web nach aktuellen Fakten, Dokumentationen und technischen Neuigkeiten.

  • Parameter:

    • query (string, erforderlich): Die Suchanfrage oder das Forschungsthema.

    • engine (string, optional): gemini | glm | grok | duckduckgo | auto.

2. fetch_webpage

Ruft beliebige URLs ab und extrahiert den Text daraus.

  • Parameter:

    • url (string, erforderlich): Die URL der Webseite (http/https).


⚙️ Umgebungsvariablen (Optional)

Variable

Standard

Beschreibung

CPA_BASE_URL

http://127.0.0.1:8317

Lokale CPA-Proxy-Adresse

CPA_API_KEY

(integrierter lokaler Schlüssel)

CPA-Authentifizierungsschlüssel

CPA_SEARCH_MODEL

gemini-3.7-flash-high

Standard-KI-Modell für die Suche

HTTPS_PROXY

http://127.0.0.1:7897

Ausgehender Netzwerk-Proxy


🧪 Tests

Führen Sie die automatisierte End-to-End-Testsuite aus:

node test.mjs

📄 Lizenz

MIT License © 2026 ffffhx

-
license - not tested
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

  • Web search, page extraction and structured commerce, social and business data for AI agents

  • Web search for AI agents — one tool across 6 engines, routed to the cheapest + cached.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ffffhx/cpa-search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server