Skip to main content
Glama
ffffhx

CPA Search MCP Server

by ffffhx

CPA Search MCP Server

License: MIT Node.js MCP

English | 中文说明

실시간 웹 검색과 웹페이지 콘텐츠 추출를 위한 가벼고, 제로 의존성 Model Context Protocol (MP) 서버입니다.

이 서버는 기존의 로컬 CLIProxyMPI (CPAP) 인스턴스 (http://127.0.0.1:?) 및 인증된 Google Gemini, xAI Grok, Zhippu GLM 계정를 그대 사용하어 Claude Code, Cursur, Cursur, Windsurf, Trae) 같은 AI 코딈 에이겈량를 위한 구적 웹 검색를 수행합니다.


ritable Key Features

  • Zero Setup & Zero Extra Cost: 기존 로컬 CPA 및 Gemini/Grok/GLM 자격증명를 직접 사용합니다.

  • Related MCP server: DuckDuckGo MCP Server

    Multi-Engine Support:

  • google/gemini: 구글 심층 웹 검색와 사식 검증 (기본 & 권장).

  • glm: 지ppu GLM 중국어 및 기술 정보 검색.

  • grok: xAI 실시간 웹 & X/트오티터 검색.

  • duckduckgo: API 키 없이 사용 가능 무료 공개 검색 엔진 폴백.

  • auto: 지능적인 엔진 자동 라우팅 장애 조복.

  • 💊 Webpage Context Extraction: 내장된 fetch_webpage 활 통해 URL에서 원본 HTML를 제거하고 깨끳한 텍스트를 외출합니.

  • 🌫 Universal Compatibility: 대부분의 Claude Code, ursors, Windsurf, Trae` 등 표준 MCP 클라이언트와 호환됩니다 .

  • 진행 Zero Dependencies: 순수 Node.js ESM 표준 라이브러리 구현. 즉시 실행 및 최소 메모리할.

📦 Quick Start

1. Register with 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. Configure for 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"
      ]
    }
  }
}

Tools

1. cpa_search

최신 사식, 문서 및 기술 뉴스를 위해 웹 검색을 수행합니다.

  • Parameters:

    • query (string, required): 검색어 또는 리서치 주제.

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

2. fetch_webpage

임의의 URL에서 읽을 수 있는 클린 텍스트를 가져와 추출합니다.

  • Parameters:

    • url (string, required): 웹페이지 URL (http/htts).

Environment Variables (Optional)

Variablельная

Default

Description

CPA_BASE_URL

http://127.0.0.1:8317

로컬 CPA 프록시 주소

CPA_API_KEY

(Built-in Local Key)

CPA 인증 키

CPA_SEARCH_MODEL

gemini-3.var-flash

기본 AI 검색 모델

HTTPS_PROXY

http://127.0.0.1:7897

외부 네트워크 프록시

Testing

자동화된 end-to-end 테스트를 실행하세요:

node test.mjs

📄 License

MIT License © 2026 fffhx

Available Tools

2 tools
fetch_webpageC

直接抓取指定 URL 网页的完整正文内容并转换为易读的文本

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYes需要抓取的完整网页网址(例如 https://docs.example.com)

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully convey behavior. It mentions fetching the 'complete main content' and converting to text, but omits any mention of handling dynamic content, authentication, timeouts, or error cases. This is a significant gap for a web-fetching tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence with no unnecessary words. It is concise and gets to the point, though it could slightly benefit from structuring key constraints more explicitly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with a single parameter and no output schema, the description should cover potential failure modes and limitations. It lacks any mention of what happens on failure, unsupported URL types, or rate limits. Given the lack of annotations, this is incomplete for safe agent use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, so the url parameter is already well-documented. The description does not add extra semantic meaning beyond what the schema provides, matching the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'fetch' and the resource 'webpage', and adds that it converts content to readable text. It is specific enough, though it doesn't explicitly contrast with sibling tool cpa_search, which appears to be a different operation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus alternatives, nor any prerequisites or exclusions. The description simply states what it does, leaving the agent to infer when it is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv1.0.0
    • First observedcpa_search
    • First observedfetch_webpage

TDQS

B3.4/5.0

Scored across 2 tools

Disambiguation5/5

两个工具功能明确分离:cpa_search用于搜索并返回结果,fetch_webpage用于抓取特定URL的内容。没有重叠或模糊边界,代理可以轻松区分何时使用哪个工具。

Naming Consistency4/5

两个工具均使用snake_case,且都包含动作词(search, fetch),但cpa_search以名词cpa开头,而fetch_webpage以动词开头,存在轻微不一致。不过整体模式简单且可预测,不影响理解。

Tool Count3/5

仅2个工具对于搜索服务器而言显得单薄,但结合其功能(搜索+网页抓取)已覆盖核心需求。未超出合理范围,但处于评分的下限。

Completeness4/5

搜索和网页抓取共同构成完成查询-获取详情的基本流程,没有明显缺失的关键操作。但缺少如历史记录、批量处理等扩展功能,仍有小幅度提升空间。

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables comprehensive web searching and content extraction using multiple search engines (Bing, Brave, DuckDuckGo) without API keys. Provides tools for full web searches with content extraction, quick search summaries, and single webpage content retrieval.
    1,168
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to perform web searches, extract webpage content, and conduct end-to-end search-and-extract operations using multiple search providers and content extraction methods.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI coding agents with a live web search tool that returns extracted, answer-ready text from web pages. Enables real-time information retrieval without any local installation or maintenance.
    4 npm
    MIT