Labsco
MCP SERVER

DeepSeek MCP Server

by chew-z

Send code and local files to DeepSeek for review, and check the balance before you spend it.

Model Routing, Multi-Model Consultation & Cost Control
Summary
A code reviewer on a second model, with the meter visible.

The default system prompt makes this a review tool first: point it at files and it returns written analysis rather than chat. Because balance and token estimates are tools of their own, you can size a review before paying for it.

What it is

A Go MCP server that relays prompts and local files to DeepSeek's API, shipped with a code-review system prompt as its default.

What you get
  • A question sent to DeepSeek with local files attached by path — the server reads and uploads them for you
  • A default system prompt aimed at code review, returning markdown analysis; replace it with your own, set in the environment or read from a file
  • Model choice across DeepSeek Chat and DeepSeek Coder, listed from the API rather than hardcoded
  • Structured JSON responses on request, for output you intend to parse rather than read
  • Account balance, and a token estimate you can take before sending something large
  • Automatic retries with configurable exponential backoff when the API is unhappy
Requirements

Go 1.21+ to build, and a DeepSeek API key in DEEPSEEK_API_KEY. Uploads cap at 10MB by default and the allowed MIME types are configurable.

Setup effort

Build from source — clone the repository and build it, then point your client at the binary