AlphaFold MCP server composing 8 biomedical sources into a local knowledge graph
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- !No standard license detected
claude mcp add alphafold-sovereign-mcp -- uvx alphafold-sovereign-mcp{
"mcpServers": {
"alphafold-sovereign-mcp": {
"command": "uvx",
"args": ["alphafold-sovereign-mcp"]
}
}
}MCP Servers overview
# AlphaFold Sovereign MCP
<!-- mcp-name: io.github.smaniches/alphafold-sovereign-mcp -->
Answering a structural-biology or variant question usually means querying
many public databases by hand — AlphaFold DB, Open Targets, ClinVar,
gnomAD, and more — and reconciling their formats. This server wraps those
sources behind one set of MCP tool calls that run as a local process on
your own machine, with no hosted service of ours in the path, no
telemetry, and a local SQLite knowledge graph that never leaves your disk.
In the default online mode the tools query those public upstreams
directly, so the identifiers you look up are sent to them (and one,
DisGeNET, needs its own free API key); set `ALPHAFOLD_OFFLINE=1` to refuse
outbound requests before any socket opens, so no identifier leaves the
machine (the knowledge-graph tools still answer from local data; the
upstream tools report their source as unavailable). "Sovereign" here means
local-first — your compute and stored results stay on your machine — not
that the server runs without a network.
A Model Context Protocol server — an AlphaFold MCP server — that
wraps AlphaFold DB and 8 other public biomedical data sources behind
a set of MCP tool calls, backed by a local SQLite knowledge graph with
query and export tools (results can be persisted through its API;
automatic per-invocation persistence is not yet wired).
This is an unfunded, independent open-source project. It is not a
service, not certified for any regulated use, and its outputs are
research aids that should be reviewed by qualified humans before any
clinical or regulatory use.
This project is not affiliated with, endorsed by, or sponsored by
Google DeepMind or EMBL-EBI. "AlphaFold" is a trademark of its
respective owner and is used here only to describe the public data
(the AlphaFold DB API) that this software consumes.
[](https://github.com/smaniches/alphafold-sovereign-mcp/actions/workflows/ci.yml)
[](https://smaniches.github.io/alphafold-sovereign-mcp/)
[](https://api.securityscorecards.dev/projects/github.com/smaniches/alphafold-sovereign-mcp)
[](https://github.com/smaniches/alphafold-sovereign-mcp/releases)
[](https://pypi.org/project/alphafold-sovereign-mcp/)
[](LICENSE)
[](pyproject.toml)
[](https://modelcontextprotocol.io)
[](https://github.com/smaniches/alphafold-sovereign-mcp/actions/workflows/ci.yml)
[](https://github.com/smaniches/alphafold-sovereign-mcp/actions/workflows/ci.yml)
[](https://orcid.org/0009-0005-6480-1987)
[](https://doi.org/10.5281/zenodo.20134773)
**Status:** Beta. Engineering-validated (100% line and branch
coverage). Not yet scientifically validated by
independent domain experts; not yet deployed in production. See
[`STATUS.md`](STATUS.md) and [`LIMITATIONS.md`](LIMITATIONS.md).
---
## What this is
A Python MCP server that:
- Wraps AlphaFold DB, MONDO, HPO, Open Targets, ClinVar, gnomAD,
DisGeNET, ChEMBL, and Ensembl behind MCP tool calls. Each call
is a thin orchestration over those upstreams; the server does not
add scientific judgement.
- Composes upstreams into multi-source workflows: variant
cross-reference reports, disease–target landscape summaries,
heuristic target-druggability scoring, drug-repurposing candidate
ranking, and cross-species structural-distance computation.
- Ships a local SQLite knowledge graph (`storage/knowledge_graph.py`)
with query, export, and traversal tools. It loads a curated boot
seed automatically when empty (`storage/seed.py`, 16 entities and 15
relationships; disable with `AFSMCP_DISABLE_KG_SEED=1`) and can be
extended by writing through the knowledge-graph API. There is no
automatic per-invocation persistence: the analysis tools do not write
to the store on their own.
- Includes a topological-data-analysis (TDA) module that computes
persistent-homology fingerprints (Betti numbers β₀, β₁, β₂) over
Vietoris-Rips filtrations of Cα coordinates, and an
L2-distance comparator between those fingerprint vectors. The full
persistent-homology features require the optional `[tda]` extra
(`gudhi`).
It targets `mcp-spec 2025-06-18` and runs on Python 3.10–3.13.
## What this is **not**
- It is **not** a hosted service or a SaaS.
- It is **not** certified for any regulated use (HIPAA, GxP, 21 CFR
Part 11, FedRAMP, FIPS, SOC 2). The code structures audit logging
in a way that could later support such a certification, but no
such audit has been performed.
- It does **not** train, fine-tune, or publish AlphaFold models — it
consumes AlphaFold DB's public REST API.
- The "ACMG/AMP criteria" that `generate_variant_clinical_report`
produces are a **draft surface** of the upstream evidence the
server can fetch automatically. They are not a substitute for
clinical-laboratory variant review.
- The "druggability tier" that `assess_target_druggability` returns is
a **heuristic** built from drug-precedent counts, Open Targets
tractability labels, pLDDT, and gnomAD constraint. It is not a
validated prediction.
- "Structural distance" between proteins is an L2 distance on
length-normalised TDA fingerprint vectors. It measures *topological*
similarity of the Cα point cloud. It is not a sequence similarity,
RMSD, optimal-transport Wasserstein distance, or
functional-equivalence measure.
- The AlphaFold structures consumed here are *predicted* models with
per-residue pLDDT confidence, not experimental structures. Low-pLDDT
regions are unreliable; some proteins (BRCA1 among them) are largely
low-confidence, and structural inference over those regions should
be treated with caution.
For a complete, itemised list of known limitations (with module
references, impact, and planned resolution), see [`LIMITATIONS.md`](LIMITATIONS.md).
For the high-level posture — what is engineering-validated vs. what is
not yet scientifically validated — see [`STATUS.md`](STATUS.md).
---
## Install
### From PyPI (recommended)
```bash
pip install alphafold-sovereign-mcp
```
Or run it without installing using `uvx`:
```bash
uvx alphafold-sovereign-mcp
```
Every release on PyPI is built by the `release.yml` workflow under
OIDC Trusted Publishing and attached to a signed GitHub Release with
Sigstore (`cosign`) signature bundles, a CycloneDX SBOM, and a Zenodo
DOI mirror. SLSA L3 build provenance is generated in CI by
`slsa-github-generator`; attaching the attestation to each release is a
roadmap item. `scripts/replicate.sh` checks the published PyPI wheel hash
and the presence of the release SBOM and provenance; verifying the
`cosign` signature bundles with `cosign verify-blob` is not yet wired into
the script (roadmap).
### From source
```bash
git clone https://github.com/smaniches/alphafold-sovereign-mcp
cd alphafold-sovereign-mcp
uv pip install -e .
# With persistent-homology TDA (requires gudhi):
# uv pip install -e ".[tda]"
```
### Verify the install
```console
$ alphafold-sovereign --version
1.2.2
$ alphafold-sovereign --self-test
SELF-TEST PASS - ACMG helpers behave as expected on the BRCA1 c.5266dupC fixture.
```
If you ran it via `uvx` without installing, use
`uvx alphafold-sovereign-mcp --self-test` instead (the bare
`alphafold-sovereign` script is only on PATH after a pip/uv install).
`--self-test` runs fully offline: it checks the deterministic ACMG-evidence
helpers (VEP, gnomAD, and AlphaMissense mapped to ACMG criteria) against a
built-in `BRCA1:c.5266dupC` fixture. Returns exit code 0 on PASS, non-zero on
FAIL. No network calls, no credentials required.
### Configure Claude Desktop
Add to `claude_desktop_config.json`:
```json
{
"mcpServers": {
"alphafold-sovereign": {
"command": "alphafold-sovereign-mcp",
"args": []
}
}
}
```
Restart Claude Desktop and the tools become available in conversations.
Try asking, for example: *"Triage BRCA1 c.5266dupC"* or *"Assess EGFR
as a drug target"*. See the [`examples/`](examples/) directory for three end-to-end
illustrations of what a session looks like.
### Offline mode
```bash
ALPHAFOLD_OFFLINE=1 alphafold-sovereign-mcp
```
Refuses outbound HTTP before a socket is opened (raising `AirGapError`), except to hosts you explicitly allowlist via `ALPHAFOLD_ALLOW_HOSTS`. The knowledge-graph query and export tools still answer from the local SQLite store. The upstream-querying tools have no local cache and report their source as unavailable; note that the structure tools currently surface this as a "no AlphaFold model" result rather than an explicit offline error.
---
## Tool inventory
The server exposes 29 MCP tools across four modules. Each tool's
input schema is a Pydantic model; results are JSON.
### Disease & ontology (`tools/disease.py`)
| Tool | What it does |
|---|---|
| `lookup_disease` | MONDO record + hierarchy + ICD cross-references |
| `search_diseases` | Full-text MONDO ontology search |
| `lookup_phenotype` | HPO term + associated diseases |
| `get_gene_phenotype_profile` | HPO phenotypes + gnWhat people ask about alphafold-sovereign-mcp
What is smaniches/alphafold-sovereign-mcp?
+
smaniches/alphafold-sovereign-mcp is mcp servers for the Claude AI ecosystem. AlphaFold MCP server composing 8 biomedical sources into a local knowledge graph It has 3 GitHub stars and was last updated today.
How do I install alphafold-sovereign-mcp?
+
You can install alphafold-sovereign-mcp by cloning the repository (https://github.com/smaniches/alphafold-sovereign-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is smaniches/alphafold-sovereign-mcp safe to use?
+
Our security agent has analyzed smaniches/alphafold-sovereign-mcp and assigned a Trust Score of 62/100 (tier: OK). See the full breakdown of passed checks and flags on this page.
Who maintains smaniches/alphafold-sovereign-mcp?
+
smaniches/alphafold-sovereign-mcp is maintained by smaniches. The last recorded GitHub activity is from today, with 4 open issues.
Are there alternatives to alphafold-sovereign-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy alphafold-sovereign-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/smaniches-alphafold-sovereign-mcp)<a href="https://claudewave.com/repo/smaniches-alphafold-sovereign-mcp"><img src="https://claudewave.com/api/badge/smaniches-alphafold-sovereign-mcp" alt="Featured on ClaudeWave: smaniches/alphafold-sovereign-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。