STRING MCP server
claude mcp add string-mcp -- python -m -r{
"mcpServers": {
"string-mcp": {
"command": "python",
"args": ["-m", "-r"]
}
}
}1 items en este repositorio
Use when answering questions with STRING database MCP tools for protein-protein interactions, interaction partners, network images, interactive STRING links, evidence pages, functional enrichment, PPI enrichment, functional annotations, proteins associated with terms, homologs, sequence search, species lookup, or STRING limitations.
Resumen de MCP Servers
# STRING MCP Server
Exposes [STRING database](https://string-db.org) 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](https://mcp.string-db.org).
For a live demonstration of MCP capabilities, see [STRING Chat](https://string-db.org/cgi/chat).
For reproducible workflows and large-scale integration, use the [STRING API](https://string-db.org/cgi/help?subpage=api).
For agentic STRING workflows, use the optional Agent Skill at [skills/string-database/SKILL.md](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.10
- Dependencies (see `requirements.txt`):
- `fastmcp==2.10.6`
- `httpx==0.28.1`
- `pydantic==2.11.7`
> **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:
```json
{
"base_url": "https://string-db.org",
"server_port": 57416,
"verbosity": "low"
}
```
## Installation
```bash
git clone https://github.com/meringlab/string-mcp.git
cd string-mcp
pip install -r requirements.txt
```
## Running
```
python server.py
```
## Testing
```bash
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
1. Ensure you have a `config/server.config` file (copy from `config/server.config.example` if needed):
```bash
cp config/server.config.example config/server.config
```
2. Build the image:
```bash
docker build -t string-mcp .
```
3. Run the container:
**Linux/macOS:**
```bash
docker run -p 57416:57416 -v $(pwd)/config:/app/config:ro string-mcp
```
**Windows PowerShell:**
```powershell
docker run -p 57416:57416 -v ${PWD}/config:/app/config:ro string-mcp
```
**Windows Command Prompt:**
```cmd
docker run -p 57416:57416 -v %cd%/config:/app/config:ro string-mcp
```
To run in detached mode:
```bash
# 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-mcp
```
The `-v` flag 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.
4. Stop the container (if running in detached mode):
```bash
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.
## License / Citation
The STRING MCP server source code is released under the [MIT License](https://opensource.org/licenses/MIT).
Associated data and outputs are released under the [CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/).
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](https://string-db.org/cgi/about?footer_active_subpage=references).
Lo que la gente pregunta sobre string-mcp
¿Qué es meringlab/string-mcp?
+
meringlab/string-mcp es mcp servers para el ecosistema de Claude AI. STRING MCP server Tiene 5 estrellas en GitHub y se actualizó por última vez today.
¿Cómo se instala string-mcp?
+
Puedes instalar string-mcp clonando el repositorio (https://github.com/meringlab/string-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar meringlab/string-mcp?
+
meringlab/string-mcp aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.
¿Quién mantiene meringlab/string-mcp?
+
meringlab/string-mcp es mantenido por meringlab. La última actividad registrada en GitHub es de today, con 0 issues abiertos.
¿Hay alternativas a string-mcp?
+
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
Despliega string-mcp en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/meringlab-string-mcp)<a href="https://claudewave.com/repo/meringlab-string-mcp"><img src="https://claudewave.com/api/badge/meringlab-string-mcp" alt="Featured on ClaudeWave: meringlab/string-mcp" width="320" height="64" /></a>Más 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 等渠道智能推送。