MCP Code Checker
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.
Overview
MCP Code Checker is a Model Context Protocol (MCP) server that provides code quality checking operations, enabling AI assistants to perform quality checks on code within a specified project directory.
To use MCP Code Checker, clone the repository, set up a virtual environment, install dependencies, and run the server with the command: python -m src.main --project-dir /path/to/project. You can also configure it to work with AI assistants like Claude.
- Run pylint checks to identify code quality issues. - Execute pytest to identify failing tests. - Generate smart prompts for LLMs to explain issues and suggest fixes. - Combine multiple checks for comprehensive code quality analysis.
- Identifying and fixing code quality issues in Python projects.
- Running automated tests to ensure code reliability.
- Enhancing debugging workflows by integrating AI assistance.
Add to your AI client
Use these steps to connect MCP Code Checker in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-code-checker-python-marcusjellinghaus": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-code-checker-python-marcusjellinghaus"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-code-checker-python-marcusjellinghaus": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-code-checker-python-marcusjellinghaus"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-code-checker-python-marcusjellinghaus": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-code-checker-python-marcusjellinghaus"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-code-checker-python-marcusjellinghaus": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-code-checker-python-marcusjellinghaus"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-code-checker-python-marcusjellinghaus": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-code-checker-python-marcusjellinghaus"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-code-checker-python-marcusjellinghaus": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-code-checker-python-marcusjellinghaus"
]
}
}
}FAQ
Can MCP Code Checker be used with any Python project?
Yes! It can be used with any Python project by specifying the project directory.
Is there a graphical interface for MCP Code Checker?
No, it operates via command line and integrates with AI assistants for enhanced functionality.
What is the license for MCP Code Checker?
It is licensed under the MIT License.