MCP.so
登录

PyPI MCP Server

@JackKuo666

关于 PyPI MCP Server

暂无概览

基本信息

分类

其他

运行时

python

传输方式

stdio

发布者

JackKuo666

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "PyPI-MCP-Server": {
      "command": "python",
      "args": [
        "pypi_server.py"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is PyPI MCP Server?

PyPI MCP Server is an MCP server that provides a bridge to the PyPI package repository for AI assistants. It allows AI models to programmatically search Python packages and access their metadata, supporting features like retrieving package information, searching packages, viewing version history, and download statistics.

How to use PyPI MCP Server?

Clone the repository, install dependencies from requirements.txt, then run python pypi_server.py. The server communicates with MCP clients through standard input/output (stdio). Configuration for Claude Desktop is provided in claude_desktop_config.json.

Key features of PyPI MCP Server

  • Package Search: Query PyPI packages by keywords
  • Metadata Access: Get detailed metadata for specific packages
  • Version Information: Get all released versions of a package
  • Statistics Data: Get download statistics for packages
  • Efficient Retrieval: Fast access to package information

Use cases of PyPI MCP Server

  • An AI assistant searches for Flask package metadata
  • Retrieving detailed information about a specific package like requests
  • Getting information about a specific version of a package (e.g., Django 4.2.0)
  • Viewing all released versions of a package (e.g., NumPy)
  • Getting download statistics for a package (e.g., Pandas)

FAQ from PyPI MCP Server

What dependencies are required to run PyPI MCP Server?

Python 3.10+, httpx, BeautifulSoup4, mcp-python-sdk, and typing-extensions.

How does the server communicate with MCP clients?

Through standard input/output (stdio); no network port configuration is needed.

How can I integrate PyPI MCP Server with Claude Desktop?

Add a configuration entry to claude_desktop_config.json specifying the command as python and the script path (pypi_server.py) as the argument.

What MCP tools does the server expose?

get_package_info, search_packages, get_package_releases, and get_package_stats.

What license is PyPI MCP Server distributed under?

MIT.

评论

其他 分类下的更多 MCP 服务器