Model Context Protocol server for DeepSource
Model Context Protocol server for DeepSource. The deepsource mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 5 defined tools rather than through you.
A Model Context Protocol (MCP) server that integrates with DeepSource to provide AI assistants with access to code quality metrics, issues, and analysis results.
The DeepSource MCP Server enables AI assistants like Claude to interact with DeepSource's code quality analysis capabilities through the Model Context Protocol. This integration allows AI assistants to:
Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
Everything the assistant can do here goes through one of these:
Prerequisites — The Prerequisites tool exposed by this serverSetup — The Setup tool exposed by this serverFormat — The Format tool exposed by this serverTypes — The Types tool exposed by this serverExamples — The Examples tool exposed by this serverYou will need 8 environment variables: DEEPSOURCE_API_KEY, LOG_FILE, LOG_LEVEL, RETRY_MAX_ATTEMPTS, RETRY_BASE_DELAY_MS, RETRY_MAX_DELAY_MS, RETRY_BUDGET_PER_MINUTE, CIRCUIT_BREAKER_THRESHOLD. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Deepsource's toolset — Prerequisites, Setup, Format and 2 more — is a fair guide to whether it matches your workflow. It is maintained by chatflowdev; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Deepsource's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Prerequisites | The Prerequisites tool exposed by this server. |
| Setup | The Setup tool exposed by this server. |
| Format | The Format tool exposed by this server. |
| Types | The Types tool exposed by this server. |
| Examples | The Examples tool exposed by this server. |
{
"mcpServers": {
"deepsource": {
"command": "npx",
"args": ["-y", "deepsource-mcp-server@latest"],
"env": {
"DEEPSOURCE_API_KEY": "your-deepsource-api-key"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| DEEPSOURCE_API_KEY | Credential the server authenticates with. | Yes |
| LOG_FILE | Configuration value read at startup. | Optional |
| LOG_LEVEL | Configuration value read at startup. | Optional |
| RETRY_MAX_ATTEMPTS | Configuration value read at startup. | Optional |
| RETRY_BASE_DELAY_MS | Configuration value read at startup. | Optional |
| RETRY_MAX_DELAY_MS | Configuration value read at startup. | Optional |
| RETRY_BUDGET_PER_MINUTE | Configuration value read at startup. | Optional |
| CIRCUIT_BREAKER_THRESHOLD | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.