Symmap

Registre officiel Autres

SymMap v2 — Traditional Chinese Medicine association graph from symmap.org

Que pouvez-vous faire avec Symmap ?

  • symmap_search(query, entity) — resolve a name (Chinese, pinyin, Latin,
  • symmap_herb(herb) — full bilingual herb record: TCM properties, meridians,
  • symmap_herb_ingredients(herb) — molecules identified in a herb, with
  • symmap_herb_symptoms(herb) — the herb's traditional indications: TCM
  • symmap_symptom_herbs(symptom, system) — herbs for a symptom; system:"tcm"
  • symmap_ingredient(ingredient) — an ingredient's protein targets
  • symmap_target_diseases(target) — diseases associated with a gene;

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

Remote (streamable-http)
Claude Code
claude mcp add --transport http symmap 'https://gateway.pipeworx.io/symmap/mcp'
Configuration JSON (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "symmap": {
            "type": "http",
            "url": "https://gateway.pipeworx.io/symmap/mcp"
        }
    }
}

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. @pipeworx/symmap
  2. Tools
  3. Auth
  4. Data sources
  5. Licence / attribution
  6. Quick Start
  7. No MCP client? Call it over HTTP
  8. Standalone (no gateway account)
  9. Using with ask_pipeworx
  10. More
  11. License

@pipeworx/symmap

SymMap v2 (symmap.org, Beijing University of Chinese Medicine) — the Traditional Chinese Medicine association graph: 698 herbs, ~26k ingredients, ~21k protein targets, TCM symptoms, TCM syndromes, modern medical symptoms and ~14k diseases, connected by curated and predicted associations. Every relationship payload carries an explicit evidence_tier (traditional_use | human_clinical | laboratory | computational_prediction) and an evidence_basis sentence, because SymMap records associations, not efficacy — nothing in it is clinical proof that a herb treats anything.

Part of Pipeworx — an MCP gateway connecting AI agents to 1683+ live data sources.

Tools

  • symmap_search(query, entity) — resolve a name (Chinese, pinyin, Latin, English, gene symbol, disease name) to SymMap ids across any of the seven entity classes.
  • symmap_herb(herb) — full bilingual herb record: TCM properties, meridians, drug class, used part, all name forms.
  • symmap_herb_ingredients(herb) — molecules identified in a herb, with PubChem CID, CAS and oral-bioavailability score.
  • symmap_herb_symptoms(herb) — the herb's traditional indications: TCM symptoms (SMTS) and TCM syndromes (SMSY), kept separate from the modern vocabulary.
  • symmap_symptom_herbs(symptom, system) — herbs for a symptom; system:"tcm" is a direct lookup, system:"modern" goes through SymMap's curated modern→TCM symptom crosswalk with both hops explicit.
  • symmap_ingredient(ingredient) — an ingredient's protein targets (PubMed-cited edges are tier laboratory, uncited ones computational_prediction) and the herbs it occurs in.
  • symmap_target_diseases(target) — diseases associated with a gene; OMIM/Orphanet-backed edges are tier human_clinical, the rest computational_prediction.

Auth

Keyless.

Data sources

  • http://www.symmap.org/related_components/ — form-POST JSON: association edges for one entity (rrid, table_name, filter).
  • http://www.symmap.org/search/ — form-POST JSON: entity search by name (table_name, key).
  • src/herbs.ts — the herb entity table, generated by scripts/bake-herbs.py from the SMHB file on SymMap's download page, so herb lookup never depends on the upstream server.

Things the next person would rediscover the hard way:

  • The site is plain HTTP only — https://www.symmap.org does not answer.
  • The downloadable "key files" are NOT relation edges. They are long-format (id, Field_name, Field_context) dumps of the same entity tables. The actual graph edges are only served by /related_components/.
  • Some join directions 502 by design of their backend: herb→Gene, herb→Disease, herb→MM_symptom and MM_symptom→Herb all return 502 every time, while herb→Mol, herb→TCM_symptom, herb→Syndrome, Mol→Gene, Mol→Herb, TCM_symptom↔MM_symptom, TCM_symptom→Herb, Syndrome→Herb, Gene→Disease and Disease→Gene answer reliably. The tools compose only the reliable directions; a herb's targets are reached herb→ingredients→targets, one hop at a time.
  • rrid accepts both SMHB1 and SMHB00001 forms.
  • In v2.0, SMTS is TCM symptoms, SMSY is TCM syndromes (new in v2), SMMS is modern-medicine symptoms. The v1 downloads reuse SMTS differently; don't mix versions.
  • Ingredient→target literature evidence arrives as an HTML snippet with the same sentence twice (short + long variants) plus a Fold button; the pack extracts the long variant and the PMIDs.

Licence / attribution

SymMap is a free-to-access academic database; its site states the download files are free to download and carries no further reuse terms. Cite the paper when publishing results: Wu et al., SymMap: an integrative database of traditional Chinese medicine enhanced by symptom mapping, Nucleic Acids Research 2019, doi:10.1093/nar/gky1021.

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

{
  "mcpServers": {
    "symmap": {
      "url": "https://gateway.pipeworx.io/symmap/mcp"
    }
  }
}
What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/symmap/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

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

Both URLs reach the same gateway and the same 1683+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

curl -X POST https://gateway.pipeworx.io/v1/tools/symmap_search \
  -H 'Content-Type: application/json' \
  -d '{"query":"insomnia","entity":"mm_symptom"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/symmap_search. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

{
  "mcpServers": {
    "symmap": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-symmap"]
    }
  }
}

Or run it directly to confirm it starts:

npx -y @pipeworx/mcp-symmap

It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call for only this pack's tools — none of the shared meta-tools the gateway connection above adds. Same source, same tools, no ask_pipeworx routing.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Symmap data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

Questions fréquentes

Qu'est-ce que Symmap ?

SymMap v2 — Traditional Chinese Medicine association graph from symmap.org

Comment installer Symmap ?

Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http symmap 'https://gateway.pipeworx.io/symmap/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.

Faut-il une clé API pour Symmap ?

Son entrée au registre n'indique aucune clé ni secret obligatoire. Certaines fonctions peuvent tout de même demander un compte auprès du service auquel il se connecte.

Symmap est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Symmap ?

Il est publié par pipeworx-io. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.