Skip to main content
Glama
aimmetal-tech

deepseek-search-mcp

deepseek-search-mcp

DeepSeek MCP TypeScript License: MIT

一个基于 DeepSeek Search API 的 MCP(Model Context Protocol)服务器,通过 stdio 为 AI Agent 提供实时网页搜索与网页抓取能力。

工具

工具

说明

参数

search

搜索网页,返回标题、链接、摘要、正文等内容

query:搜索关键词

fetch

抓取网页,返回页面标题与 Markdown 格式的内容

url:https:// 或 http:// 开头的链接(最长 8192 字符)

Related MCP server: searxNcrawl

安装

需要 Node.js 20+ 和一个 DeepSeek API Key。

在 MCP 客户端(如 VS Code、Claude Desktop 等)的配置文件中添加:

{
    "servers": {
        "deepseek-search": {
            "type": "stdio",
            "command": "npx",
            "args": ["-y", "github:aimmetal-tech/deepseek-search-mcp"],
            "env": { "DS_API_KEY": "sk-xxxx" }
        }
    }
}

把 sk-xxxx 替换为你自己的 API Key。npx 会自动克隆仓库、安装依赖并构建,无需手动操作。

本地开发

git clone https://github.com/aimmetal-tech/deepseek-search-mcp.git
cd deepseek-search-mcp
npm install
cp .env.example .env   # 填入 DS_API_KEY
npm run dev

API 文档

本项目基于 DeepSeek 官方的 Search 与 Fetch 接口:

License

MIT

Available Tools

2 tools
fetchDeepSeek Web FetchC

抓取网页,返回页面标题与 Markdown 格式的内容

NameRequiredDescriptionDefault
urlYes

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it only discloses the return format. It says nothing about rate limits, redirect handling, dynamic/JS-rendered pages, truncation, or failure behavior for a network operation.

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?

A single tight sentence with the verb front-loaded and no filler. Efficient, though brevity comes at the cost of omitted parameter and usage detail.

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

Completeness3/5

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

For a one-parameter tool with no output schema or annotations, stating the return shape (title + Markdown) is a useful addition. However, it leaves the URL format and the fetch-vs-search routing unexplained, so it is only minimally complete.

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

Parameters2/5

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

Schema coverage is 0% for the single required 'url' parameter, and the description only implies a webpage target without specifying format (http/https), the 8192-char max, or whether it accepts non-URL inputs. It adds almost no meaning beyond the parameter name.

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?

States a specific verb (抓取) and resource (网页) plus the return payload (title + Markdown content). It does not explicitly contrast with the sibling 'search', so differentiation is only implicit, but the core action is unambiguous.

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 on when to use fetch versus the sibling 'search', and no prerequisites (e.g. requiring a full URL vs a search query) are given. The agent must infer the use case from the verb alone.

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 updatesv0.0.1
    • First observedfetch
    • First observedsearch

TDQS

B3.2/5.0

Scored across 2 tools

Disambiguation5/5

search and fetch have clearly distinct purposes: one locates web results, the other retrieves a specific page's content. There is no meaningful overlap in how an agent would select between them.

Naming Consistency4/5

Both names are lowercase single verbs, which is consistent and readable. However, there is no object/noun component to make the pattern as predictable as a verb_noun convention.

Tool Count4/5

Two tools is slightly thin, but this server has a narrowly scoped search-and-fetch purpose where each tool clearly earns its place. It is not excessive or confusing.

Completeness4/5

The core lifecycle of web search followed by page retrieval is covered. Minor gaps exist, such as filtering, pagination, or batch retrieval, but agents can still accomplish the main use cases.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables agents to search the live web and fetch URLs as clean Markdown, returning ranked search results and paginated page content through two lightweight tools.
    2
    8 npm
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to search the web through configured providers and crawl pages or entire sites into clean Markdown or JSON, including authenticated crawls, over STDIO or HTTP.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to search the web across configurable providers and crawl single pages or whole sites into clean, deduplicated Markdown or JSON. It runs on your own hardware, requiring no API key with SearXNG, and supports authenticated crawls plus STDIO and HTTP transport.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to search the web through configured providers and crawl single pages or entire sites into clean Markdown or JSON, including authenticated crawls, filtering, CLI/Python use, and STDIO or HTTP transport.
    -