Skip to main content
Glama

STRING-db MCP Server

MIT License
1

STRING DB MCP Server Logo

Unofficial STRING MCP Server

A comprehensive Model Context Protocol (MCP) server for accessing the STRING protein interaction database. This server provides powerful tools for protein network analysis, functional enrichment, and comparative genomics through the STRING API.

Features

Tools (6 comprehensive tools)

  • get_protein_interactions: Get direct interaction partners for a specific protein with confidence scores and evidence types
  • get_interaction_network: Build and analyze protein interaction networks for multiple proteins
  • get_functional_enrichment: Perform functional enrichment analysis using GO terms, KEGG pathways, and other annotations
  • get_protein_annotations: Get detailed protein annotations and functional information
  • find_homologs: Find homologous proteins across different species for comparative analysis
  • search_proteins: Search for proteins by name or identifier across multiple species

Resources (6 resource templates)

  • string://network/{protein_ids}: Protein interaction network data for specified proteins
  • string://enrichment/{protein_ids}: Functional enrichment analysis results for protein sets
  • string://interactions/{protein_id}: Direct interaction partners for a specific protein
  • string://homologs/{protein_id}: Homologous proteins across different species
  • string://annotations/{protein_id}: Detailed protein annotations and functional information
  • string://species/{taxon_id}: Species-specific data and protein counts

Installation

npm install npm run build

Usage

With Claude Desktop

Add to your claude_desktop_config.json:

{ "mcpServers": { "string-server": { "command": "node", "args": ["/path/to/string-server/build/index.js"] } } }

Example Queries

  1. Find protein interactions:
    Get interaction partners for insulin (INS) using get_protein_interactions
  2. Build protein networks:
    Build an interaction network for insulin signaling proteins: INS, INSR, IRS1, AKT1 using get_interaction_network
  3. Functional enrichment analysis:
    Perform functional enrichment analysis on these diabetes-related proteins: INS, INSR, IRS1, GLUT4, AKT1
  4. Find protein homologs:
    Find homologs of human insulin (INS) in mouse and rat using find_homologs
  5. Search for proteins:
    Search for insulin-related proteins using search_proteins with query "insulin"
  6. Get protein annotations:
    Get detailed annotations for insulin receptor pathway proteins using get_protein_annotations
  7. Access resources directly:
    Show me the resource string://network/INS,INSR,IRS1

API Integration

This server integrates with the STRING Database API (https://string-db.org/):

  • STRING REST API: For protein interaction data, annotations, and homology information
  • Multi-species support: Over 5000 organisms supported
  • Evidence types: Neighborhood, fusion, cooccurrence, coexpression, experimental, database, textmining
  • Confidence scoring: Interaction confidence scores from 0-1000

Key Features

Protein Interaction Analysis

  • Direct interactions: Find immediate interaction partners
  • Network construction: Build comprehensive interaction networks
  • Evidence classification: 7 types of interaction evidence
  • Confidence scoring: Quantitative interaction confidence

Functional Analysis

  • GO enrichment: Gene Ontology term enrichment
  • KEGG pathways: Metabolic and signaling pathway analysis
  • Custom backgrounds: Use custom protein sets as background
  • Statistical significance: P-values and FDR correction

Comparative Genomics

  • Cross-species analysis: Find homologs across organisms
  • Evolutionary relationships: Analyze protein evolution
  • Species filtering: Focus on specific taxonomic groups
  • Ortholog identification: Distinguish orthologs from paralogs

Network Properties

  • Topology analysis: Network density, clustering, connectivity
  • Hub identification: Find highly connected proteins
  • Module detection: Identify protein complexes and modules
  • Path analysis: Find shortest paths between proteins

Complementary Servers

This STRING server works excellently with:

  • UniProt MCP Server: For protein sequences and detailed functional annotations
  • PDB MCP Server: For protein structures and structural analysis
  • AlphaFold MCP Server: For predicted protein structures

Together, these provide comprehensive protein analysis: Sequence → Structure → Interactions → Function

Data Quality & Validation

  • Curated data: STRING combines curated databases with computational predictions
  • Evidence integration: Multiple evidence types combined using probabilistic framework
  • Regular updates: Database updated regularly with new experimental data
  • Quality scores: Each interaction has associated confidence scores

Error Handling

The server includes robust error handling for:

  • Invalid protein identifiers
  • Network connectivity issues
  • API rate limiting
  • Species validation
  • Parameter validation
  • Malformed requests

Development

# Install dependencies npm install # Build the server npm run build # Run in development mode npm run dev

Attribution

This project is developed by Augmented Nature 🌐 Website: augmentednature.ai

About STRING Database: STRING is a database of known and predicted protein-protein interactions. The interactions include direct (physical) and indirect (functional) associations; they stem from computational prediction, from knowledge transfer between organisms, and from interactions aggregated from other (primary) databases.

Citation

If you use this project in your research or publications, please cite it as follows:

author = {Moudather Chelbi}, title = {STRING DB MCP Server}, year = {2025}, howpublished = {https://github.com/Augmented-Nature/STRING-db-MCP-Server}, note = {Accessed: 2025-06-29}
-
security - not tested
A
license - permissive license
-
quality - not tested

A comprehensive Model Context Protocol (MCP) server for accessing the STRING protein interaction database. This server provides powerful tools for protein network analysis, functional enrichment, and comparative genomics through the STRING API.

  1. Features
    1. Tools (6 comprehensive tools)
    2. Resources (6 resource templates)
  2. Installation
    1. Usage
      1. With Claude Desktop
      2. Example Queries
    2. API Integration
      1. Key Features
        1. Protein Interaction Analysis
        2. Functional Analysis
        3. Comparative Genomics
        4. Network Properties
      2. Complementary Servers
        1. Data Quality & Validation
          1. Error Handling
            1. Development
              1. Attribution
                1. Citation

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
                    Last updated -
                    3
                    9
                    36
                    JavaScript
                    Apache 2.0
                  • A
                    security
                    F
                    license
                    A
                    quality
                    A Model Context Protocol server that enhances language models with protein structure analysis capabilities, enabling detailed active site analysis and disease-related protein searches through established protein databases.
                    Last updated -
                    2
                    6
                    TypeScript
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol (MCP) implementation for connecting to and working with various database systems.
                    Last updated -
                    23
                    17
                    TypeScript
                    MIT License
                    • Linux
                    • Apple
                  • A
                    security
                    F
                    license
                    A
                    quality
                    A Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.
                    Last updated -
                    21
                    76
                    JavaScript

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/Augmented-Nature/STRING-db-MCP-Server'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server