DeepSource integration
DeepSource GraphQL API for static code analysis and automated code review. Detect bugs, security vulnerabilities, anti-patterns, and code quality issues across 20+ programming languages. Integrates with CI/CD pipelines, provides actionable recommendations, and supports autofix for common issues. Features include code health tracking, issue management, dependency vulnerability scanning, compliance reporting, and team collaboration.
Say what should happen.
The workflow builds itself.
Common DeepSource use cases
- dashboard building
- CI/CD integration
- policy update
- PR monitoring
- issue reporting
- branch migration
- pausing analysis
- analysis tracking
- security auditing
- security rotation
What you can do with DeepSource
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Repository, 6 operations
activate_repositoryActivate repositoryPOSTActivates a repository for DeepSource code analysis.deactivate_repositoryDeactivate repositoryPOSTDeactivates a repository, stopping DeepSource code analysis.get_repositoryGet repositoryPOSTRetrieves detailed repository information including enabled analyzers, activation status, and configuration.list_repositoriesList repositoriesPOSTLists repositories connected to DeepSource with their analysis status and configuration.regenerate_repository_dsnRegenerate repository dsnPOSTRegenerates the DSN (project key) for a repository, invalidating the old one.update_default_branchUpdate default branchPOSTUpdates the default branch for a repository used as the analysis baseline.
Analysis run, 2 operations
get_analysis_runGet analysis runPOSTRetrieves analysis run results including new issues introduced, issues resolved, report card grades, and metrics changes.list_analysis_runsList analysis runsPOSTLists analysis run history for a repository with status, issue counts, and timestamps for each run.
Pull request, 2 operations
get_pull_requestGet pull requestPOSTRetrieves pull request analysis results including issues raised, resolved, and vulnerability data.list_pull_requestsList pull requestsPOSTLists pull requests with their analysis summaries, states, and issue counts.
Team suppression, 2 operations
suppress_issue_for_teamSuppress issue for teamPOSTSuppresses an issue at the team level across all repositories.unsuppress_issue_for_teamUnsuppress issue for teamPOSTRemoves a team-level issue suppression, re-enabling analysis for that issue across all repositories.
Ignore rule, 1 operation
get_ignore_rulesGet ignore rulesPOSTLists ignore rules configured for a repository with issue shortcode and file path filters.
Issue, 1 operation
list_issuesList issuesPOSTLists code issues detected in a repository with category, severity, and autofix availability.
Metric, 1 operation
get_code_health_metricsGet code health metricsPOSTRetrieves code health metrics showing coverage, duplication, and quality metrics with thresholds for a repository.
Report, 1 operation
get_reportGet reportPOSTRetrieves compliance and quality reports including OWASP Top 10, SANS Top 25, issue distribution, and code coverage.
Vulnerability, 1 operation
list_vulnerabilitiesList vulnerabilitiesPOSTLists dependency vulnerability occurrences in a repository with severity, CVSS scores, and fix availability.
Use DeepSource from Claude Code, Cursor or Codex
Connect DeepSource in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its DeepSource operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect DeepSource
- Create your workspace
Sign up free. Nothing to install.
- Connect DeepSource once
Add your DeepSource connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
DeepSource integration FAQ
What can you do with the DeepSource integration?
LiveContext exposes 17 operations on DeepSource, covering repository, analysis run, pull request and team suppression. Common uses include dashboard building, CI/CD integration and policy update.
