serverdex
A tiny Python client for Serverdex — the directory of Model Context Protocol (MCP) servers. Serverdex indexes 60,000+ MCP servers from the official registry, with install configs, GitHub signals and category rankings.
No API key, no dependencies (standard library only).
Install
pip install serverdex
Use
import serverdex
# Search the directory
for s in serverdex.search("postgres", limit=5):
print(s["name"], "—", s["url"])
# Filter by category and sort by stars
serverdex.search(category="databases", sort="stars", limit=10)
# Get one server by slug (from a serverdex.io/server/<slug> URL)
server = serverdex.get("io-github-ccxt-ccxt-mcp")
print(server["description"], server["repository_url"])
# List categories with live server counts
for c in serverdex.categories():
print(c["name"], c["servers"])
Or with an explicit client:
from serverdex import Client
client = Client()
results = client.search("calendar", sort="new", limit=20)
API
search(query=None, *, category=None, sort=None, limit=10, page=1)— list of server dicts.get(slug)— one server's full details.categories()— categories with live counts.
Backed by the public Serverdex API at https://serverdex.io/api/v1. Browse the directory at serverdex.io.
License
MIT
Metadata
Release files for serverdex 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serverdex-0.1.0.tar.gz | 3.9 kB | With provenance | Details for serverdex-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serverdex-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for serverdex-0.1.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / serverdex-0.1.0.tar.gz
| Download URL | serverdex-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9edf595b669aa5ba0bf1d446712d73dcd58e0b1a7b683b6c667809ce2f06e01
|
|
BLAKE2b-256 checksum How to use checksums |
8edcd8d5bc7b671e38b1a218f18a53774da340c5ec08005ffe1486684309b4f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / serverdex-0.1.0-py3-none-any.whl
| Download URL | serverdex-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
715cb7f5be99ddcca696f2011710d6ed143ca270bb4feb7c3129c7cf033cc9f1
|
|
BLAKE2b-256 checksum How to use checksums |
dae05c8fdcaea1ce2b024f47b55cb347d18fad881193fa50af71556805c29692
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for serverdex 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for serverdex-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.