deepseek-web
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@deepseek-web search for the latest DeepSeek Search API docs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
deepseek-web
Unofficial, lightweight stdio MCP server for DeepSeek Search and Fetch. This project is not affiliated with, endorsed by, or sponsored by DeepSeek.
Requirements and installation
Node.js 20 or newer. Install from npm:
npm install -g deepseek-webOr run it without a global install:
npx -y deepseek-webFor local development:
npm install
npm run build
node dist/index.jsSet DEEPSEEK_API_KEY in the MCP server's environment. Obtain a key from DeepSeek Platform. DEEPSEEK_BASE_URL is optional and defaults to https://api.deepseek.com.
export DEEPSEEK_API_KEY=YOUR_KEY
npx -y deepseek-webThe server writes diagnostics to stderr. stdout is reserved for MCP's stdio protocol.
Related MCP server: DeepSeek Search MCP
Tools
search(query, count?, ori_question?, need_content?, localization?): query is required, must contain 1–128 Unicode characters, and cannot be blank. Longer queries return an error; they are never truncated.countdefaults to 10 and is clamped to 1–50. Results include URL, title, summary, rerank score, authority, date, and snippet when returned by the API.fetch(url): retrieves one HTTP(S) page as Markdown. URLs must have a host, cannot contain username/password credentials, and are limited to 8,192 characters.
HTTP 403/404 and other DeepSeek API errors are returned as MCP tool errors with an explanatory message. HTTP 429 responses are retried up to three times with exponential backoff and jitter.
MCP client configuration
Examples use npx -y deepseek-web so the client can launch the package. If configuring before publishing, build locally and replace command/args with node and the absolute path to dist/index.js.
Claude Code
Add to project .mcp.json:
{
"mcpServers": {
"deepseek-web": {
"command": "npx",
"args": ["-y", "deepseek-web"],
"env": {
"DEEPSEEK_API_KEY": "${DEEPSEEK_API_KEY}"
}
}
}
}CLI alternative:
claude mcp add --env DEEPSEEK_API_KEY=YOUR_KEY --transport stdio deepseek-web -- npx -y deepseek-webSee Claude Code MCP configuration.
OpenCode
Add to opencode.json or opencode.jsonc (OpenCode V2 local-server dialect):
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"servers": {
"deepseek-web": {
"type": "local",
"command": ["npx", "-y", "deepseek-web"],
"environment": {
"DEEPSEEK_API_KEY": "{env:DEEPSEEK_API_KEY}"
}
}
}
}
}This uses OpenCode's mcp.servers, type: "local", command array, and environment fields; it is not the mcpServers JSON dialect. See OpenCode MCP servers.
Codex
Add to ~/.codex/config.toml or project .codex/config.toml:
[mcp_servers.deepseek-web]
command = "npx"
args = ["-y", "deepseek-web"]
[mcp_servers.deepseek-web.env]
DEEPSEEK_API_KEY = "YOUR_KEY"CLI alternative:
codex mcp add deepseek-web --env DEEPSEEK_API_KEY=YOUR_KEY -- npx -y deepseek-webCursor (ordinary MCP, not a Plugin)
Add to project .cursor/mcp.json or global ~/.cursor/mcp.json:
{
"mcpServers": {
"deepseek-web": {
"command": "npx",
"args": ["-y", "deepseek-web"],
"env": {
"DEEPSEEK_API_KEY": "${env:DEEPSEEK_API_KEY}"
}
}
}
}Cursor uses the regular MCP configuration file. This package has no Cursor Plugin layout or Marketplace integration. See Cursor MCP.
Pricing and limits
DeepSeek's English documentation lists $0.75 per 1,000 successful Search or Fetch calls; the Chinese documentation lists ¥5 per 1,000 successful calls. The account's billing currency and how these figures map to a particular account are unknown; verify against DeepSeek's current billing information. DeepSeek documents a limit of 5 QPS for Search and Fetch (account-level); Fetch may also have an undisclosed per-domain limit. Pricing and limits can change.
Smoke check
With DEEPSEEK_API_KEY set, run:
npm run smokeThe script directly calls Search for a small result set, then Fetches the first returned URL. These are real API calls and may be subject to DeepSeek account limits and billing. Equivalent curl checks:
curl https://api.deepseek.com/v1/tools/search \
-H "Authorization: Bearer $DEEPSEEK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"DeepSeek Search API","count":5,"need_content":false}'
curl https://api.deepseek.com/v1/tools/fetch \
-H "Authorization: Bearer $DEEPSEEK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://api-docs.deepseek.com/guides/search/"}'License
MIT. See LICENSE.
Available Tools
2 toolsTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
search and fetch have clearly distinct purposes: one performs a web search, the other retrieves a specific page's content. No overlap in functionality, making tool selection unambiguous.
Both tools use a simple, consistent verb pattern (search, fetch) with no mixing of conventions. The naming is predictable and readable.
Two tools is borderline thin for the server's apparent scope, as the rubric considers 1-2 tools to feel thin. While search and fetch are the core operations, the set offers no additional functionality.
The surface covers the essential web search and page retrieval lifecycle, but minor gaps exist such as no batch fetch, pagination beyond a count limit, or content extraction options. Agents can work around these for basic tasks.
Related MCP Connectors
Scrape, crawl and search the web for AI agents via MCP.
Web search, structured extraction, page monitor, link check & CVE scan for AI agents over MCP.
Docs: https://docs.keenable.ai/mcp-server Keenable is a free, remote MCP server that gives agents access to the web index. Search the web with ranked results and date/site filters, then fetch any indexed page as clean markdown. Works out of the box with no account or API key.
Web search API and MCP server for developers building AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to perform web searches and fetch web pages over HTTP, using Exa and Parallel AI as search providers without requiring API keys.MIT
- AlicenseAqualityCmaintenanceEnables MCP-compatible clients to search the web and fetch HTTP/HTTPS pages as Markdown, returning result metadata such as titles, URLs, dates, relevance, and summaries.233 npm1MIT
- AlicenseAqualityBmaintenanceEnables MCP clients and agents to run structured web searches and fetch web pages as Markdown through a search/fetch API, with rate limiting, retry/backoff, request deadlines, and private-address blocking for safer agent use.2102 npmMIT
- AlicenseAqualityBmaintenanceEnables MCP clients to run web searches and fetch pages, returning structured search results and Markdown page content through two tools.2MIT