Codacy integration
Codacy API for automated code review and code quality analysis. Analyze code for issues, security vulnerabilities, code coverage, and complexity. Track quality metrics across repositories, enforce coding standards, and integrate with CI/CD pipelines. Supports 40+ programming languages with customizable quality gates and team collaboration features.
Say what should happen.
The workflow builds itself.
Common Codacy use cases
- CI/CD integration
- code review automation
- PR code review
- issue reporting
- security audits
- PR quality monitoring
- repository dashboards
- repository onboarding
- PR quality gate checks
- quality trend analysis
What you can do with Codacy
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.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Repository, 3 operations
follow_repositoryFollow repositoryPOSTAgents: ask firstAdds a repository to Codacy for code analysis by following it.get_repository_with_analysisGet repository with analysisGETAgents: ask firstRetrieves detailed repository information including quality grade, coverage, issues, and configuration.list_organization_repositoriesList organization repositoriesGETAgents: ask firstLists repositories in a Codacy organization with their quality metrics, analysis status, and configuration.
Commit, 2 operations
get_commit_delta_statisticsGet commit delta statisticsGETAgents: ask firstRetrieves delta statistics for a commit including quality delta, new/fixed issues, and coverage change.list_commitsList commitsGETAgents: ask firstLists commits with analysis results including quality delta, issues, and coverage metrics.
Issue, 2 operations
list_pull_request_issuesList pull request issuesGETAgents: ask firstLists issues found in a specific pull request with their severity, category, and file location.search_repository_issuesSearch repository issuesPOSTAgents: ask firstSearches and filters code issues in a repository with severity, category, file location, and fix suggestions.
Pull request, 2 operations
get_pull_requestGet pull requestGETAgents: ask firstRetrieves detailed analysis for a specific pull request including quality gate status and metrics.list_pull_requestsList pull requestsGETAgents: ask firstLists pull requests with analysis including quality gate status, new issues, and branch comparison.
Quality setting, 2 operations
get_quality_gate_pull_requestsGet quality gate pull requestsGETAgents: ask firstRetrieves quality gate configuration for pull requests including thresholds for issues, coverage, complexity, and duplication.get_quality_settings_repositoryGet quality settings repositoryGETAgents: ask firstRetrieves repository quality settings including thresholds and rules for automated quality enforcement.
Category overview, 1 operation
get_repository_category_overviewsGet repository category overviewsGETAgents: ask firstRetrieves issue counts broken down by category for a repository.
File, 1 operation
list_filesList filesGETAgents: ask firstLists files in a repository with code quality metrics per file.
Organization, 1 operation
list_organizationsList organizationsGETAgents: ask firstLists all organizations the authenticated user has access to with their details and permissions.
Security item, 1 operation
search_organization_security_itemsSearch organization security itemsPOSTAgents: ask firstSearches security vulnerabilities across an organization's SRM dashboard including severity, scan type, and remediation status.
Use Codacy from Claude Code, Cursor or Codex
Connect Codacy in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Codacy 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 Codacy
- Create your workspace
Sign up free. Nothing to install.
- Connect Codacy once
Add your Codacy 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.
Codacy integration FAQ
What can you do with the Codacy integration?
LiveContext exposes 15 operations on Codacy, covering repository, commit, issue and pull request. Common uses include CI/CD integration, code review automation and PR code review.
