homology

Pack: string-db · Endpoint: https://gateway.pipeworx.io/string-db/mcp

Retrieve STRING-DB homology mappings for a list of protein identifiers (gene symbols or accessions) within a given NCBI taxonomy species (default 9606=human), returning cross-species homolog relationships.

Parameters

NameTypeRequiredDescription
identifiersarrayyes
itemsstringno
speciesnumberno

Example call

Arguments

{
  "identifiers": [
    "9606.ENSP00000269305"
  ]
}

curl

curl -X POST https://gateway.pipeworx.io/string-db/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"homology","arguments":{"identifiers":["9606.ENSP00000269305"]}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('homology', {
  "identifiers": [
    "9606.ENSP00000269305"
  ]
});

More examples

{
  "identifiers": [
    "9606.ENSP00000269305",
    "9606.ENSP00000005339"
  ],
  "species": 10090
}

Response shape

Always returns: items, count

FieldTypeDescription
itemsarray
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stringId": {
            "type": "string",
            "description": "Query protein STRING ID"
          },
          "preferredName": {
            "type": "string",
            "description": "Query protein name"
          },
          "ncbiTaxonId": {
            "type": "number",
            "description": "Query NCBI taxonomy ID"
          },
          "homologs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "stringId": {
                  "type": "string",
                  "description": "Homolog STRING ID"
                },
                "preferredName": {
                  "type": "string",
                  "description": "Homolog protein name"
                },
                "ncbiTaxonId": {
                  "type": "number",
                  "description": "Homolog NCBI taxonomy ID"
                },
                "taxonName": {
                  "type": "string",
                  "description": "Homolog species name"
                }
              }
            },
            "description": "List of homologous proteins"
          }
        }
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "string-db": {
      "url": "https://gateway.pipeworx.io/string-db/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026