codacy_get_file_with_analysis

MCP tool from Codacy MCP Server by codacy

Get detailed analysis information for a file, including metrics for Grade, Issues, Duplication, Complexity, and Coverage.

How to use it

Project documentation lists codacy_get_file_with_analysis for the Codacy MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), then check which tools your installed version makes available. Tool availability can depend on configuration and credentials. A server handshake does not verify this tool’s behavior. See the full listing for setup details.

Install Codacy MCP Server

$npm install -g @codacy/codacy-mcp
FULL CODACY MCP SERVER LISTING

Other tools in Codacy MCP Server (22)

codacy_cli_analyze

Run quality analysis locally using Codacy CLI. Features include:

codacy_get_file_clones

Get the list of duplication clones (identical or very similar code segments) for a file in a repository.

codacy_get_file_coverage

Get coverage information for a file in the head commit of a repository branch.

codacy_get_file_issues

Get the issue list for a file in a repository.

codacy_get_issue

Get detailed information about a specific issue.

codacy_get_pattern

Get the definition of a specific pattern.

codacy_get_pull_request_files_coverage

Get diff coverage information for all files in a pull request.

codacy_get_pull_request_git_diff

Returns the human-readable Git diff of a pull request.

codacy_get_repository_pull_request

Get detailed information about a specific pull request.

codacy_get_repository_with_analysis

Get repository with analysis information, including metrics for Grade, Issues, Duplication, Complexity, and Coverage.

codacy_list_files

List files in a repository with pagination support.

codacy_list_organization_repositories

List repositories in an organization with pagination support.

codacy_list_organizations

List organizations with pagination support.

codacy_list_pull_request_issues

Returns a list of issues found in a pull request (new or fixed issues).

codacy_list_repository_issues

Lists and filters code quality issues in a repository. This is the primary tool for investigating general code quality concerns (e.g. best practices, performance, complexity, style) but NOT security issues. For security-related issues, use the SRM items tool instead. Features include:

codacy_list_repository_pull_requests

List pull requests from a repository that the user has access to.

codacy_list_repository_tool_patterns

List the patterns of a tool available for a repository.

codacy_list_repository_tools

Get analysis tools settings and available tools for a repository.

codacy_list_tools

List all code analysis tools available in Codacy.

codacy_search_organization_srm_items

Primary tool to list security items/issues/vulnerabilities/findings across an organization. Results are related to the organization's security and risk management (SRM) dashboard on Codacy.

codacy_search_repository_srm_items

List security items/issues/vulnerabilities/findings for a specific repository.

codacy_setup_repository

Add or follow a repository in Codacy if not already present. This tool ensures the repository is registered with Codacy, allowing further analysis and management.