deepseek
MCP server by arikusi Community
Connects MCP clients such as Claude Code, Gemini CLI and Cursor to DeepSeek models. It adds chat, thinking mode, multi-turn sessions and cost tracking for developers who want DeepSeek inside their coding assistant.
Install deepseek
Built from the published package, never by AI.
claude mcp add deepseek -e DEEPSEEK_API_KEY=YOUR_DEEPSEEK_API_KEY -- npx -y @arikusi/deepseek-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"deepseek": {
"env": {
"DEEPSEEK_API_KEY": "YOUR_DEEPSEEK_API_KEY"
},
"args": [
"-y",
"@arikusi/deepseek-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"deepseek": {
"env": {
"DEEPSEEK_API_KEY": "YOUR_DEEPSEEK_API_KEY"
},
"args": [
"-y",
"@arikusi/deepseek-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"deepseek": {
"env": {
"DEEPSEEK_API_KEY": "YOUR_DEEPSEEK_API_KEY"
},
"args": [
"-y",
"@arikusi/deepseek-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add deepseek --env DEEPSEEK_API_KEY=YOUR_DEEPSEEK_API_KEY -- npx -y @arikusi/deepseek-mcp-server{
"mcpServers": {
"deepseek": {
"env": {
"DEEPSEEK_API_KEY": "YOUR_DEEPSEEK_API_KEY"
},
"args": [
"-y",
"@arikusi/deepseek-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add deepseek npx -y @arikusi/deepseek-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the deepseek block.
About
The DeepSeek MCP server connects MCP-compatible AI clients such as Claude Code, Gemini CLI, Cursor and Windsurf to DeepSeek models. It exposes deepseek-flash and deepseek-v4-pro, both with a 1M-token context window and optional chain-of-thought thinking. The server supports multi-turn sessions through a session_id parameter, function calling with up to 128 tool definitions, JSON output and schema-validated JSON responses.
Each response reports token counts, a cache hit and miss breakdown and cost in USD, priced at the peak or off-peak rate that applied when the request ran. Users can run the server locally with npx or connect to the hosted endpoint using their own DeepSeek API key. It suits developers who want DeepSeek models in their coding assistant, with fill-in-the-middle completion available through a dedicated tool.
Written from the project's README and checked against it.
Tools it gives your assistant
deepseek_chatChats with deepseek-flash or deepseek-v4-pro, with thinking mode, function calling and JSON output.deepseek_fimCompletes text between a prefix and a suffix, built for code completion.deepseek_sessionsLists, deletes and clears stored conversation sessions.
What you need
- DeepSeek API key
- Node.js 22+ for local installs
| Setting | Needed | What it is |
|---|---|---|
DEEPSEEK_Environment variable, secret | Required | DeepSeek API key |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Use DeepSeek to explain how quantum computing works
- Ask DeepSeek with thinking enabled to solve an apples word problem
- Use DeepSeek FIM to complete the function body between these lines
Good to know
- Thinking mode ignores temperature and top_p.
- Session messages are stored in memory.
- In HTTP transport, each connected client has its own isolated session store.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to deepseek
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
deepseek: common questions
Is there a hosted version that needs no install?
Yes. The source lists a hosted endpoint at deepseek-mcp.tahirl.com/mcp that works with your own DeepSeek API key, without npm or Node.js.
How does the server track cost?
It calculates cost per request with a cache hit and miss breakdown. Each request is priced at the peak or off-peak rate that applied when it ran.
What happens if the model output does not match a response schema?
The server retries up to RESPONSE_SCHEMA_MAX_RETRIES times, default 2, feeding the validation error back to the model. A persistent mismatch is reported as schema.valid set to false.
How do I install deepseek?
In Claude Code run claude mcp add deepseek -e DEEPSEEK_API_KEY=YOUR_DEEPSEEK_API_KEY -- npx -y @arikusi/deepseek-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is deepseek the official server?
deepseek is a community project by arikusi, not verified by a company domain.
Is deepseek free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is deepseek safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to deepseek?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does deepseek work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
