uniprot-mcp-server
MCP server by cyanheads Community
Searches UniProtKB for protein research, fetching curated records, mapping identifiers across databases, and pulling proteomes, taxonomy, and sequences. Aimed at researchers who work with protein data through an AI assistant.
Install uniprot-mcp-server
Built from the published package, never by AI.
claude mcp add uniprot-mcp-server -- npx -y @cyanheads/uniprot-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"uniprot-mcp-server": {
"args": [
"-y",
"@cyanheads/uniprot-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"uniprot-mcp-server": {
"args": [
"-y",
"@cyanheads/uniprot-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"uniprot-mcp-server": {
"args": [
"-y",
"@cyanheads/uniprot-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add uniprot-mcp-server -- npx -y @cyanheads/uniprot-mcp-server{
"mcpServers": {
"uniprot-mcp-server": {
"args": [
"-y",
"@cyanheads/uniprot-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add uniprot-mcp-server npx -y @cyanheads/uniprot-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the uniprot-mcp-server block.
About
uniprot-mcp-server gives AI assistants access to UniProtKB, the protein database. It can search by protein function or gene, fetch curated entries by accession in batches of up to 20, and map identifiers between databases such as Ensembl, ChEMBL, RefSeq, PDB and GeneID. It also pulls reference proteomes, taxonomy records and canonical sequences in FASTA format.
It runs over STDIO or Streamable HTTP, and a public hosted server is also available. It is written for protein researchers who need curated, evidence-backed records. Search defaults to reviewed Swiss-Prot entries, and results are cursor-paginated. It is built on @cyanheads/mcp-ts-core and ships with an agent skill covering protein identity and mapping completeness.
Written from the project's README and checked against it.
Tools it gives your assistant
uniprot_search_proteinsSearches UniProtKB by plain text or a Lucene field query, with optional facet counts.uniprot_get_entryFetches full curated entries by accession, up to 20 per call.uniprot_map_idsTranslates identifiers across databases such as Ensembl, RefSeq, ChEMBL, PDB and GeneID.uniprot_get_proteomeFetches a reference proteome by UPID or NCBI taxon ID, with optional protein listing.uniprot_get_taxonomyResolves a taxonomy record by NCBI taxon ID or organism name, with full lineage.uniprot_get_sequenceFetches the canonical amino-acid sequence in FASTA format, optionally with isoforms.uniprot_protein_dossierGuides a workflow that resolves an identifier, fetches the entry, and surfaces cross-references.
What you need
- Node.js (npx install)
- Docker (optional install method)
| Setting | Needed | What it is |
|---|---|---|
MCP_Environment variable | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). Default: info |
UNIPROT_Environment variable | Optional | UniProt REST base URL. Override for a private mirror or testing. Default: https://rest.uniprot.org |
UNIPROT_Environment variable | Optional | Per-request HTTP timeout in milliseconds. Default: 30000 |
UNIPROT_Environment variable | Optional | Milliseconds uniprot_map_ids polls a mapping job — a fresh submission and a ticket call alike — before returning a resumable ticket. Keep it below UNIPROT_TIMEOUT_MS. The whole call, results read included, ends within 50 seconds. Default: 8000 |
UNIPROT_Environment variable | Optional | Page size (1–500) for search and proteome protein listing when the caller leaves size unset. Default: 25 |
UNIPROT_Environment variable | Optional | Serve an over-the-cap size (search, proteome, ID mapping) at 500 with a notice, accept any section_limit, and accept up to 500 accessions on uniprot_get_entry (the first 20 distinct fetched, the rest deferred). Set false to reject them inst Default: true |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Search reviewed human proteins involved in DNA repair
- Map these gene names to UniProt accessions for mouse
- Fetch the full UniProt entry for P04637 and summarize its disease links
Good to know
- Search returns reviewed Swiss-Prot entries only unless reviewed is set to false.
- Entry lookups accept up to 20 accessions per call.
- Jobs above UniProt's 100,000-mapping enrichment limit get no enrichment, though they stay pageable.
- Proteome protein listings come back as a capped page.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to uniprot-mcp-server
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
uniprot-mcp-server: common questions
Which databases can the ID mapping tool translate between?
The source names gene names, Ensembl, RefSeq, ChEMBL, PDB, GeneID and UniProtKB accessions. Unknown database names fail before any request is sent.
Does search include unreviewed TrEMBL entries?
Not by default. The reviewed option defaults to true, which limits results to Swiss-Prot. Setting it to false searches both tiers.
Can it run over HTTP as well as locally?
Yes. The server supports STDIO and Streamable HTTP, and a public hosted server is listed at uniprot.caseyjhand.com/mcp.
How do I install uniprot-mcp-server?
In Claude Code run claude mcp add uniprot-mcp-server -- npx -y @cyanheads/uniprot-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is uniprot-mcp-server the official server?
uniprot-mcp-server is a community project by cyanheads, not verified by a company domain.
Is uniprot-mcp-server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is uniprot-mcp-server safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to uniprot-mcp-server?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does uniprot-mcp-server work with ChatGPT?
Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.
