Skip to content

v0.2.0

Choose a tag to compare

@alejoair alejoair released this 30 Apr 02:39
· 19 commits to main since this release

python-code-mcp v0.2.0

What's New

5 LSP-powered MCP tools for Python code intelligence via ty:

Tool Description
hover Get type information for any symbol (0-indexed positions)
type_check Check a Python file for type errors
find_definition Jump to where a symbol is defined (cross-file)
find_references Find all usages of a symbol across the codebase
rename_symbol Rename a symbol atomically across all files

Other additions:

  • python-code-mcp install — CLI command to register the server in Claude Code
  • Project files are preloaded at startup (respects .gitignore)
  • Files are auto-opened on first tool call if not already loaded
  • SYSTEM_PROMPT.md — Senior SWE agent system prompt for effective tool usage
  • testmod/ — Sample Python module for cross-file tool testing

Dependencies

  • Python >= 3.14
  • fastmcp 3.2.4
  • ty 0.0.33

Installation

pip install python-code-mcp
python-code-mcp install