Code Checker

v1.0.0Developer Toolsstable

MCP server providing code quality checks (pylint and pytest) with smart LLM-friendly prompts for analysis and fixes. Enables Claude and other AI assistants to analyze your code and suggest improvements.

mcpmcp-serverpylintpytestpython
Share:
17
Stars
0
Downloads
0
Weekly
0/5

What is Code Checker?

Code Checker is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server providing code quality checks (pylint and pytest) with smart llm-friendly prompts for analysis and fixes. enables claude and other ai assistants to analyze your code and suggest improvement...

MCP server providing code quality checks (pylint and pytest) with smart LLM-friendly prompts for analysis and fixes. Enables Claude and other AI assistants to analyze your code and suggest improvements.

This server falls under the Developer Tools and Coding Agents categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server providing code quality checks (pylint and pytest)

Use Cases

Run pylint and pytest analysis on your code with AI-friendly insights.
Get code quality suggestions and automated fix recommendations.
Analyze Python projects for improvements and best practices.
LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-code-checker

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Code Checker

MCP Code Checker (mcp-tools-py) is a Python MCP server that runs pylint, pytest, and mypy on your local Python projects and returns results formatted as structured, LLM-friendly output. Claude and other AI assistants connected to this server can analyze code quality, run your test suite, and perform type checking, then immediately suggest fixes based on the actual tool output. It is aimed at Python developers who want their AI coding assistant to have real-time, ground-truth insight into code quality rather than relying on inference alone.

Prerequisites

  • Python 3.9 or later
  • pylint, pytest, and mypy installed in the Python environment the server will use for analysis
  • The mcp-tools-py package installed from GitHub
  • Claude Desktop or another MCP-compatible AI client
1

Install mcp-tools-py from GitHub

Install the package directly from the GitHub repository. This makes the mcp-tools-py command available.

pip install git+https://github.com/MarcusJellinghaus/mcp-tools-py.git
2

Ensure analysis tools are installed in the target environment

The server needs pylint, pytest, and mypy accessible via the Python interpreter it uses. Install them in the same virtual environment as mcp-tools-py.

pip install pylint pytest mypy
3

Test the server from the command line

Run the server pointing at your project directory to confirm it starts correctly. The --project-dir argument is required.

mcp-tools-py --project-dir /path/to/your/project
4

Add the server to Claude Desktop config

Register the server in claude_desktop_config.json. Specify the --project-dir pointing to the root of the Python project you want to analyze.

{
  "mcpServers": {
    "mcp-code-checker": {
      "command": "mcp-tools-py",
      "args": ["--project-dir", "/path/to/your/project"]
    }
  }
}
5

Optionally configure a separate venv for the analysis tools

If your project uses a different Python environment than where mcp-tools-py is installed, use --venv-path to point the server at the environment where pylint, pytest, and mypy live.

mcp-tools-py --project-dir /path/to/project --venv-path /path/to/project/.venv

Code Checker Examples

Client configuration

Claude Desktop configuration for mcp-code-checker targeting a specific Python project directory.

{
  "mcpServers": {
    "mcp-code-checker": {
      "command": "mcp-tools-py",
      "args": [
        "--project-dir", "/Users/you/myproject",
        "--venv-path", "/Users/you/myproject/.venv",
        "--log-level", "INFO"
      ]
    }
  }
}

Prompts to try

Example prompts for running code quality checks through Claude once the server is configured.

- "Run pylint on the src/ directory and tell me which files have the most issues."
- "Execute the pytest suite and summarize any failing tests with their error messages."
- "Run mypy with strict mode on my project and list all type errors by file."
- "Check the code quality of auth.py with pylint and suggest specific fixes for each warning."
- "Run pylint targeting only the 'error' and 'warning' categories and generate a report."

Troubleshooting Code Checker

run_pylint_check returns 'pylint not found' or similar error

Ensure pylint is installed in the Python environment the server is using. If using --venv-path, verify that the virtual environment at that path has pylint installed: run '/path/to/.venv/bin/pip list | grep pylint'.

pytest runner skips tests or reports 'no tests found'

The --project-dir must point to the root of your project where pytest.ini, pyproject.toml, or setup.cfg configures test discovery. Verify pytest finds tests by running 'pytest --collect-only' manually from the project directory.

mcp-tools-py command not found after installation

The package installs the CLI entry point via pip. Ensure the Python environment's bin directory is on your PATH. If using a virtual environment, activate it first or specify the full path to the binary in the Claude Desktop config.

Frequently Asked Questions about Code Checker

What is Code Checker?

Code Checker is a Model Context Protocol (MCP) server that mcp server providing code quality checks (pylint and pytest) with smart llm-friendly prompts for analysis and fixes. enables claude and other ai assistants to analyze your code and suggest improvements. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Code Checker?

Follow the installation instructions on the Code Checker GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Code Checker?

Code Checker works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Code Checker free to use?

Yes, Code Checker is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-code-checker": { "command": "npx", "args": ["-y", "mcp-code-checker"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Code Checker?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides