プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説 ログイン

MetExplore

✓ ブランド名の GitHub · github.com/metexplore

作者:MetExploreバージョン 0.1.2i★ 0iパソコンでもクラウドでも公式サイト ↗

インストール方法

できること

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

作者による原文

  • 接続方法 パソコンでもクラウドでも
  • アカウントまたはキー クラウド:キーなしで使えます · X-MetExplore-Token があれば入力可(上限が上がることが多い) · ローカル:METEXPLORE_APP_KEY, METEXPLORE_USER_TOKEN が必要
  • カテゴリ その他

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気0/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中8/8前回の確認でクラウドのエンドポイントが応答
利用スコア20/100

品質: 基本チェック 5/5 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

MetExplore をインストールして。https://mcp.popnx.com/i/metexplore-mcp-metexplore.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 5/5 合格 · 質問内容は提供元のサーバー(metexplore.toulouse.inrae.fr)を通ります · ✓ コマンド確認済み 2026年11月26日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげます · 約 2 分

キー不要、インストール不要 · claude.ai かデスクトップアプリで一度設定すれば、チャットで使えます · 無料アカウントは 1 つまで · Team/Enterprise はオーナー(Owner)が追加

  1. このボタンを押すと、Claude が入力済みの connector 追加画面を開きます

    MetExplore を Claude に追加 ↗

    名前と URL は入力済みです。確認して Add を押します · ログインしていなければ、先にログインを求められます

    Claude が検出したサインイン設定の画面で Continue を押す · Authentication は作者の説明どおり(Sign in now・Sign in when needed・No sign in)を選び Add を押します

    ボタンが動かない?手動で入力する

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4

    「Add」→「Custom」→「Web」を押し、この 2 つを入力

    ここからコピーして Claude の同じ名前の欄に貼り付け、Continue を押します

    Name · 名前MetExplore
    Remote MCP server URL · アドレスhttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp
  2. チャットで有効にする

    +ConnectorsMetExplore

  3. 試してみる

    MetExplore を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が MetExplore を使っていると言うか、回答に MetExplore のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT との接続はプランしだい

フル MCP:Web 版 ChatGPT の Business・Enterprise・Edu · Pro:読み取り/取得の権限で接続、データを変えるツールは使えないことがあります · Plus:公式ドキュメントで未確認。プラグイン画面にカスタム MCP を追加する項目があれば試せます · Web のみ

  1. Web 版 ChatGPT で MCP の追加ページを開く

    Plugins+Add custom MCP server

    ChatGPTPlugins1+2https://…3Create4
  2. 名前とアドレスを入力

    名前を入れ、Connection にアドレスを貼り付け、注意事項にチェックして Create as a plugin を押します

    Name · 名前MetExplore
    Connection · アドレスhttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp
  3. チャットで MetExplore を選ぶ

    新しいチャットを開き、入力前にプラグインの一覧から MetExplore を選びます

  4. 試してみる

    MetExplore を使って、私に何ができるか教えて、1 つやってみせて

    ✓ ChatGPT が MetExplore を使っていると言うか、回答に MetExplore のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に OpenAI のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Claude Code につなげます · 約 2 分

キー不要、インストール不要

  1. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  2. このコマンドを貼り付けて Enter

    claude mcp add --transport http --scope user metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp
  3. Claude Code で /mcp と入力

    MetExplore が一覧にあり、接続済みと表示されれば OK です

  4. 試してみる

    MetExplore を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が MetExplore を使っていると言うか、回答に MetExplore のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  2. Cursor の AI チャットを Agent モードで開く

  3. 試してみる

    MetExplore を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が MetExplore を使っていると言うか、回答に MetExplore のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげます · 約 2 分

キー不要、インストール不要

  1. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  2. VS Code の AI チャットを Agent モードで開く

  3. 試してみる

    MetExplore を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が MetExplore を使っていると言うか、回答に MetExplore のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

Web 経由でつなぐアプリ用のアドレス

アドレスhttps://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp

JSON 設定は下の「開発者向け」にあります

つまずいたら?MetExplore を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

