Listed from the MCP registry; nobody on Odel publishes it.
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx mcp-pyright
MCP client config
{
"mcpServers": {
"pyright": {
"command": "uvx",
"args": [
"mcp-pyright"
]
}
}
}MCP server that exposes Pyright language server functionality
mcp-name: io.github.daedalus/mcp-pyright
pip install mcp-pyright
The MCP server can be used with any MCP-compatible client. It exposes the following tools:
from mcp_pyright import mcp
# Run type checking
result = check_types(code="x: int = 'hello'")
# Get type information at position
result = get_hover(code="x: int = 1", position=0)
# Get code completions
result = get_completions(code="prin", position=4)
# Find definition location
result = get_definition(code="def foo(): pass\nfoo()", position=15)
# Find all references
result = find_references(code="x = 1\nx", position=5)
# Get all symbols in document
result = get_document_symbols(code="class Foo: pass\ndef bar(): pass")
# Format Python code
result = format_code(code="x=1\ny=2")
git clone https://github.com/daedalus/mcp-pyright.git
cd mcp-pyright
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
MIT