Skip to main content

A Model Context Protocol (MCP) search server

Project description

Search MCP Server

A Model Context Protocol (MCP) server that enables searching and discovering existing MCP servers from the official GitHub repository.

Author: Krzysztof Kućmierz
Email: krzysztof.kucmierz@artificiuminformatica.pl
Repository [https://github.com/krzysztofkucmierz/search-mcp-server]

Features

  • Search MCP Servers: Find relevant MCP servers by name, description, or category
  • Dynamic Data: Live scraping from https://github.com/modelcontextprotocol/servers
  • Fast & Cached: Configurable caching (default: 6 hours) for optimal performance

Tools & Resources provided by server

  • Tools: search_mcp_servers(query, category), get_mcp_server_categories()
  • Resources: mcp://servers/list, mcp://servers/categories

Installation and usage - quick start

pip install uv
uv venv
source .venv/bin/activate
uv pip install search-mcp-server
search-mcp-server --sse # see available command line options in next sections

Installation and usage - details

Install uv (fast Python package manager)

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Or with pip
pip install uv

uv venv
source .venv/bin/activate

Install MCP server from PyPi.org

uv pip install search-mcp-server

Start the MCP server

search-mcp-server --sse

Command Line Options

  • --sse: Start in SSE mode instead of stdio mode
  • --port PORT: Port for SSE mode (default: 8000)
  • --cache-timeout SECONDS: Cache timeout in seconds (default: 21600 = 6 hours)
  • --help: Displays available options

use --sse when you want other apps to connect over HTTP; omit it to run in stdio mode where the client must start the process.

Add MCP server to your IDE (example for VSCode)

If you run the server with --sse, point your client (or VSCode MCP extension) to the SSE URL (here it is http://127.0.0.1:8000/sse). Add the following minimal JSON to the mcp.json file:

{
    "servers": {
        "Search MCP server": { "url": "http://127.0.0.1:8000/sse", "type": "http" }
    },
    "inputs": []
}

Make sure it is in "Running" state. "Start" or "Restart" if needed.

Development

Fork the repository [https://github.com/krzysztofkucmierz/search-mcp-server]

git clone https://github.com/<your-account>/search-mcp-server.git
cd search-mcp-server
uv sync

Usage

Note: the server script mcp_server.py lives in the repo root — run it directly as shown below. If you install the package, the search-mcp-server entry point (configured in pyproject.toml) will also be available.

# SSE mode (recommended) — exposes an HTTP/SSE endpoint
uv run python mcp_server.py --sse

# Custom port and cache timeout
uv run python mcp_server.py --sse --port 8001 --cache-timeout 3600

# Stdio mode (for MCP clients that spawn the process)
uv run python mcp_server.py

Code quality tools

# Code quality
uv run ruff check --fix .
uv run mypy mcp_server.py

# Run server
uv run python mcp_server.py --sse

Debugging with MCP Inspector

npx @modelcontextprotocol/inspector uv run python mcp_server.py --sse

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

search_mcp_server-0.2.0.tar.gz (56.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

search_mcp_server-0.2.0-py3-none-any.whl (61.7 kB view details)

Uploaded Python 3

File details

Details for the file search_mcp_server-0.2.0.tar.gz.

File metadata

  • Download URL: search_mcp_server-0.2.0.tar.gz
  • Upload date:
  • Size: 56.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for search_mcp_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6264b1d51cff778fa1fb15575c320825b2018c4c05bde8ac9d0ca2f50edc7816
MD5 6840b09416140852d4415fc5ae253add
BLAKE2b-256 0514e0e56d1eaf68ce177afaebf6d3746dabfe2ddaf3831075430481676ea593

See more details on using hashes here.

File details

Details for the file search_mcp_server-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for search_mcp_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e88439d0d4143a90cc5bd32c8f6b93f3086a38371e1ea8889f8af8383c05f6a
MD5 9187268f70bc2acc5d54de8fe1945cf7
BLAKE2b-256 1357a726c01911bf851dca164e5e6828596c90c89848d24c924eb6751fea78f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page