Lookup MCP servers in the official MCP Registry by name or URL.
Project description
mcp-lookup
Lookup MCP servers across the official MCP Registry and Smithery from one CLI and Python library. Stdlib-only, no runtime dependencies.
Why
Tools that need to enrich raw MCP server detections — e.g. a security dashboard that catalogs which MCP servers developers are running, an IDE assistant that needs canonical install metadata, or an SBOM pipeline — typically resort to HTML-scraping third-party catalogs because most registries don't expose a clean JSON API.
mcp-lookup wraps the two main MCP catalogs (registry.modelcontextprotocol.io and api.smithery.ai) behind a tiny, stable interface. It gives you:
- Canonical server metadata by name or repo URL: description, publisher namespace, version, packages (
npm/pypi/docker), and remote transports (stdio/sse/streamable-http). - Two-source aggregation:
searchreturns results from both the registry and Smithery, each labeled by source.getprefers the registry (canonical) and falls back to Smithery automatically. - Authoritative tool lists: Smithery entries include the server's
tools[]with input schemas, which the registry does not expose. - URL → name resolution: hand it a
https://github.com/owner/repo(or a vendor domain) and it finds the registered server entry. - Verified publisher signal for free: registry namespace prefixes (
io.github.<user>/…,<domain>/…) are cryptographically verified; Smithery entries carry averifiedflag. - Icon derivation: returns a usable icon URL for every server — Smithery's own
iconUrlwhen available, GitHub owner avatars for repo-backed servers, DuckDuckGo favicons for vendor-hosted remotes. - Subprocess-friendly: designed to be called from a backend service to replace fragile HTML scrapers. Outputs stable JSON with
--json.
Typical callers:
- Dev-tool discovery agents that detect local MCP configs and want enrichment
- Security / DLP platforms classifying MCP servers by publisher and risk
- Registry-aware IDE extensions
- CI jobs validating MCP server manifests
Install
pip install mcp-lookup
Or from source:
git clone <repo-url>
cd mcp-lookup
pip install -e .
CLI
# Search across both sources
mcp-lookup search github --limit 5
mcp-lookup search https://github.com/owner/repo
mcp-lookup search github --json # machine-readable
# Get a single record (registry first, Smithery fallback)
mcp-lookup get app.linear/linear --pretty
mcp-lookup get https://github.com/owner/repo --pretty
mcp-lookup get ai.smithery/<name> --version 1.2.3
# Restrict to one source
mcp-lookup --source registry search linear
mcp-lookup --source smithery get linear --pretty # includes tools[] with descriptions
# Icon derivation
mcp-lookup icon app.linear/linear
mcp-lookup get app.linear/linear --with-icon # injects icon_url into JSON output
Exit codes: 0 success, 1 no results, 2 registry/network error.
Library
from mcp_lookup import Aggregator, RegistryClient, SmitheryClient, derive_icon_url
# Combined (default)
agg = Aggregator()
results = agg.search("linear", limit=5) # merged from both sources
entry = agg.get("app.linear/linear") # registry first, Smithery fallback
# Single source
registry_only = agg.get("app.linear/linear", source="registry")
smithery_only = agg.get("linear", source="smithery") # includes tools[] list
# Direct clients
RegistryClient().get("app.linear/linear")
SmitheryClient().get("linear")
# Icon helper
icon_url = derive_icon_url(entry)
Contributing
Contributions are very welcome — this is an open project and we'd love help from the MCP community.
Good first areas to contribute:
- Additional sources (PulseMCP, mcp.so, GitHub topic fallback) behind the existing provider interface
- Live
tools/listprobing so registry-only entries can return authoritative tool lists - Local caching (SQLite or file-based) with TTL +
--refresh - Fuzzy name resolution and cross-source deduping improvements
- Tests and CI coverage
To contribute:
- Fork the repo and create a feature branch.
- Keep changes small and focused; match the existing stdlib-only style unless a dependency is strongly justified.
- Open a pull request describing the motivation and include a quick before/after example where relevant.
Issues and feature requests are equally welcome — file them on GitHub.
License
Released under the MIT License. By contributing, you agree that your contributions will be licensed under the same terms.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_lookup-0.3.0.tar.gz.
File metadata
- Download URL: mcp_lookup-0.3.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd2ad5033b5447b7469b8c96d4089ed5de629cb141c41a0875f4e8ea83d4c5ae
|
|
| MD5 |
914868802d2bbaf4e267ed0e93d97617
|
|
| BLAKE2b-256 |
6a3cd42d612ad60e024574de5ea0b11b9dd57053682be6a9f92190e128dabfb0
|
Provenance
The following attestation bundles were made for mcp_lookup-0.3.0.tar.gz:
Publisher:
publish.yml on websentry-ai/mcp-lookup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_lookup-0.3.0.tar.gz -
Subject digest:
bd2ad5033b5447b7469b8c96d4089ed5de629cb141c41a0875f4e8ea83d4c5ae - Sigstore transparency entry: 1311766059
- Sigstore integration time:
-
Permalink:
websentry-ai/mcp-lookup@e28aa1931237a2cf6ded583a832e3b3661ccb295 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/websentry-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e28aa1931237a2cf6ded583a832e3b3661ccb295 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_lookup-0.3.0-py3-none-any.whl.
File metadata
- Download URL: mcp_lookup-0.3.0-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ef06e9ed8766429f47f2f0cafc2f47366f3ae00baeafc96336778a7a4ff720a
|
|
| MD5 |
3fa8f9da328bf74c9746e7e44cc3addf
|
|
| BLAKE2b-256 |
02bfa742c682f3936277893d4dff6707a820fc25c4f1ef203cba9f3c6fc8e167
|
Provenance
The following attestation bundles were made for mcp_lookup-0.3.0-py3-none-any.whl:
Publisher:
publish.yml on websentry-ai/mcp-lookup
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_lookup-0.3.0-py3-none-any.whl -
Subject digest:
6ef06e9ed8766429f47f2f0cafc2f47366f3ae00baeafc96336778a7a4ff720a - Sigstore transparency entry: 1311766151
- Sigstore integration time:
-
Permalink:
websentry-ai/mcp-lookup@e28aa1931237a2cf6ded583a832e3b3661ccb295 -
Branch / Tag:
refs/tags/0.3.0 - Owner: https://github.com/websentry-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e28aa1931237a2cf6ded583a832e3b3661ccb295 -
Trigger Event:
release
-
Statement type: