web-search-mcp
web-search-mcp
DeepSeek Web版に基づいたオンライン検索MCPサーバーです。DeepSeekの検索拡張対話機能を通じて、MCPクライアントにリアルタイムのWeb検索能力を提供します。
機能
web_searchMCPツールを提供し、リアルタイムWeb検索をサポートDeepSeekのデフォルトモデルおよびエキスパートモデルをサポート
思考プロセス(thinking)の出力をサポート
ゼロ依存、純粋なNode.js実装
stdio転送、すべてのMCPクライアントと互換性あり
Related MCP server: google-search-mcp
クイックスタート
1. Claude Desktopでの使用
Claude Desktopの設定ファイル(claude_desktop_config.json)を編集し、envフィールドを通じて直接認証情報を渡します(.envファイルは不要です):
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["D:/ai-projects/web-search-mcp/src/index.js"],
"env": {
"DEEPSEEK_AUTH_TOKEN": "your_token_here"
}
}
}
}2. Claude Codeでの使用
プロジェクトの .claude/settings.json に以下を追加します:
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["D:/ai-projects/web-search-mcp/src/index.js"],
"env": {
"DEEPSEEK_AUTH_TOKEN": "your_token_here"
}
}
}
}3. .env ファイルの使用(オプション)
MCP設定に env を記述するのが不便な場合は、.env ファイルも使用できます:
cp .env.example .env
# 编辑 .env 填入凭据環境変数の優先順位:システム環境変数 > MCP
env設定 >.envファイル
MCPツール
web_search
DeepSeekの検索拡張対話を使用してWeb検索を行い、検索結果に基づいた回答を返します。
パラメータ:
パラメータ | 型 | 必須 | 説明 |
| string | はい | 検索クエリの内容 |
| boolean | いいえ | DeepSeekの思考/推論モードを有効にするかどうか。有効にするとモデルは推論してから回答し、推論プロセスがレスポンスに含まれます(デフォルトは false) |
| string | いいえ | モデルモード: |
環境変数
変数 | 必須 | デフォルト値 | 説明 |
| 二者択一 | - | DeepSeekログイン用トークン |
| 二者択一 | - | DeepSeekブラウザ用Cookie |
| いいえ |
| モデルタイプ: |
| いいえ |
| 思考プロセスをデフォルトで有効にするかどうか |
| いいえ |
| PoWソルバーWASMファイルのパス |
| いいえ |
| ログレベル: |
DeepSeek認証情報の取得
chat.deepseek.com を開き、ログインします
ブラウザの開発者ツール(F12)を開き、Console(コンソール) パネルに切り替えます
以下のコマンドを入力してEnterキーを押すと、トークンがコピーされます:
copy(JSON.parse(localStorage.getItem("userToken")).value)DEEPSEEK_AUTH_TOKEN環境変数に貼り付けます
注意:認証情報は期限切れになります。期限切れになった場合は再取得が必要です。トークン期限切れの典型的な兆候は、リクエストがCloudflareの検証ページを返すことです。
テスト
# 运行所有测试
npm test
# 运行单个测试文件
node --test tests/mcp-protocol.test.js
node --test tests/config.test.jsプロジェクト構造
src/
index.js # 入口,初始化所有组件并启动 MCP 服务器
mcp-server.js # MCP 协议处理(stdio 传输、JSON-RPC 分发)
deepseek-client.js # DeepSeek 网页版 API 客户端(会话管理、PoW、SSE 流式解析)
pow-solver.js # SHA3 PoW WASM 求解器
env.js # .env 文件加载器
config.js # 环境变量配置解析Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables web search and site-specific search capabilities through the Deepsearch model. Provides unified access to broad web retrieval and targeted site search functionality within the MCP ecosystem.2115Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to perform real-time Google searches and retrieve web results via the MCP protocol.The Unlicense
- AlicenseAqualityCmaintenanceA general MCP server providing web search capabilities using DeepSeek's native online search API.114027MIT
- AlicenseAqualityBmaintenanceEnables real-time web search via DeepSeek's server-side tool without requiring additional search API keys.134MIT
Related MCP Connectors
The best web search for your AI Agent
Jina AI Reader/Search MCP — turn any URL into clean LLM-ready markdown, plus web search.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/hbhszy/web-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server