r

repology-mcp-server

@tschoonj/repology-mcp-server
Hosted
0 Stars 9 次浏览 tschoonj 更新于 2026-08-23

MCP server that provides access to Repology package repository data

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "ghcr.io/tschoonj/repology-mcp-server": {
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/tschoonj/repology-mcp-server:0.1.1"
      ],
      "command": "docker"
    },
    "repology-mcp-server": {
      "args": [
        "repology-mcp-server@0.1.1"
      ],
      "command": "uvx"
    }
  }
}

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

Repology MCP Server

<!- - mcp-name: io.github.tschoonj/repology-mcp-server - ->

CI
Docker
![Docker Image](https://img.shields.io/badge/docker-ghcr.io%2Ftschoonj%2Frepology- -mcp- -server-blue)
PyPI

A Model Context Protocol (MCP) server that provides access to the Repology package repository data through a standardized interface.

# Features

This MCP server exposes the following tools:

  • search_projects: Search for projects by name
  • get_project: Get detailed information about a specific project
  • list_projects: List projects with optional filtering
  • get_repository_problems: Get problems reported for repositories
  • get_maintainer_problems: Get problems reported for specific maintainers

# Installation

# # Using uv (recommended)

#  Install dependencies
uv sync

#  Install in development mode
uv pip install -e .

# # Using pip

pip install -e .

# Usage

# # As a standalone server

#  Run with stdio transport (for Claude Desktop, etc.)
repology-mcp-server

#  Run with HTTP transport
repology-mcp-server - -transport http - -port 8000

# # With Claude Desktop

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "repology": {
      "command": "uv",
      "args": ["run", "repology-mcp-server"]
    }
  }
}

Or using the pre-built Docker image:

{
  "mcpServers": {
    "repology": {
      "command": "docker",
      "args": ["run", "-i", "- -rm", "ghcr.io/tschoonj/repology-mcp-server:latest"]
    }
  }
}

# # With VS Code

Add to your VS Code settings (.vscode/settings.json or user settings):

{
  "mcp.servers": {
    "repology": {
      "command": "uv",
      "args": ["run", "repology-mcp-server"]
    }
  }
}

Or using the pre-built Docker image:

{
  "mcp.servers": {
    "repology": {
      "command": "docker",
      "args": ["run", "-i", "- -rm", "ghcr.io/tschoonj/repology-mcp-server:latest"]
    }
  }
}

# # As a development server

#  Run in development mode with MCP inspector
uv run mcp dev src/repology_mcp/server.py

# # Using Docker

# # # Pre-built images from GitHub Container Registry

#  Pull the latest image
docker pull ghcr.io/tschoonj/repology-mcp-server:latest

#  Run with stdio transport
docker run -i - -rm ghcr.io/tschoonj/repology-mcp-server:latest

#  Run with HTTP transport on port 8000
docker run - -rm -p 8000:8000 ghcr.io/tschoonj/repology-mcp-server:latest - -transport http - -port 8000

#  Use a specific version
docker pull ghcr.io/tschoonj/repology-mcp-server:1.0.0
docker run -i - -rm ghcr.io/tschoonj/repology-mcp-server:1.0.0

# # # Local development with Docker

#  Build the Docker image locally
docker build -t repology-mcp-server .

#  Run with stdio transport
docker run -i - -rm repology-mcp-server

#  Run with HTTP transport on port 8000
docker run - -rm -p 8000:8000 repology-mcp-server - -transport http - -port 8000

# Development

# # Setup

#  Clone the repository
git clone <repository-url>
cd repology-mcp-server

#  Install development dependencies
uv sync - -extra dev

# # Running tests

#  Run all tests
uv run pytest

#  Run with coverage
uv run pytest - -cov=repology_mcp - -cov-report=html

#  Run specific test file
uv run pytest tests/test_client.py -v

# # Code formatting

#  Format code
uv run black src tests
uv run isort src tests

#  Type checking
uv run mypy src

# API Reference

# # Tools

# # # search_projects

Search for projects by name substring.

Parameters:

  • query (string): Search term to match against project names
  • limit (integer, optional): Maximum number of results (default: 10, max: 100)

# # # get_project

Get detailed package information for a specific project.

Parameters:

  • project_name (string): Exact name of the project to retrieve

# # # list_projects

List projects with optional filtering.

Parameters:

  • start_from (string, optional): Project name to start listing from
  • limit (integer, optional): Maximum number of results (default: 10, max: 200)
  • maintainer (string, optional): Filter by maintainer email
  • category (string, optional): Filter by category
  • inrepo (string, optional): Filter by repository presence
  • notinrepo (string, optional): Filter by repository absence

# # # get_repository_problems

Get problems reported for a specific repository.

Parameters:

  • repository (string): Repository name (e.g., "freebsd", "debian")
  • start_from (string, optional): Project name to start from for pagination

# # # get_maintainer_problems

Get problems reported for packages maintained by a specific person.

Parameters:

  • maintainer (string): Maintainer email address
  • repository (string, optional): Limit to specific repository
  • start_from (string, optional): Project name to start from for pagination

# License

MIT License - see LICENSE file for details.

# Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Run the test suite
  6. Submit a pull request

相关 MCP 服务