MCP·2222E0
H

python-mcp

By hesiod-au·Visit Source
用于代码图提取与分析的Python MCP服务器
2025年4月18日
Today
11 Clicks
About python-mcp

用于代码图提取与分析的Python MCP服务器. python-mcp is a Model Context Protocol (MCP) server maintained by hesiod-au. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 1 tool, including get_python_code, that an agent can call directly. It is categorized under Tool/Python and AI/Development.

什么是这个MCP

该MCP服务器提供用于提取和分析Python代码结构的工具,重点关注文件间的导入/导出关系。这是一个轻量级实现,兼容模型上下文协议(Model Context Protocol) JSON-RPC标准。

如何使用这个MCP

可通过pip安装服务器,并使用环境变量进行配置。它暴露了一个get_python_code工具,用于分析目标文件及其依赖项,返回为LLM格式化的结构化代码数据。

这个MCP的用途

该工具非常适合AI辅助开发、代码理解和上下文感知编程辅助。通过提供相关代码片段并遵守token限制,它能帮助语言模型处理Python代码库。

Repository Info
Stars:
7
Forks:
4
Watchers:
7
Last Updated: 1 month ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the python-mcp MCP server?

python-mcp is a Model Context Protocol server from hesiod-au. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect python-mcp to my AI client?

Add python-mcp to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

What tools does python-mcp provide?

python-mcp provides 1 tool: get_python_code.

Is python-mcp free to use?

python-mcp is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.