Web 経由

Claude Code

claude mcp add --transport http --scope user metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "metexplore": {
      "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp"
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "metexplore": {
      "type": "http",
      "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp"
    }
  }
}

パソコンにインストール

Claude Code

claude mcp add --scope user metexplore --env METEXPLORE_APP_KEY=your-value --env METEXPLORE_USER_TOKEN=your-value -- npx -y @metexplore/mcp-metexplore

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "metexplore": {
      "command": "npx",
      "args": [
        "-y",
        "@metexplore/mcp-metexplore"
      ],
      "env": {
        "METEXPLORE_APP_KEY": "your-value",
        "METEXPLORE_USER_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "metexplore": {
      "command": "npx",
      "args": [
        "-y",
        "@metexplore/mcp-metexplore"
      ],
      "env": {
        "METEXPLORE_APP_KEY": "your-value",
        "METEXPLORE_USER_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "metexplore": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@metexplore/mcp-metexplore"
      ],
      "env": {
        "METEXPLORE_APP_KEY": "your-value",
        "METEXPLORE_USER_TOKEN": "your-value"
      }
    }
  }
}

自分で入力する値

  • METEXPLORE_APP_KEY 秘密 必須 env
    MetExplore アプリケーションキー。contact-metexplore@inrae.fr に依頼してください
    英語の原文を見るMetExplore application key, to request from contact-metexplore@inrae.fr
  • METEXPLORE_USER_TOKEN 秘密 必須 env
    MetExplore ユーザートークン(アカウントプロフィールより)。プライベートネットワークにもアクセスするために使用します
    英語の原文を見るMetExplore user token (account profile), to also access your private networks
  • METEXPLORE_API_URL env
    MetExplore API のベース URL(デフォルト:本番環境)
    英語の原文を見るBase URL of the MetExplore API (default: production)
  • X-MetExplore-Token 秘密 HTTP header
    MetExplore ユーザートークン。プライベートネットワークにもアクセスするために使用します(トークンがない場合はパブリックネットワークのみ)
    英語の原文を見るMetExplore user token, to also access your private networks (public networks without it)

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

レジストリ名
io.github.MetExplore/mcp-metexplore
週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンでもクラウドでも
ツールの数
ツール 9 個 · 軽め この MCP をつなぐと、全ツールの名前と説明が AI に送られます(使う分だけ読み込むアプリもあります)。ツールが多いほど 1 回のチャットで AI が覚えておける量を圧迫し、選び間違いも起きやすくなります。 2026年11月26日 にサーバーがこちらのチェッカーへ返したツール一覧から数えました
最新バージョンi
0.1.2
カテゴリi
その他
レジストリ公開日i
2026年11月25日
コードの最終更新i
2026年11月25日
最終確認
2026年11月26日
作者
MetExplore
パッケージ
npm: @metexplore/mcp-metexplore
ウェブサイト
forge.inrae.fr
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

インターネット経由でつなげるアプリ

ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

