MetExplore

v0.1.5
io.github.MetExplore/mcp-metexplore Checked 4 days ago Published 1 day ago

Query MetExplore metabolic networks: organisms, metabolites, reactions, metabolite and gene mapping

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_organisms Search for a MetExplore organism

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'.

ParameterTypeDescription
query *stringName (or fragment of a name) of the organism to look for, e.g. 'Homo sapiens'
output_formatstringFormat of the result when ambiguous: markdown table or text. Default: table.

search_metabolites Search for a metabolite in a MetExplore network

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…

ParameterTypeDescription
id_network *integerId of the MetExplore network (obtained via search_organisms)
query *stringName (or fragment of a name, or db_identifier) of the metabolite to look for, e.g. 'glucose'
output_formatstringFormat of the result when ambiguous: markdown table or text. Default: table.

search_metabolites_by_formula Search metabolites by chemical formula in a MetExplore network

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).

ParameterTypeDescription
formula *stringChemical (molecular) formula to look for, in any element order, e.g. 'C3H3O4' or 'C6H12O6'
id_network *integerId of the MetExplore network (obtained via search_organisms)
ignore_hydrogensbooleanIf true, hydrogen counts are ignored so every protonation state matches (e.g. C3H4O4 also finds C3H3O4 and C3H2O4). Default: false (exact formula).
output_formatstringFormat of the result: markdown table or text. Default: table.

search_metabolites_by_external_id Search metabolites by external identifier (ChEBI, KEGG, HMDB...) in a MetExplore network

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:…

ParameterTypeDescription
external_id *stringExternal identifier of the metabolite, e.g. 'CHEBI:15422', 'C00002' (KEGG), 'HMDB0000538', 'MNXM3' (MetaNetX), or prefixed with its database: 'bigg.metabolite:atp', 'pubchem.compound:5957'
id_network *integerId of the MetExplore network (obtained via search_organisms)
dbstringDatabase 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…
output_formatstringFormat of the result: markdown table or text. Default: table.

count_reactions_for_metabolite Count the reactions involving a metabolite

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.

ParameterTypeDescription
id_metabolite *integerInternal id of the metabolite (obtained via search_metabolites), not its db_identifier
id_network *integerId of the MetExplore network
output_formatstringFormat of the list of reactions: markdown table or text. Default: table.

match_chebi Match ChEBI identifiers to network metabolites using the ChEBI ontology

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…

ParameterTypeDescription
chebi_ids *arrayChEBI identifiers to match, e.g. ['CHEBI:17234', 'CHEBI:15377'] (the 'CHEBI:' prefix is optional)
id_network *integerId of the MetExplore network (obtained via search_organisms)
output_formatstringFormat of the result: markdown table or text. Default: table.

map_metabolites Map a list of metabolite identifiers onto a network

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 searc…

ParameterTypeDescription
id_network *integerId of the MetExplore network to map onto
ids *arrayList of metabolite identifiers to map (matched against the network's db_identifier)
output_formatstringFormat of the mapping report: markdown table or text. Default: table.

map_genes Map a list of gene identifiers onto a network

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.

ParameterTypeDescription
id_network *integerId of the MetExplore network to map onto
ids *arrayList of gene identifiers to map, matched against the whole db_identifier of the network genes (exact match, or a regular expression such as 'b00.*')
output_formatstringFormat of the mapping report: markdown table or text. Default: table.

get_quota_status View the remaining API request quota

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).