Query MetExplore metabolic networks: organisms, metabolites, reactions, metabolite and gene mapping
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
MetExplore user token, to also access your private networks (public networks without it)
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Returns the number and list of reactions (id, db_identifier, name) in the network that involve a given metabolite. The metabolite must first be resolved to an internal id via search_metabolites.
Id of the MetExplore network
Internal id of the metabolite (obtained via search_metabolites), not its db_identifier
Format of the list of reactions: markdown table or text. Default: table.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp-metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp
Headers
X-MetExplore-Token (optional, not in the config above): MetExplore user token, to also access your private networks (public networks without it)Returns the number and list of reactions (id, db_identifier, name) in the network that involve a given metabolite. The metabolite must first be resolved to an internal id via search_metabolites.
| Argument | Type | Description |
|---|---|---|
| id_network* | integer | Id of the MetExplore network |
| id_metabolite* | integer | Internal id of the metabolite (obtained via search_metabolites), not its db_identifier |
| output_format | string | Format of the list of reactions: markdown table or text. Default: table. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_network",
"id_metabolite"
],
"properties": {
"id_network": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Id of the MetExplore network"
},
"id_metabolite": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Internal id of the metabolite (obtained via search_metabolites), not its db_identifier"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the list of reactions: markdown table or text. Default: table."
}
}
}Returns how many requests have already been sent to the MetExplore API and how many remain for the current MCP session (limit set by METEXPLORE_MAX_REQUESTS_PER_SESSION).
No arguments.
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {}
}Maps a list of gene identifiers (db_identifier, exact or regular expression) onto a MetExplore network and produces a report: mapped, not found, or ambiguous entries (several matching genes), AND a pathway enrichment table (right-tailed Fisher exact test, with Bonferroni and Benjamini-Hochberg corrected p-values, with the numeric pathway id) for the mapped genes — this already answers 'which pathways are overrepresented' questions; no other tool or export is needed for that. The target network must first be resolved via search_organisms.
| Argument | Type | Description |
|---|---|---|
| ids* | array | List of gene identifiers to map, matched against the whole db_identifier of the network genes (exact match, or a regular expression such as 'b00.*') |
| id_network* | integer | Id of the MetExplore network to map onto |
| output_format | string | Format of the mapping report: markdown table or text. Default: table. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_network",
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "List of gene identifiers to map, matched against the whole db_identifier of the network genes (exact match, or a regular expression such as 'b00.*')"
},
"id_network": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Id of the MetExplore network to map onto"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the mapping report: markdown table or text. Default: table."
}
}
}Maps a list of metabolite identifiers (db_identifier) onto a MetExplore network and produces a report: mapped, not found, or ambiguous entries (several matching metabolites, each with its full name, formula and cross-references so the user can choose), AND a pathway enrichment table (right-tailed Fisher exact test, with Bonferroni and Benjamini-Hochberg corrected p-values, with the numeric pathway id) for the mapped metabolites — this already answers 'which pathways are overrepresented' questions; no other tool or export is needed for that. The target network must first be resolved via search_organisms.
| Argument | Type | Description |
|---|---|---|
| ids* | array | List of metabolite identifiers to map (matched against the network's db_identifier) |
| id_network* | integer | Id of the MetExplore network to map onto |
| output_format | string | Format of the mapping report: markdown table or text. Default: table. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_network",
"ids"
],
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "List of metabolite identifiers to map (matched against the network's db_identifier)"
},
"id_network": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Id of the MetExplore network to map onto"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the mapping report: markdown table or text. Default: table."
}
}
}Matches one or several ChEBI identifiers to the metabolites of a MetExplore network using the ChEBI ontology: besides exact matches, it finds related metabolites (more generic or more specific ChEBI classes, conjugate acid/base, tautomers, enantiomers), each with its relation and distance in the ontology. Use it when the user asks for metabolites related/close to a ChEBI, when search_metabolites_by_external_id finds no exact match for a ChEBI, or to match a list of ChEBI identifiers (e.g. from metabolomics) onto a network. Requires an id_network (see search_organisms); the network must contain ChEBI cross-references.
| Argument | Type | Description |
|---|---|---|
| chebi_ids* | array | ChEBI identifiers to match, e.g. ['CHEBI:17234', 'CHEBI:15377'] (the 'CHEBI:' prefix is optional) |
| id_network* | integer | Id of the MetExplore network (obtained via search_organisms) |
| output_format | string | Format of the result: markdown table or text. Default: table. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_network",
"chebi_ids"
],
"properties": {
"chebi_ids": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "ChEBI identifiers to match, e.g. ['CHEBI:17234', 'CHEBI:15377'] (the 'CHEBI:' prefix is optional)"
},
"id_network": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Id of the MetExplore network (obtained via search_organisms)"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the result: markdown table or text. Default: table."
}
}
}Fuzzy search of the metabolites of a MetExplore network by name (or db_identifier, matched exactly or as a fragment). Name matching is tolerant to case, accents, punctuation, Greek letters (β = beta), word order and small typos, but far-fetched matches are discarded. Returns the metabolite only if exactly one matches. As soon as several metabolites match (even if one matches exactly, or the same metabolite exists in several compartments), the result lists every candidate, best first, with its id, identifier, match kind, chemical formula, compartment and cross-references (KEGG/ChEBI/...): ask the user which one they mean instead of choosing. If nothing is close enough, says that no metabolite was found. Requires an id_network (see search_organisms). To search by chemical formula (e.g. C3H3O4), use search_metabolites_by_formula instead; to search by external identifier (ChEBI, KEGG, HMDB...), use search_metabolites_by_external_id.
| Argument | Type | Description |
|---|---|---|
| query* | string | Name (or fragment of a name, or db_identifier) of the metabolite to look for, e.g. 'glucose' |
| id_network* | integer | Id of the MetExplore network (obtained via search_organisms) |
| output_format | string | Format of the result when ambiguous: markdown table or text. Default: table. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_network",
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Name (or fragment of a name, or db_identifier) of the metabolite to look for, e.g. 'glucose'"
},
"id_network": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Id of the MetExplore network (obtained via search_organisms)"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the result when ambiguous: markdown table or text. Default: table."
}
}
}Lists ALL the metabolites of a MetExplore network cross-referenced to a given external identifier (ChEBI, KEGG compound, HMDB, MetaNetX, PubChem, LipidMaps, InChI, BiGG, VMH...), in every compartment. Use it whenever the user gives such an identifier, e.g. 'CHEBI:15422', 'C00002' or 'HMDB0000538'. The database is detected from the identifier, or given with db (or as a prefix: 'bigg.metabolite:atp'). The tool first checks that the network contains cross-references from that database. If the identifier type is not recognized or ambiguous, the answer lists the databases available in the network: ask the user which one to use and call again with db. Requires an id_network (see search_organisms).
| Argument | Type | Description |
|---|---|---|
| db | string | Database of the identifier, as named in MetExplore (e.g. chebi, kegg.compound, hmdb, metanetx.chemical, pubchem.compound, bigg.metabolite, vmhmetabolite, lipidmaps, inchi). Optional: detected from the identifier when possible. |
| id_network* | integer | Id of the MetExplore network (obtained via search_organisms) |
| external_id* | string | External identifier of the metabolite, e.g. 'CHEBI:15422', 'C00002' (KEGG), 'HMDB0000538', 'MNXM3' (MetaNetX), or prefixed with its database: 'bigg.metabolite:atp', 'pubchem.compound:5957' |
| output_format | string | Format of the result: markdown table or text. Default: table. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_network",
"external_id"
],
"properties": {
"db": {
"type": "string",
"description": "Database of the identifier, as named in MetExplore (e.g. chebi, kegg.compound, hmdb, metanetx.chemical, pubchem.compound, bigg.metabolite, vmhmetabolite, lipidmaps, inchi). Optional: detected from the identifier when possible."
},
"id_network": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Id of the MetExplore network (obtained via search_organisms)"
},
"external_id": {
"type": "string",
"minLength": 1,
"description": "External identifier of the metabolite, e.g. 'CHEBI:15422', 'C00002' (KEGG), 'HMDB0000538', 'MNXM3' (MetaNetX), or prefixed with its database: 'bigg.metabolite:atp', 'pubchem.compound:5957'"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the result: markdown table or text. Default: table."
}
}
}Lists ALL the metabolites of a MetExplore network whose chemical formula matches the given molecular formula (element order does not matter: C3H3O4 = H3C3O4). Use this tool whenever the user gives a chemical formula such as C6H12O6, C3H3O4 or CO2, instead of search_metabolites (which only searches names). The result is exhaustive and lists every match with its id, identifier, name, formula, charge, compartment and cross-references. Set ignore_hydrogens to also find the other protonation states of the same compound. Requires an id_network (see search_organisms).
| Argument | Type | Description |
|---|---|---|
| formula* | string | Chemical (molecular) formula to look for, in any element order, e.g. 'C3H3O4' or 'C6H12O6' |
| id_network* | integer | Id of the MetExplore network (obtained via search_organisms) |
| output_format | string | Format of the result: markdown table or text. Default: table. |
| ignore_hydrogens | boolean | If true, hydrogen counts are ignored so every protonation state matches (e.g. C3H4O4 also finds C3H3O4 and C3H2O4). Default: false (exact formula). |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id_network",
"formula"
],
"properties": {
"formula": {
"type": "string",
"description": "Chemical (molecular) formula to look for, in any element order, e.g. 'C3H3O4' or 'C6H12O6'"
},
"id_network": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Id of the MetExplore network (obtained via search_organisms)"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the result: markdown table or text. Default: table."
},
"ignore_hydrogens": {
"type": "boolean",
"description": "If true, hydrogen counts are ignored so every protonation state matches (e.g. C3H4O4 also finds C3H3O4 and C3H2O4). Default: false (exact formula)."
}
}
}Searches MetExplore metabolic networks matching an organism name. Use this before any other tool that needs an id_network: if several networks match (e.g. 'Homo sapiens' can match several strains/tissues/sources), the result lists the candidates for the user to choose from. The query is matched word by word, ignoring case and punctuation, against names, identifiers and descriptions; a version-like word ('2', 'v2', '1.19') filters on the model version, e.g. 'Human-GEM 2'.
| Argument | Type | Description |
|---|---|---|
| query* | string | Name (or fragment of a name) of the organism to look for, e.g. 'Homo sapiens' |
| output_format | string | Format of the result when ambiguous: markdown table or text. Default: table. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "Name (or fragment of a name) of the organism to look for, e.g. 'Homo sapiens'"
},
"output_format": {
"enum": [
"table",
"text"
],
"type": "string",
"description": "Format of the result when ambiguous: markdown table or text. Default: table."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 25, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.