drio
Open app

repo-template

Source

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

Catalog onlyCatalog onlySTDIO

Overview

The pypi-query-mcp-server is a Model Context Protocol (MCP) server designed for Python package intelligence, enabling structured queries for PyPI packages and GitHub repositories.

To use the pypi-query-mcp-server, set up the server by following the installation instructions in the repository, and then send structured queries to retrieve package information.

  • Dependency analysis for Python packages - Version tracking of packages - Retrieval of package metadata for LLM interactions
  1. Analyzing dependencies of Python projects
  2. Tracking the version history of specific packages
  3. Integrating package metadata into machine learning models

Add to your AI client

Use these steps to connect repo-template in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "pypi-query-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pypi-query-mcp-server-loonghao"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "pypi-query-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pypi-query-mcp-server-loonghao"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "pypi-query-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pypi-query-mcp-server-loonghao"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "pypi-query-mcp-server-loonghao": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pypi-query-mcp-server-loonghao"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "pypi-query-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pypi-query-mcp-server-loonghao"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "pypi-query-mcp-server-loonghao": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-pypi-query-mcp-server-loonghao"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP server?

The MCP server provides a structured way to query and analyze Python packages and their dependencies.

Is there any documentation available?

Yes! Documentation is available in the GitHub repository.

Can I contribute to the project?

Absolutely! Contributions are welcome, and you can find guidelines in the repository.