Skip to main content
Glama
ffffhx

CPA Search MCP Server

by ffffhx

CPA Search MCP Server

License: MIT Node.js MCP

英語 | 中国語の説明

軽量で、依存関係のない Model Context Protocol (MCP) サーバー。リアルタイムのウェブ検索とウェブページのコンテンツ抽出を提供します。

既存のローカル CLIProxyAPI (CPA) インスタンス(http://127.0.0.1:8317)と、承認済みの Google Gemini、xAI Grok、Zhipu GLM アカウントをシームレスに再利用して、AI コーディングエージェント(Claude Code、Cursor、Codex、Windsurf、Trae)向けの構造化されたウェブリサーチを実行できます。


🌟 主な機能

  • セットアップ不要 & 追コストなし: 既存のローカル CPA と Google/Grok/GLM 認証情報を直接そのまま使用します。

  • 🎯 マルチエンジン対応:

    • gemini: Google のディープウェブ検索とファクトチェック(デフォルト & 推奨)。

    • glm: Zhipu GLM による中国語・技技術系ファクト検索。

    • grok: xAI によるリアルタイムのウェブ & X/Twitter 検索。

    • duckduckgo: API キーなしで利用できる無料の公開検索エンジンへのフォールバック。

    • auto: エンジンを英知的に自動ルーティングし、フェイルオーバするモード。

  • 🌐 ウェブページコンテンツ抽出: 内蔵の fetch_webpage ツールで生 HTML を取得し、余分なタグを除去して読めるテキストを抽出します。

  • 🔌 ユニバーサル互換性: Claude CodeCursorCodexWindsurfTrae をはじめ、あらゆる標準 MCP クライアントで動作します。

  • 🚀 依存関係なし: 純粋な Node.js ESM 標準ライブラリによる実装。起動が即時、メモリ専有量も最小限です。


📦 クックスタート

1. Claude Code に登録する

ターミナルで以下のコマンドを実行します:

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"

状態を確認します:

claude mcp list

2. Cursor / Windsurf / Trae / Codex で設定する

MCP 設定ファイル(例: claude_desktop_config.json や Cursor MCP 設定)に以下を追加します:

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

ツール

1. cpa_search

最新の事実、ドキュメント、技術ニュースをウェブで検索します。

  • パラメータ:

    • query (string, 必須): 検索クエリまたは調査トピック。

    • engine (string, 任意): gemini | glm | grok | duckduckgo | auto

2. fetch_webpage

任意のURLからHTMLを取得し、クリーンなテキストを抽出します。

  • パラメタ:

    • url (string, 必須): ウェブページのURL (http/https)。


環境変数(任意)

変数

デフォルト

説明

CPA_BASE_URL

http://127.0.0.1:8317

ローカル CPA プロキンのアドレス

CPA_API_KEY

(Built-in のローカルキー)

CPA 認証キー

CPA_SEARCH_MODEL

gemini-3.7-flash-high

検索に使用するデフォルト AIモデル

HTTPS_PROXY

http://127.0.0.1:7897

外行きネットワークプロキシ


. テスチ

自動化されたエンドツーエンドのテストスイートを実行します:

node test.mjs

ライセンス

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