Pylint MCP
An MCP server that runs pylint on a given file
Features
- lint: Check a python file for syntactic errors using pylint.
Prerequisites
- Python: Version 3.10 or greater
- uv: Package and dependency manager for Python projects.
Installation
- Install Dependencies:
Add the required dependencies using
uv:uv sync
Usage
Running the Server
Start the FastMCP server in development mode:
uv run mcp dev cli.py
Installing to Claude Desktop
Install the server as a Claude Desktop application:
uv run mcp install cli.py --name "pylint"
Configuration file as a reference:
{
"mcpServers": {
"pylint": {
"command": "uvx",
"args": [ "pylint-mcp" ]
}
}
}
Available Tools
lint
Check a python file for syntactic errors using pylint.
Parameters:
filename(str): The python source file to check for syntactic errors.
Example:
Check
example.pyfor syntactic errors
Output:
[
{
"type": "convention",
"module": "example.cli",
"obj": "",
"line": 31,
"column": 0,
"endLine": null,
"endColumn": null,
"path": "example.py",
"symbol": "line-too-long",
"message": "Line too long (204/100)",
"message-id": "C0301"
},
{
"type": "error",
"module": "example.cli",
"obj": "",
"line": 1,
"column": 0,
"endLine": 1,
"endColumn": 17,
"path": "example.py",
"symbol": "import-error",
"message": "Unable to import 'mcp'",
"message-id": "E0401"
}
]
License
This project is licensed under the MIT License. See the COPYING file for details.
Metadata
Release files for pylint-mcp 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylint_mcp-0.1.2.tar.gz | 2.7 kB | Without provenance | Details for pylint_mcp-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylint_mcp-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pylint_mcp-0.1.2-py3-none-any.whl |
Total release size: 6.3 kB
Release files / pylint_mcp-0.1.2.tar.gz
| Download URL | pylint_mcp-0.1.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ab6030d323a20a710928200f65bf8196b35e60f6975b3ef3f7dc12901a41309
|
|
BLAKE2b-256 checksum How to use checksums |
4f48de3a7ec46151fca23dff1db2fdc3a79c78cf0eb41dbd134cda694509fe74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.2 Darwin/24.5.0
|
Release files / pylint_mcp-0.1.2-py3-none-any.whl
| Download URL | pylint_mcp-0.1.2-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d2dfeef0669f821dae1d2b2e907dab2c2696818680e5adc36349821d6430dc9
|
|
BLAKE2b-256 checksum How to use checksums |
a77838a60cc2c064345354e28b12697101584039ffb194678e2a04e124c6faad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.13.2 Darwin/24.5.0
|
Security for pylint-mcp 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.