websearch-deepseek
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., "@websearch-deepseek What are the latest AI industry news?"
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.
websearch-deepseek
A universal MCP Server that provides a web search tool powered by DeepSeek's native web search API โ no third-party search API required.
Works with Claude Code, Cursor, Continue, OpenCode, pi, and any tool that supports the MCP protocol.
Features
๐ DeepSeek Native Search โ Uses the server-side
web_search_20250305tool, no third-party search API needed๐ AI-Generated Answers โ Returns detailed answers synthesized from full page content, not just a list of URLs
๐ Source URLs Included โ Every answer comes with original source links for verification
โ๏ธ Flexible Configuration โ Choose model, toggle thinking mode, adjust token limits
๐ MCP Protocol โ Standard JSON-RPC over stdio, compatible with all MCP clients
Related MCP server: websearch-deepseek
How It Works
User Query โ DeepSeek Model
โ
Server executes web_search (fetches pages)
โ
Encrypted page content โ Server decrypts โ Feeds to model
โ
Model generates detailed answer based on full content
โ
Returns: AI-generated answer + source URL listOne MCP tool call = One DeepSeek API request โ search, decryption, and answer generation all happen server-side.
Quick Start
1. Get a DeepSeek API Key
Visit DeepSeek Platform to sign up and get your API Key.
2. Install
npm install -g websearch-deepseek3. Configure Your AI Coding Assistant
Add the following to your MCP configuration file:
Claude Code
Edit ~/.claude/claude_desktop_config.json or .mcp.json in your project:
{
"mcpServers": {
"websearch-deepseek": {
"command": "npx",
"args": ["websearch-deepseek"],
"env": {
"DEEPSEEK_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"WEBSEARCH_MODEL": "deepseek-v4-flash",
"WEBSEARCH_THINKING": "enabled"
}
}
}
}Cursor
Edit ~/.cursor/mcp.json:
{
"mcpServers": {
"websearch-deepseek": {
"command": "npx",
"args": ["websearch-deepseek"],
"env": {
"DEEPSEEK_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}Continue (VS Code)
Edit ~/.continue/config.json, add to mcpServers:
{
"mcpServers": [
{
"name": "websearch-deepseek",
"command": "npx",
"args": ["websearch-deepseek"],
"env": {
"DEEPSEEK_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
]
}pi
Edit ~/.pi/agent/settings.json, add to mcp:
{
"mcp": {
"websearch-deepseek": {
"command": "npx",
"args": ["websearch-deepseek"],
"env": {
"DEEPSEEK_API_KEY": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}4. Start Using It
Restart your AI coding assistant and ask a question that needs real-time information. The assistant will automatically call the web_search tool when needed.
Examples:
"What's new in React 19?"
"Search for Python 3.13 release date and major updates"
"What are the latest AI industry news?"
Environment Variables
Variable | Required | Default | Description |
| โ Yes | โ | DeepSeek API Key |
| โ No | โ | Alternative API Key variable name |
| โ No |
| Model: |
| โ No |
| Thinking mode: |
| โ No |
| Max tokens for response |
Model Selection Guide
Scenario | Recommended Model | Notes |
Daily search (default) |
| Fast, low cost, good quality |
Deep research |
| More detailed and accurate, slightly slower |
Thinking Mode
enabled (default): The model thinks before answering, producing higher quality results but consuming more tokens
disabled: Skips the thinking step for faster responses, suitable for simple queries
CLI Usage
You can also use it directly from the terminal:
# Set API Key
export DEEPSEEK_API_KEY=sk-xxxxxxxxxxxxxxxx
# Search
npx websearch-deepseek search "Node.js LTS versions"
# JSON output
npx websearch-deepseek search --json "TypeScript 5.8"
# Specify model and disable thinking
npx websearch-deepseek search --model deepseek-v4-pro --no-thinking "Rust latest version"Output Example
## Node.js Latest LTS Versions
As of July 2025, the latest Active LTS version of Node.js is Node.js 24.x...
| Version | Status | Initial Release | Support Until |
|---------|--------|-----------------|---------------|
| 24.x | Active LTS | 2025-05-06 | 2028-04 |
| 22.x | Maintenance | 2024-10 | 2027-04 |
### Recommendations
- New projects: Use Node.js 24 LTS
- Existing projects: Node.js 22 continues to receive security updates
---
### Sources (10):
1. [Node.js 24.0 is available...](https://...)
2. [Node.js โ Node.js Releases](https://...)
...Pricing
This tool uses the DeepSeek API, which charges per token. A single search typically consumes:
Component | Estimated Tokens |
Search + thinking | ~5,000โ8,000 |
Generate answer | ~1,000โ3,000 |
Total per search | ~8,000โ15,000 tokens |
Check DeepSeek pricing for current rates.
License
MIT
Available Tools
1 toolweb_searchA
ๆ็ดขไบ่็ฝ่ทๅๅฝๅใๅฎๆถๆไบๅฎๆงไฟกๆฏใ ๅฝไฝ ้่ฆ่ฎญ็ปๆฐๆฎไนๅค็ไฟกๆฏๆถไฝฟ็จๆญคๅทฅๅ ทโโ ่ฟๆไบไปถใๅฝๅๆฐๆฎใๆๆกฃๆฅ่ฏขๆไบๅฎๆ ธๆฅใ ่ฟๅๅบไบๅฎๆด็ฝ้กตๅ ๅฎน็ๆ็ AI ่ฏฆ็ปๅ็ญ๏ผ้ๅธฆๆฅๆบ URLใ ็ฑ DeepSeek ๅ็่็ฝๆ็ดข API ้ฉฑๅจ๏ผๆๅก็ซฏๆง่ก๏ผใ
English: Search the web for current, real-time, or factual information. Use this tool when you need information beyond your training cutoff โ recent events, current data, documentation lookups, or fact-checking. Returns a detailed AI-generated answer based on full page content, plus source URLs. Powered by DeepSeek's native web search API.
Inputs: query (required), explanation.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between overlapping purposes. The tool's purpose is clear and unambiguous.
The single tool name 'web_search' follows a clear verb_noun pattern, which is consistent and descriptive. No naming conflicts or mixed conventions exist.
One tool is perfectly scoped for a web search server; additional tools would be redundant. The tool fully embodies the server's purpose without unnecessary bloat or thinness.
For a web search domain, the tool covers the complete expected functionality: fetching current, real-time, and factual information with sources. There are no obvious gaps or missing operations.
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
Free web search for AI agents. No API key required. Hosted MCP in active development.
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.
Related MCP Servers
AlicenseDqualityDmaintenanceAn MCP server that enables AI clients like Cursor, Windsurf, and Claude Desktop to access web content in markdown format, providing web unblocking and searching capabilities.242 npm60MIT- AlicenseAqualityDmaintenanceA general MCP server providing web search capabilities using DeepSeek's native online search API.137 npm33MIT
- AlicenseAqualityCmaintenanceMCP server that exposes SearXNG search and HTTP fetch tools for AI agents, enabling web search and clean page text extraction via natural language.4MIT
- AlicenseAqualityDmaintenanceMCP server providing web search, page opening, and text finding tools for DeepSeek Harness, using DuckDuckGo first with Bing fallback and quality scoring.41MIT