はじめに
エージェントを接続する
TerraLab は、Streamable HTTP のリモート MCP サーバーです。どのエージェントでも、1 つの URL で使えます。
https://mcp.terra-lab.ai/mcp
初回は、エージェントが TerraLab へのサインインを求めます。無料の呼び出しの残りと残高は、ダッシュボード、MCP で確認できます。
Claude
入力済みのダイアログを開きます:TerraLab を Claude に追加。Add、Connect の順にクリックして、TerraLab にサインインします。
または、Claude で Settings、Connectors、Add custom connector の順に開き、サーバーの URL を貼り付けます。
ChatGPT
ChatGPT の TerraLab アプリを開いて Add をクリックし、メッセージを @TerraLab から始めます。
Claude Code
ターミナルで次を実行します。
claude mcp add --transport http terralab https://mcp.terra-lab.ai/mcp
その後、Claude Code で /mcp を実行して、TerraLab にサインインします。すぐに使える GIS ワークフローは plugin として提供されています。
/plugin marketplace add TerraLabAI/mcp
/plugin install terralab@terralab-ai-apps
Codex
codex mcp add terralab --url https://mcp.terra-lab.ai/mcp
Codex がサーバーを追加し、ブラウザーで TerraLab のサインイン画面を開きます。その後は CLI、IDE 拡張機能、アプリで使えます。~/.codex/config.toml の同じエントリーは次のとおりです。
[mcp_servers.terralab]
url = "https://mcp.terra-lab.ai/mcp"
Cursor
インストールリンクを開きます:TerraLab を Cursor に追加。Cursor にサーバーが表示されるので、Install をクリックし、求められたらサインインします。
または、Cursor の MCP 設定でリモートサーバーを追加します。.cursor/mcp.json には次のように書きます。
{
"mcpServers": {
"terralab": { "url": "https://mcp.terra-lab.ai/mcp" }
}
}
VS Code
インストールリンクを開きます:TerraLab を VS Code に追加。Install をクリックして TerraLab にサインインし、エージェントモードの Copilot に質問します。
または、.vscode/mcp.json に次のように書きます。
{
"servers": {
"terralab": { "type": "http", "url": "https://mcp.terra-lab.ai/mcp" }
}
}
その他のエージェント
リモート MCP サーバーの URL を指定できるエージェントなら、上の URL を追加するだけで、TerraLab のサインイン画面が開きます。Gemini CLI の場合は次のとおりです。
gemini mcp add --transport http -s user terralab https://mcp.terra-lab.ai/mcp
ツール
サーバーは 29 個のツールを提供しています。各ツールのパラメーターとリクエスト例は、API リファレンスに載っています。MCP のツールと REST の endpoint は、同じ名前と同じ引数を共有します。
- Places: Find places and addresses, Convert coordinates, Measure distance, area, radius or buffer
- Map data: Extract open map data for an area, Open, map and convert GIS data, Buffer, merge, clip or simplify features
- Terrain and routes: Elevation, profile and contour lines, Road route between places, Area reachable in a travel time
- Imagery and land: Satellite image of an area, Forest type (natural, planted, plantation), Estimate the population of an area
- France: French cadastral parcel and zoning, French building heights, Natural risks at an address or a point
- Data catalog: Find a dataset in the TerraLab catalogue, Extract a hosted dataset for an area, Ask TerraLab to add data it does not have
質問の例
- 「この 40 件の住所の座標を調べて、QGIS 用の CSV にしてください。」
- 「アヌシー駅から 1 km 以内の建物と道路を、GeoPackage として抽出してください。」
- 「シャモニーからエギーユ・デュ・ミディまでの標高断面を出してください。」
- 「アヌシーのリュ・ド・ラ・ペ 12 番地には、どの自然リスクがありますか。」
エージェントが対応していれば、回答にはチャット内の地図が表示され、QGIS、ArcGIS、Google Earth で開けるファイルも提供されます。
トラブルシューティング
- Claude では TerraLab が接続済みと表示されるのに、ツールがない。 2026 年 10 月 26 日より前に追加した場合は、コネクターを削除してから追加し直してください。そうすると Claude が TerraLab のサインインを案内します。
- エージェントが、無料の呼び出しを使い切ったと言う。 ダッシュボード、MCP でチャージするか、翌月 1 日まで待ってください。料金と無料の呼び出しをご覧ください。
- ツールがエラーを返す。
messageとhintに、何を変更すればよいかが書かれています。エラーとレート制限をご覧ください。
2026-10-27 更新