STRING Database MCP server
Commit 27. Okt. 2026Ermöglicht es AI-Agents, Protein-Interaktionsnetzwerke, funktionelle Anreicherungen, Homologie-Suchen und kuratierte Protein-Annotationen abzufragen.
Auch bekannt als meringlab/string-mcp, string-mcp
- Stars
- 8
- Tools
- —
- Downloads, 30 Tage
- —
- Neueste Version
- 1.13.1
- Letzter Commit
- 27. Okt. 2026
- Lizenz
- MIT
Was ist STRING Database MCP?
Ermöglicht es AI-Agents, Protein-Interaktionsnetzwerke, funktionelle Anreicherungen, Homologie-Suchen und kuratierte Protein-Annotationen abzufragen.
Zusammenfassung generiert aus dem README des Projekts
Über STRING Database MCP server
Dieser Server ermöglicht es, Protein-Interaktionsnetzwerke und funktionelle Annotationen direkt aus einem AI-Agent heraus abzufragen. Er bietet eine strukturierte Schnittstelle für Forscher, um auf die STRING-Datenbank zuzugreifen, was Homologie-Suchen, funktionelle Anreicherungsanalysen und den Abruf kuratierter Protein-Metadaten erlaubt. Der Server ist speziell darauf ausgelegt, das Datenvolumen und die Struktur so zu verwalten, dass sie in die Reasoning-Limits von Large Language Models passen, wodurch sichergestellt wird, dass die Antworten prägnant und für Agents leicht zu parsen sind.
Entwickler können dies als lokalen Server mit Python 3.11 oder via Docker bereitstellen, wobei die Kommunikation über Standard Input/Output oder HTTP erfolgt. Er ist auch als gehosteter Remote-Endpoint verfügbar. Nutzer können Einstellungen wie Verbosity und Base URLs über eine JSON-Config-Datei konfigurieren. Zu den verfügbaren Tools gehören das Auflösen von Protein-Identifikatoren, das Clustern von Interaktionsnetzwerken und das Abfragen von Proteinen nach spezifischen biologischen Funktionen, Krankheiten oder Pathways wie GO, KEGG und Reactome.
Was du damit machen kannst
- 1Funktionelle Anreicherungsanalysen durchführenFordere eine funktionelle Anreicherungsanalyse an, inklusive der Erstellung von Enrichment-Plots.
- 2Proteine nach Krankheit oder Funktion identifizierenSuche nach Proteinen, die mit spezifischen Krankheiten oder biologischen Pathways wie KEGG oder Reactome assoziiert sind.
- 3Homologie-Suchen durchführenNutze den Agent, um homologe Proteine über verschiedene Spezies hinweg zu finden.
Geschrieben aus dem README des Projekts. Jeder Use Case wurde gegen ein Zitat daraus geprüft.
So installierst du STRING Database MCP
Formate geprüft am 10. Nov. 2026Zu Cursor hinzufügenZu Goose hinzufügenSTRING Database MCP in Claude Code installieren
$ claude mcp add --transport http string-mcp https://mcp.string-db.org/STRING Database MCP in Cursor installieren
~/.cursor/mcp.json
{
"mcpServers": {
"string-mcp": {
"url": "https://mcp.string-db.org/"
}
}
}STRING Database MCP in VS Code installieren
.vscode/mcp.json
{
"servers": {
"string-mcp": {
"type": "http",
"url": "https://mcp.string-db.org/"
}
}
}STRING Database MCP in VS Code CLI installieren
$ code --add-mcp '{"name":"string-mcp","type":"http","url":"https://mcp.string-db.org/"}'STRING Database MCP in Codex installieren
$ codex mcp add string-mcp --url https://mcp.string-db.org/STRING Database MCP in Codex config.toml installieren
~/.codex/config.toml
[mcp_servers.string-mcp] url = "https://mcp.string-db.org/"
STRING Database MCP in Gemini CLI installieren
$ gemini mcp add -s user --transport http string-mcp https://mcp.string-db.org/STRING Database MCP in Gemini settings.json installieren
~/.gemini/settings.json
{
"mcpServers": {
"string-mcp": {
"url": "https://mcp.string-db.org/",
"type": "http"
}
}
}Automatisierte Checks
Geluften am 14. Nov. 2026Vollständiger Bericht →Noch nicht verifiziert. Ein Server benötigt einen Score von 80, keine kritischen Befunde und genug Daten für unsere Prüfung. Wie die Checks funktionieren · Was du für mehr Punkte verbessern kannst
- Source Repository verknüpft und erreichbarmeringlab/string-mcp is public and reachablegithub.com/meringlab/string-mcp ↗Bestanden
- Paket nennt dieses Repository als QuelleNicht geprüft
- Build-Provenienz (Sigstore-Attestierung)Nicht geprüft
- Open Source Lizenz (OSI)MITspdx.org/licenses/MIT.html ↗Bestanden
- Commit oder Release im letzten JahrLast commit or release 2026-10-27github.com/meringlab/string-mcp ↗Bestanden
- OpenSSF ScorecardNicht geprüft
- Package-Name ähnelt keinem populären PackageNicht geprüft
- Keine kritischen Advisories im Paket oder seinen AbhängigkeitenNicht geprüft
- Keine versteckten Anweisungen an das Modell0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersBestanden
- Destruktive Tools sind markiertNicht geprüft
- Remote-Endpoint beantwortet den MCP-Handshakeinitialize answered with protocol 2025-06-18 in 67 msBestanden
README
Auf GitHub ansehenOfficial STRING Database MCP Server
Exposes STRING database functionality as a Model Context Protocol (MCP) server.
This implementation allows AI agents and other MCP-compatible clients to access STRING data through a structured and self-describing interface.
It is built on top of the STRING API but adapted specifically for model-based use, with emphasis on conciseness and context efficiency. The server controls the amount and type of data so that responses stay within the reasoning limits of large language models. It also adapts the structure and adds metadata to support more consistent parsing and interpretation by agentic systems.
The server is also available as a hosted remote MCP endpoint at https://mcp.string-db.org.
For a live demonstration of MCP capabilities, see STRING Chat.
For reproducible workflows and large-scale integration, use the STRING API.
For agentic workflows, use the optional agent skill at skills/string-database/SKILL.md.
Features
- Resolve protein identifiers to STRING metadata
- Retrieve interaction networks
- Cluster and visualize interaction networks
- Perform homology lookups across species
- Access evidence links for protein–protein interactions
- Run functional enrichment analysis (including enrichment plots)
- Get curated functional annotations for proteins
- Query proteins by function or disease (GO, KEGG, Reactome, DISEASES etc.)
Requirements
- Python ≥ 3.11 (with Python 3.10, optional parameter descriptions are misplaced in the tool schemas)
- Dependencies (see
requirements.txt):fastmcp==2.14.7mcp==1.29.0httpx>=0.28,<0.29pydantic>=2.11,<3.0
Note: If the server crashes on startup, it is very likely due to an incompatible FastMCP version.
Configuration
The server reads settings from config/server.config (JSON). Example:
{
"base_url": "https://string-db.org",
"server_port": 57416,
"verbosity": "low"
}
Installation
git clone https://github.com/meringlab/string-mcp.git
cd string-mcp
pip install -r requirements.txt
Running
python server.py
To serve over standard input/output instead of HTTP, for example when a local MCP client starts the server itself:
python server.py --stdio
The stdio mode also reads config/server.config for the STRING API endpoint.
Testing
curl -v -H "Accept: text/event-stream" http://localhost:[port]/mcp
You should see a 200 OK response with content-type: text/event-stream.
Note: HTTP requests sent with default headers will trigger anyio.ClosedResourceError and 406 Not Acceptable. This is expected behavior for the MCP streaming protocol and does not indicate a problem.
Docker
-
Ensure you have a
config/server.configfile (copy fromconfig/server.config.exampleif needed):cp config/server.config.example config/server.config -
Build the image:
docker build -t string-mcp . -
Run the container:
Linux/macOS:
docker run -p 57416:57416 -v $(pwd)/config:/app/config:ro string-mcpWindows PowerShell:
docker run -p 57416:57416 -v ${PWD}/config:/app/config:ro string-mcpWindows Command Prompt:
docker run -p 57416:57416 -v %cd%/config:/app/config:ro string-mcpTo run in detached mode:
# Linux/macOS docker run -d -p 57416:57416 -v $(pwd)/config:/app/config:ro --name string-mcp-server string-mcp # Windows PowerShell docker run -d -p 57416:57416 -v ${PWD}/config:/app/config:ro --name string-mcp-server string-mcpThe
-vflag mounts your local config directory so you can customize settings without rebuilding the image.Note: If you don't need to modify the config, you can omit the volume mount and the container will use the default config from the image.
-
Stop the container (if running in detached mode):
docker stop string-mcp-server docker rm string-mcp-server
Note: The Docker container will use the configuration from config/server.config. If this file doesn't exist, the container will copy from server.config.example on first run.
Frozen STRING releases are available under versioned paths: /12.0/ (STRING v12.0) and /12.5/ (STRING v12.5).
License / Citation
The STRING MCP server source code is released under the MIT License.
Associated data and outputs are released under the CC BY 4.0 License.
You are free to use, share, and modify the code with proper attribution.
If you use this code or data in your work, please also cite the latest STRING manuscript.
STRING Database MCP Fragen
Wie füge ich STRING Database MCP zu Claude Code hinzu?
Führe claude mcp add --transport http string-mcp https://mcp.string-db.org/ in deinem Terminal aus. Füge --scope user hinzu, damit der Server in jedem Projekt verfügbar ist.
Wie füge ich STRING Database MCP zu Cursor hinzu?
Öffne ~/.cursor/mcp.json und füge den Server unter mcpServers hinzu, mit der Cursor-Config aus dem Installationsabschnitt oben.
Wie starte ich den Server im stdio-Modus?
Du kannst den Server mit dem Befehl python server.py --stdio ausführen, um ihn über Standard Input/Output für lokale MCP-Clients bereitzustellen.
Welche Python-Versionen werden benötigt?
Der Server erfordert Python Version 3.11 oder höher; die Verwendung von 3.10 kann dazu führen, dass Parameterbeschreibungen in den Tool-Schemas falsch platziert werden.