Deepseek MCP Server

MCP server for DeepSeek V4 (v4-flash, v4-pro, 1M context): chat, reasoning, function calling, thinking mode, cost tracking. deepseek-chat/reasoner

Remote serverstreamable-httpTypeScript

What is the Deepseek MCP Server?

MCP server for DeepSeek V4 (v4-flash, v4-pro, 1M context): chat, reasoning, function calling, thinking mode, cost tracking. deepseek-chat/reasoner aliases supported.

The short version

  • DeepSeek V4 — deepseek-v4-flash and deepseek-v4-pro, both with 1M context and optional chain-of-thought thinking mode
  • Multi-Turn Sessions — Conversation context preserved across requests via session_id parameter
  • Model Fallback & Circuit Breaker — Automatic fallback between models with circuit breaker protection against cascading failures
  • MCP Resources — deepseek://models, deepseek://config, deepseek://usage — query model info, config, and usage stats
  • Thinking Mode — Enable chain-of-thought reasoning on either V4 model with thinking: {type: "enabled"}
  • JSON Output Mode — Structured JSON responses with json_mode: true

What it needs from you

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
deepseek_chatChat with DeepSeek AI models with automatic cost tracking and function calling support.
deepseek_fimFill-in-the-Middle completion. You give a prompt (the prefix) and an optional suffix, and the model completes the text in between. It is built for code completion and content infilling rather than conversation. FIM runs
deepseek_sessions

Configuration

VariableDescriptionRequired
DEEPSEEK_API_KEYCredential the server authenticates with.Yes
DEEPSEEK_BASE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use Deepseek to Prerequisites.”
  • “Use Deepseek to deepseek chat.”
  • “Use Deepseek to deepseek fim.”

Frequently asked questions

You need Node.js 20+ and a DeepSeek API key, which you can obtain at `https://platform.deepseek.com`. Installation via `npx` requires no additional dependencies beyond Node.js.