python-mcp
Provides tools to run Ruff linting and format checking on Python projects.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@python-mcpRun ruff check on the current project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
python-mcp
A Model Context Protocol (MCP) server for Python code-quality checks with token-efficient output.
Overview
python-mcp gives LLMs direct access to linting, formatting, type checking, security, dependency, test-collection, dead-code, and spelling checks. Tool output is parsed structurally and reduced to compact diagnostics before it reaches the model.
Related MCP server: mcp-server-analyzer
Features
ruff_check - Lint files, glob patterns, or everything;
changed_onlychecks just the files touched in gitruff_format - Verify formatting without modifying files
ty_check - Type-check with concise output and an optional
error/warningseverity filtervulture_check - Find unused code and other dead-code candidates
bandit_check - Find common Python security problems
deptry_check - Find missing, unused, obsolete, and misplaced dependencies
pytest_collect - Verify that tests can be collected without executing them
codespell_check - Find likely spelling mistakes in source and documentation
pydoclint_check - Check docstrings against function signatures
Structured parsing - ruff JSON and ty GitLab code-quality output avoid fragile parsing of human-readable text
Adaptive aggregation - large result sets include rule/file rollups before flat diagnostics, reducing repeated context
changed_only - Check only staged, unstaged, and untracked Python files (
*.py,*.pyi)
How It Works
python-mcp implements the Model Context Protocol to expose nine read-only tools. All tools return a CheckResult with token-efficient output text and the underlying exit_code.
Tools
ruff_check(paths?, changed_only?)- Run ruff lintingruff_format(paths?, changed_only?)- Runruff format --checkty_check(paths?, level?, changed_only?)- Runty check --output-format concise, filtering byall/error/warningvulture_check(paths?, changed_only?)- Run vulture dead-code analysisbandit_check(paths?, changed_only?)- Run Bandit security analysisdeptry_check(paths?, changed_only?)- Run deptry dependency analysispytest_collect(paths?, changed_only?)- Collect tests without running themcodespell_check(paths?, changed_only?)- Run codespell spelling analysispydoclint_check(paths?, changed_only?)- Run pydoclint docstring analysis
Output Processing
Command | Input format | Output |
| JSON | Compact grouped output; large runs get rule/file rollups |
| Concise text | One line per unformatted file |
| GitLab JSON | Compact grouped output; severity filter applied |
| Concise text | Compact grouped dead-code findings |
| JSON | Compact grouped security findings |
| ANSI-free text | Compact grouped dependency findings |
| Concise text | Collected test IDs or collection errors |
| Concise text | Compact spelling findings with suggestions |
| Concise text | Compact docstring-signature violations |
Small and medium result sets use the plugin-compatible grouped layout because it has lower overhead. Large result sets switch to an rtk-like layout with Top rules, Top files, and flat diagnostic lines. This addresses rtk's large-result advantage without adding an external runtime dependency.
Usage
To start the server:
uvx python-mcpOr from a checkout:
uv run python-mcpConfigure an MCP client to launch the server in the project directory to check, e.g. for opencode:
{
"mcp": {
"python-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["python-mcp"]
}
}
}The server checks the project in its working directory. To target another directory, set PYTHON_MCP_PROJECT_DIR.
Agent Skill
Install the bundled python-mcp skill in a project when the agent client
discovers skills from .agents/skills:
uvx python-mcp skill install python-mcp --target .The skill directs agents to the server's nine read-only tools:
ruff_check, ruff_format, ty_check, vulture_check, bandit_check,
deptry_check, pytest_collect, codespell_check, and pydoclint_check.
It does not describe uv package
or environment management.
Configuration
Environment variables, all optional:
PYTHON_MCP_LOG_LEVEL- Logging level, defaultINFOPYTHON_MCP_PROJECT_DIR- Project directory to check, default: server working directoryPYTHON_MCP_COMMAND_PREFIX- Prefix for native ruff/ty/vulture invocations, defaultuv run; set to empty to use binaries fromPATHPYTHON_MCP_COMMAND_TIMEOUT- Optional command timeout in seconds
Development
This project is built with FastMCP and uv.
uv sync --extra dev
uv run ruff check
uv run ty check
uv run pytestAvailable Tools
9 toolsbandit_checkBRead-onlyIdempotent
Scan Python code for common security problems with Bandit.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint and idempotentHint, covering the safety profile. The description adds the fact that Bandit is the underlying scanner but does not disclose additional behavioral traits such as severity reporting, exit behavior, or how results are returned. No contradiction with annotations exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence of eleven words, with no filler or redundant content. It is front-loaded with the key action 'Scan' and remains appropriately sized for the tool's simplicity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The output schema and annotations cover return values and safety, which helps, but the description omits essential parameter semantics such as the meaning of changed_only and the default behavior when paths is null. An agent cannot confidently choose and populate the arguments without additional inference.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description never mentions either parameter, paths or changed_only. The description must compensate for the lack of schema documentation but entirely fails to explain what these parameters mean or how they affect the scan.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Scan' with the resource 'Python code' and the outcome 'common security problems', and names Bandit, making the core function clear. However, it does not explicitly differentiate this from sibling tools like ruff_check or ty_check, so it falls short of a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'common security problems' implies the scanning use case and suggests this tool is appropriate when a Python security review is needed. There is no explicit statement of when to prefer Bandit over alternatives or when not to use it, so the guidance is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
codespell_checkARead-onlyIdempotent
Find likely spelling mistakes in project text and source files.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, covering the safety profile. The description adds only the word 'likely', which hints that results are heuristic suggestions rather than definitive errors. It provides no additional behavioral detail such as scope limitations or what happens with changed_only, but it does not contradict annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single, front-loaded sentence with no filler. Every word contributes to conveying the tool's purpose, and the description is appropriately sized for a simple read-only checker.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple, has an output schema, and has safety covered by annotations, so the description does not need to explain return values or mutation risks. However, it leaves the changed_only parameter and the exact meaning of 'project text and source files' undefined, which is a clear but not severe gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description carries the burden of explaining parameters, but it mentions neither 'paths' nor 'changed_only'. The phrase 'project text and source files' gives some loose context for the default path scope, but it does not clarify how to restrict paths or what changed_only means.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Find') and resource ('likely spelling mistakes in project text and source files'), making the tool's function immediately clear. It is naturally differentiated from all sibling tools, which cover linting, formatting, type checking, security, dependencies, and tests rather than spelling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied rather than stated explicitly: an agent can infer to use this tool when spelling mistakes are the concern, especially since no sibling tool covers spelling. However, the description gives no explicit when-to-use guidance, exclusions, or alternatives, so it stops at the implied level.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
deptry_checkBRead-onlyIdempotent
Find missing, unused, obsolete, and misplaced dependencies.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, covering the safety profile. The description adds useful detail about the kinds of dependency problems detected, but it does not disclose operational behavior such as whether it scans manifests, lockfiles, or the current environment. Given the strong annotations, this is acceptable but not exceptional.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence with no filler, tautology, or repetition of schema or annotation details. Every word adds meaning.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool's core purpose is clear and the output schema plus read-only annotations help, but the complete opacity of the parameters is a significant gap. An agent can call it with defaults confidently, but cannot correctly use path scoping or the changed_only option without guessing.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for the two parameters, and the description provides no explanation of 'paths' or 'changed_only'. An agent has no basis for understanding what values to pass, what paths should point to, or how the 'changed_only' flag alters behavior.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a specific verb ('Find') and identifies four distinct dependency issue categories (missing, unused, obsolete, misplaced), making the tool's purpose immediately clear. It is easily distinguished from sibling tools like ruff_check, ty_check, and bandit_check, which cover different domains.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies the tool is for scanning dependencies for the listed issue types, but it provides no explicit guidance on when to prefer it over alternatives or when not to use it. There is no mention of how it relates to sibling tools such as ruff_check or vulture_check.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pydoclint_checkCRead-onlyIdempotent
Check docstrings against function signatures with pydoclint.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so the read-only nature is covered. However, the description adds no behavioral context beyond the purpose—no mention of output format, what happens when checks fail, or any configuration effects. It relies entirely on annotations, which cover safety but not operational details.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence that gets straight to the point. No fluff, no repetition, and the purpose is front-loaded. Perfectly sized for a simple tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Although an output schema exists, the description omits critical context such as when to use the tool, what the returned results look like, and how parameters affect behavior. The tool is straightforward, but the lack of usage guidance and parameter semantics makes it incomplete for an agent to decide and invoke correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description provides no explanation of the 'paths' or 'changed_only' parameters. The schema itself lacks descriptions, so the agent has no clue what 'paths' refers to (file paths? directories?) or what 'changed_only' filters. With two parameters and zero semantic guidance, this is a severe gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Check') and resource ('docstrings against function signatures') with a clear tool reference ('pydoclint'). This is specific enough to distinguish it from sibling linting tools like ruff_check or ty_check, which focus on other aspects. No ambiguity about what the tool does.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives like ruff_check or ty_check. The description only states what it does, not when it should be invoked. No conditions, exclusions, or comparisons are provided, leaving the agent to infer usage.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
pytest_collectARead-onlyIdempotent
Collect pytest tests without executing them.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint and idempotentHint; the description adds the valuable behavioral guarantee that tests are collected but not executed. With annotations present, this level of added context is sufficient; it could additionally mention module import side effects, but that is not essential.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence, front-loaded with the action and scoped by the key non-execution detail. Every word earns its place; no filler or repetition.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple, has an output schema, and annotations cover safety, so the brief description is mostly adequate. However, it leaves the meaning and defaults of both optional parameters unexplained, which is a clear gap for an agent deciding how to invoke it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description adds no meaning for 'paths' or 'changed_only'. The property names give some clue, but 'changed_only' in particular is ambiguous and the description does not clarify how either parameter modulates collection.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('collect') and resource ('pytest tests'), and adds the key scoping detail 'without executing them'. This clearly distinguishes it from test-running tools and from the sibling static-check tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'without executing them' implies the tool is for discovery/inspection rather than running tests, but it does not state when to prefer it over alternatives or name any explicit exclusions. Usage context is only implied, not spelled out.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ruff_checkARead-onlyIdempotent
Run ruff linting with token-efficient output.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Paths to check, with glob support. Empty means the whole project. | |
| changed_only | No | Only check Python files modified in git. |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, covering the safety profile. The description adds a useful behavior beyond annotations by noting the output is token-efficient, which helps an agent predict output size, but it does not describe return format, exit behavior, or what happens with empty paths.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single front-loaded sentence with no filler. Every word earns its place: the verb, the tool-specific action, and the differentiating output characteristic.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with two optional parameters, full schema coverage, read-only/idempotent annotations, and an output schema, the description is sufficient for an agent to understand and invoke it correctly. The missing usage routing is covered by the usage_guidelines dimension, not by this one.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for both parameters: paths includes glob support and the empty-means-whole-project behavior, and changed_only explains git filtering. The tool description adds no additional parameter-level detail, so the baseline of 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb and resource ('Run ruff linting') and distinguishes it from the sibling ruff_format by placing the focus on linting rather than formatting. Although other check tools exist, naming the linter and action makes the purpose unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is given about when to choose ruff_check over siblings like ruff_format, ty_check, vulture_check, or bandit_check. The only implicit clue is 'token-efficient output,' which hints that this tool is preferred when compact output matters, but this is not stated directly and no exclusions or alternatives are named.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ruff_formatCRead-onlyIdempotent
Check Ruff formatting without modifying files.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is known. The description's 'without modifying files' essentially repeats the read-only annotation and adds no new behavioral context like return behavior, prerequisites, or edge cases.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise sentence with no wasted words. It is efficient and front-loaded with the core purpose, though it sacrifices substantive content for brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With two optional parameters and an output schema, the description should provide enough context to call the tool correctly. It only states the purpose, leaving parameter semantics, distinguishing features, and usage scenarios unexplained. It is minimally adequate but far from complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not mention either parameter ('paths' or 'changed_only'). The agent receives no explanation of what these parameters mean or how to use them beyond their names and types, which is insufficient.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Check Ruff formatting') and a key trait ('without modifying files'), which is clear and not a tautology. However, it does not explicitly differentiate from sibling tools like ruff_check, so it lacks explicit distinction from alternatives.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus others, no exclusions, and no context about preferred scenarios. It is a single statement with no usage direction.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
ty_checkBRead-onlyIdempotent
Run ty type checking with an optional severity filter.
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | all | |
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and idempotentHint=true, so the tool's safety profile is covered. The description adds the behavioral detail of an optional severity filter, but it does not disclose what `paths` or `changed_only` actually do during a check. There is no contradiction with the annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler. It states the action, resource, and the key filtering option efficiently, earning every word.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With annotations covering safety and an output schema present, the description doesn't need to explain return values. A default invocation is clear, but the lack of parameter semantics and usage guidance makes advanced use cases like `changed_only` or specific `paths` underspecified. It is adequate for a simple tool but has clear gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description needed to compensate by explaining parameters. It only hints at the severity filter (`level`) and leaves `paths` and `changed_only` unexplained. The names and defaults are somewhat self-explanatory, but the description adds little beyond what the schema already shows.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a clear verb ('Run') and names the specific resource ('ty type checking'), which distinguishes it from sibling tools like ruff_check and bandit_check. The mention of an optional severity filter also foreshadows the `level` parameter. It is clear and specific, though it doesn't explicitly contrast with any sibling.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies that this tool should be used when ty type checking is needed, but it gives no explicit when-to-use or when-not-to-use guidance. No alternatives or exclusions are mentioned, so an agent must infer the usage context from the tool name and description alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
vulture_checkBRead-onlyIdempotent
Find unused Python code with Vulture's dead-code analysis.
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | ||
| changed_only | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| issues | No | |
| output | Yes | |
| fixable | No | |
| warnings | No | |
| exit_code | Yes | |
| saved_tokens | No | |
| savings_percent | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The annotations already declare readOnlyHint=true and idempotentHint=true, so the description does not need to restate that the operation is safe or repeatable. The description adds the Vulture identity but does not disclose additional behavioral traits such as scope limits or output behavior, which leaves it adequate but not enriched.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, front-loaded sentence with no filler or redundancy. It uses every word to convey the tool's core purpose and mechanism.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple, read-only, idempotent, and has an output schema, which reduces some burden on the description. However, the complete lack of parameter guidance leaves an agent guessing about how to specify paths and what changed_only=true actually controls, making the definition only minimally complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not explain the 'paths' or 'changed_only' parameters at all. The agent must infer their meaning entirely from parameter names, with no supporting detail about accepted path types or what 'changed' refers to.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Find') and the resource ('unused Python code'), and it names Vulture's dead-code analysis as the mechanism. It is distinct in function from sibling tools like ruff_check, ty_check, and bandit_check, though it does not explicitly contrast them.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied: an agent should call this when unused Python code needs to be detected. However, there is no explicit guidance about when to prefer this over sibling tools or any exclusion conditions, so the guidance is only implicit.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool maps to a distinct well-known Python quality concern: linting, formatting, type checking, dead code, security, dependencies, test discovery, spelling, and docstrings. There is no meaningful overlap between tools despite several sharing a 'check' suffix.
All tool names follow a consistent lowercase snake_case pattern of <tool>_<action>, with 'check' used for most tools and 'format'/'collect' used only where semantically appropriate. The convention is predictable and easy to infer.
Nine tools is a well-scoped size for a Python code-quality server. Each tool covers a major independent concern without unnecessary redundancy or bloat.
The tool surface covers the core Python quality-checking lifecycle: linting, formatting validation, type checking, dead-code analysis, security scanning, dependency validation, test discovery, spelling, and docstring consistency. No critical gaps are apparent for the evident check-oriented purpose.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that exposes Pyright language server functionality for Python, providing tools for type checking, code completions, and finding definitions. It enables AI models to perform static analysis and code formatting through the Model Context Protocol.7MIT
- AlicenseAqualityAmaintenanceAn MCP server that performs comprehensive Python code analysis using Ruff, ty, and Vulture for linting, type checking, and dead code detection.810MIT
- AlicenseNot gradedqualityDmaintenanceCode linting and style checking tools for AI agents, exposed as an MCP server. Supports style checks, naming conventions, complexity analysis, dead code detection, and import analysis.63MIT
- AlicenseBqualityDmaintenanceAn MCP server that integrates Ruff linting, formatting, and code analysis tools with advanced logging and configuration options for AI coding assistants.41MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yriveiro/python-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server