DeepSeek MCP Server
Lets your AI agent call DeepSeek models for chat, image understanding, completion and file handling, and check your balance.
363 stars on GitHubby DMontgomery40License MITUpdated 24 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add deepseek -e DEEPSEEK_API_KEY="<your value>" -- npx -y deepseek-mcp-server
What to fill in
| Name | What it is | Required |
|---|---|---|
DEEPSEEK_API_KEY | DeepSeek API key used for upstream DeepSeek requests | Yes |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Ask DeepSeek to explain this function and give me its answer.
Upload this diagram and have DeepSeek describe what it shows.
What it is
This server connects your AI agent to the DeepSeek API. It supports text and image chat, the Responses API, code completion, model listing and balance checks. It can also keep short in-memory conversations.
What it can do
chat_completion: text or image chat with optional conversation memorycreate_response: stateless Responses API callscompletion: fill-in-the-middle code completionlist_models: see which models your account can useget_user_balance: check account balanceupload_file: upload an image for reuselist_filesandretrieve_file: browse uploaded filesdelete_file: remove an uploaded file
When to use
- βΊWhen you want a second opinion from a DeepSeek model inside your agent.
- βΊWhen you want a DeepSeek model to describe or read an image.
- βΊWhen you want to check your DeepSeek balance or which models you can use.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
deepseek-chatHelps your agent send one quick question to DeepSeek's chat model for simple jobs like summaries, data pulls or quick sorting.v4-best-practicesGives your agent checks for multi-step plans on DeepSeek V4 models, so it confirms file paths and facts before acting.cli-anything-novitaLets your agent send prompts to Novita AI models such as DeepSeek and GLM, stream their replies, and list the models available.Frequently asked questions
Is it free?
The server is installed with npx and has no fee in the readme, but you pay DeepSeek for API use under your own account.
What do I need?
Node.js 20 or newer and a DeepSeek API key.
Does it generate images, video or audio?
No. The readme says multimodal here means image understanding only.
Does it run over HTTP too?
Yes. It runs over stdio by default and can run as a local streamable HTTP endpoint, with an optional bearer token.
Does it include web search tools?
It has no standalone Search or Fetch tools. The create_response tool accepts web_search for the Pro model, which DeepSeek runs on its server and may bill separately.
Is there a rate limit?
It limits tool calls to 120 per 60 seconds by default. This limits MCP calls, not what DeepSeek charges.
If it does not work
- βΊCheck that DEEPSEEK_API_KEY is set in the env section of your MCP config.
- βΊMake sure Node.js 20 or newer is installed.
- βΊFor large image uploads, raise DEEPSEEK_REQUEST_TIMEOUT_MS.
5 new skills a week. 1 minute to read.