What does the DeepSource MCP Server do?
It acts as a bridge between AI assistants (via the Model Context Protocol) and DeepSource’s code quality analysis platform, allowing assistants to query projects, issues, and analysis runs.
@sapientpants
Basic information
Model Context Protocol (MCP) server for DeepSource
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"deepsource": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"DEEPSOURCE_API_KEY",
"sapientpants/deepsource-mcp-server"
],
"env": {
"DEEPSOURCE_API_KEY": "your-deepsource-api-key"
}
}
}
}No required parameters
`projectKey` (required) - The unique identifier for the DeepSource project
`projectKey` (required) - The unique identifier for the DeepSource project
`runIdentifier` (required) - The runUid (UUID) or commitOid (commit hash) to identify the run
The DeepSource MCP Server is a Model Context Protocol (MCP) server that integrates with DeepSource to give AI assistants access to code quality metrics, issues, and analysis results. It enables AI assistants to retrieve code metrics, filter issues, check quality status, and analyze project quality over time via DeepSource’s GraphQL API.
Install via npm (npx deepsource-mcp-server@1.1.0) or run the Docker image (sapientpants/deepsource-mcp-server). Provide your DeepSource API key as the environment variable DEEPSOURCE_API_KEY. Configure the server in your AI assistant’s MCP client, e.g., by adding a deepsource entry to claude_desktop_config.json with the appropriate command and environment variable.
It acts as a bridge between AI assistants (via the Model Context Protocol) and DeepSource’s code quality analysis platform, allowing assistants to query projects, issues, and analysis runs.
Node.js 20 or higher and pnpm 10.7.0 or higher for local builds, or Docker for containerized deployment. You also need a DeepSource API key.
Set the environment variable `DEEPSOURCE_API_KEY` when starting the server. Examples are shown in the configuration snippets for Docker and npx.
Four tools: `deepsource_projects` (list projects), `deepsource_project_issues` (get issues with optional pagination), `deepsource_project_runs` (list analysis runs with pagination), and `deepsource_run` (get a specific run by runUid or commitOid).
The repository is on GitHub at `sapientpants/deepsource-mcp-server` and is licensed under the MIT license.
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
MCP Toolbox for Databases is an open source MCP server for databases.
Hindsight: Agent Memory That Learns

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
Comments