ツールの名前と説明は、サーバーが2026年11月26日に返したそのままの内容です。書いたのは作者で、私たちではありません。プレーンテキストとして表示しています。

  • search_organisms

    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 q

  • search_metabolites

    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

  • search_metabolites_by_formula

    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 (w

  • search_metabolites_by_external_id

    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'

  • count_reactions_for_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.

  • match_chebi

    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

  • map_metabolites

    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 ta

  • map_genes

    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 Benj

  • get_quota_status

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

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月26日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント MetExplore で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:昨日

  • ✓ 合格

    ライセンスがある

    Apache-2.0を使用

  • ✓ 合格

    エンドポイントが応答する

    1160ミリ秒で応答(HTTP 200)

  • – 対象外

    OAuthでサインイン

    サインイン不要

  • ✓ 合格

    ツールの説明に隠れた指示がない

    9件のツールの説明を読み、AIへの隠れた指示は見つかりませんでした

公開済みの脆弱性(OSV.dev)

OSV.dev に @metexplore/mcp-metexplore@0.1.2 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月26日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/metexplore-mcp-metexplore.svg)](https://mcp.popnx.com/en/servers/metexplore-mcp-metexplore)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

その他のほかのサーバーとの比較i

  • このカテゴリのほかの22222件のうち0%よりスターが多い
  • このカテゴリのほかの22222件のうち99%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの22222件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MetExploreは安全ですか?

当てはまる基本チェック5項目のうち5項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:METEXPLORE_APP_KEY, METEXPLORE_USER_TOKEN

パソコンで動きますか、それともクラウドですか?

どちらでも使えます。パソコンにインストールしても、クラウド版につないでもかまいません。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は昨日、最新バージョン(0.1.2)がレジストリに届いたのは昨日です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。URL で接続するので、リモート MCP を受け付けるアプリでも使えます。例:Web 版 ChatGPT(Business 以上はフル MCP、Pro は読み取りのみ)。

代わりに使えるものは?

同じカテゴリには:World Monitor, openstatus, Oh My Posh Validator, Strata, Jitsu

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 100 tools.

作者:koala73広く使われている★ 9.1万10 日前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · worldmonitor.app

openstatus

Manage monitors, status pages, incidents and maintenances in your openstatus workspace.

作者:openstatusHQ広く使われている★ 92813 か月前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · openstatus.dev

Oh My Posh Validator

Validate oh-my-posh configurations and segment snippets against the official schema.

作者:JanDeDobbeleer広く使われている★ 2.4万 リポジトリ全体のスター37 日前更新

すぐ接続できる(URL あり)ツール 2 個 · 軽め✓ 提供元 · ohmyposh.dev

Strata

MCP server for progressive tool usage at any scale (see https://klavis.ai)

作者:Klavis-AI成長中★ 582114 か月前更新

すぐ接続できる(URL あり) · キーが必要リポジトリはアーカイブ済み✓ klavis.ai

Jitsu

Manage Jitsu data pipelines: destinations, streams, connections, functions, live events.

作者:jitsucom広く使われている★ 51394 か月前更新

すぐ接続できる(URL あり) · ログインが必要✓ 提供元 · jitsu.com
似たものと比べる
これ
MetExplore
World MonitoropenstatusOh My Posh ValidatorStrataJitsu
動く場所クラウドでもパソコンにインストールでも使えるクラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要はいいいえいいえいいえいいえいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック5/54/44/44/41/44/4
ライセンスApache-2.0AGPL-3.0AGPL-3.0MITApache-2.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

mcp-metexplore

Metadata

  • authors: with claude-opus-5-5
  • creation date: 2026-11-13
  • main usage: MCP (Model Context Protocol) server to query MetExplore metabolic networks from LLM clients

Description

MCP (Model Context Protocol) server for querying the MetExplore API from any MCP-compatible client (Claude Desktop, Claude Code, VS Code...).

It lets users ask questions about MetExplore organisms, metabolites and reactions in natural language, the LLM client calling the MetExplore API through the tools exposed by this server.

It can be used as a shared remote server (Streamable HTTP transport, nothing to install) or run locally (stdio transport).

Example questions
  • "In how many reactions is glucose involved in humans?" → search_organisms("Homo sapiens"), then search_metabolites, then count_reactions_for_metabolite.
  • "Give me all the metabolites with the formula C3H3O4 in Human-GEM V2." → search_organisms("Human-GEM 2") then search_metabolites_by_formula.
  • "Which metabolites correspond to CHEBI:15422 in Human-GEM V2?" → search_organisms("Human-GEM 2") then search_metabolites_by_external_id.
  • "Which metabolites of Human-GEM V2 are related to CHEBI:17234?" → search_organisms("Human-GEM 2") then match_chebi.
  • "I have this file of metabolite identifiers, map it onto Ralstonia and give me a report." → search_organisms("Ralstonia") then map_metabolites.
  • "Map these E. coli genes and tell me which pathways are enriched." → search_organisms("E. coli") then map_genes.

Features

  • `search_organisms`: search for a MetExplore organism/network, with disambiguation when several networks match (e.g. "Homo sapiens").
  • `search_metabolites`: search for a metabolite in a network, with disambiguation (id, full name, chemical formula, cross-references).
  • `search_metabolites_by_formula`: list every metabolite of a network with a given chemical formula, optionally ignoring hydrogens to catch all protonation states.
  • `search_metabolites_by_external_id`: list every metabolite of a network cross-referenced to an external identifier (ChEBI, KEGG, HMDB, MetaNetX, PubChem, LipidMaps, InChI, BiGG, VMH...), after checking that the network contains identifiers from that database.
  • `match_chebi`: match ChEBI identifiers to the metabolites of a network using the ChEBI ontology: exact matches, but also more generic/specific classes, conjugate acids/bases, tautomers and enantiomers, with their distance.
  • `count_reactions_for_metabolite`: count/list the reactions involving a metabolite.
  • `map_metabolites`: map a list of metabolite identifiers onto a network and produce a report (mapped / not found / ambiguous).
  • `map_genes`: map a list of gene identifiers (exact or regular expression) onto a network and produce the same report, with pathway enrichment.
  • `get_quota_status`: check the remaining API request quota for the current session.
API request quota

To avoid overloading the MetExplore API, the server limits the number of HTTP requests actually sent to METEXPLORE_MAX_REQUESTS_PER_SESSION (20 by default) per MCP session: the whole process lifetime in stdio mode, one MCP session (one client connection) in HTTP mode. An in-memory, per-session cache (network list, metabolites per network) avoids re-spending this quota on repeated searches over the same data. The remaining quota can be checked with the get_quota_status tool. Once the quota is reached, restart the server (stdio) or reconnect the client to open a new session (HTTP).

Getting Started

The easiest way is to use the hosted remote server (no installation, no application key). The server can also be run locally (stdio).

Prerequisites
  • MCP client: any MCP-compatible client (Claude Code, Claude Desktop, VS Code...)
  • Remote use: nothing else
  • Local use:
  • Operating System: Linux, macOS or Windows
  • Node.js: version 18 or higher
  • npm
  • a MetExplore application key: ask for one by email at contact-metexplore@inrae.fr
  • Optional: a MetExplore user token (available in the MetExplore interface, in your account profile) to access your private networks
  • Deployment only: Docker
Installing
Option 1: use the remote server

No installation and no application key are needed: the server is hosted and already holds the MetExplore application key.

Claude Code (one command) — public networks only:

claude mcp add --transport http metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp

With your MetExplore user token, to also access your private networks:

claude mcp add --transport http metexplore https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp --header "X-MetExplore-Token: YOUR_METEXPLORE_USER-TOKEN"

Add --scope user to make the server available in all your projects.

Other clients (`.mcp.json`, VS Code...):

{

"mcpServers": { "metexplore": { "type": "http", "url": "https://metexplore.toulouse.inrae.fr/metexplore-mcp/mcp", "headers": { "X-MetExplore-Token": " " } } } }

Omit headers to access public networks only.

Option 2: local use (stdio)

The server is published on npm as @metexplore/mcp-metexplore: npx downloads and runs it, nothing to install. Register it in your client, e.g. for Claude Desktop (claude_desktop_config.json) or any client using the mcpServers format:

{

"mcpServers": { "metexplore": { "command": "npx", "args": ["-y", "@metexplore/mcp-metexplore"], "env": { "METEXPLORE_APP_KEY": " " } } } }

Or with Claude Code:

claude mcp add metexplore --env METEXPLORE_APP_KEY=<your app key> -- npx -y @metexplore/mcp-metexplore

Other variables of the configuration table below can be added the same way ("env" block or --env). Check the connection with /mcp in Claude Code, then ask one of the example questions.

From the sources

To run a modified version, install and build the server:

git clone https://forge.inrae.fr/metexplore/mcp/mcp-metexplore.git

cd mcp-metexplore npm install npm run build cp .env.example .env

edit .env: see the configuration table below

Configuration (.env, or env block of the client configuration):

VariableRequiredDescription
METEXPLORE_API_URLno (default https://metexplore.toulouse.inrae.fr/metexplore3-api, production)Base URL of the MetExplore API, no trailing slash
METEXPLORE_APP_KEYyesApplication token (x-app-key header), to request from contact-metexplore@inrae.fr
METEXPLORE_USER_TOKENno (stdio only)A user token already obtained
METEXPLORE_USER_LOGIN / METEXPLORE_USER_PASSWORDno (stdio only, set together)Credentials used to call /users/login on first use
METEXPLORE_MAX_REQUESTS_PER_SESSIONno (default 20)Max number of requests sent to the API per MCP session
METEXPLORE_TLS_REJECT_UNAUTHORIZEDno (default true)Set to false to disable TLS certificate verification
MCP_TRANSPORTno (default stdio)stdio (local use) or http (remote deployment)

Without any user credentials, the API is queried with the app key only: only public networks are visible. HTTP-mode variables are described in Deployment.

Then register the built server (instead of npx) in your client, e.g. for Claude Desktop / Claude Code (claude_desktop_config.json or equivalent):

{

"mcpServers": { "metexplore": { "command": "node", "args": ["/absolute/path/to/mcp-metexplore/dist/index.js"] } } }

Environment variables can also be passed directly in this configuration block ("env": {...}) instead of via a .env file.

Or with Claude Code:

claude mcp add metexplore --env METEXPLORE_APP_KEY=<your app key> -- node /absolute/path/to/mcp-metexplore/dist/index.js

Check the connection with /mcp in Claude Code, then ask one of the example questions.

Running the tests

Unit tests use node:test with a mocked fetch (no MetExplore API needed):

npm test

They cover the tools (search, disambiguation, formula/external id matching, ChEBI ontology matching, mapping report), the API client, the configuration, the output formatting and the HTTP transport.

Deployment

Remote deployment (HTTP)

With MCP_TRANSPORT=http, the server exposes the MCP Streamable HTTP transport on /mcp, plus GET /health (used by the Docker healthcheck). METEXPLORE_USER_* variables are ignored in this mode; only METEXPLORE_APP_KEY is shared by all clients.

VariableDefaultDescription
MCP_HTTP_HOST / MCP_HTTP_PORT127.0.0.1 / 3000Listening address (0.0.0.0 in the Docker image)
MCP_ALLOWED_HOSTSempty (no check)Comma-separated public hostnames accepted in the Host header (DNS rebinding protection)
MCP_TRUST_PROXYfalsetrue behind a reverse proxy: client IP taken from X-Forwarded-For (set by the CI deployment)
MCP_RATE_LIMIT_PER_MINUTE60Max HTTP requests per client IP per minute on /mcp
MCP_MAX_SESSIONS200Max concurrent MCP sessions (503 beyond)
MCP_SESSION_TTL_MINUTES30Idle sessions are closed after this delay
Docker
docker build -t mcp-metexplore .

docker run --rm -p 127.0.0.1:3000:3000 \ -e METEXPLORE_APP_KEY=... -e METEXPLORE_API_URL=... \ -e MCP_ALLOWED_HOSTS=localhost mcp-metexplore curl http://localhost:3000/health

On the servers (see Continuous deployment), the container is only bound to 127.0.0.1:${HOST_PORT}; TLS and the public domain name are handled by the host's reverse proxy, which must keep the original Host header and should not buffer responses. Example (nginx):

location /mcp {

proxy_pass http://127.0.0.1:8077; proxy_set_header Host $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_http_version 1.1; proxy_buffering off; proxy_read_timeout 1h; }

Apache equivalent: ProxyPreserveHost On, ProxyPass /mcp http://127.0.0.1:8077/mcp flushpackets=on timeout=3600.

Continuous deployment (GitLab CI)

.gitlab-ci.yml runs on the vm-metexplore-dev runner (docker executor). The test and build jobs (docker:27-cli image) use the host's Docker daemon, so the runner must mount its socket in /etc/gitlab-runner/config.toml:

[runners.docker]

volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache"]

Deploy jobs run in alpine with openssh-client and only ne

冒頭だけを表示しています。続きはリポジトリで読めます