pybme-mcp
pybme-mcp
pyBMEをラップするModel Context Protocol (MCP) サーバーです。LLMエージェントがコードではなく自然言語の意図を通じてベイズ最大エントロピー(BME)地球統計解析を実行できるようにします。
機能
このサーバーは、不確実性推論パイプラインを形成する7つのツール、6つのリソース、および4つのプロンプトを公開します:
ingest_external_scenario_evidence → inspect_modeling_context
→ fit_uncertainty_model → run_uncertainty_update
→ explain_uncertainty_drivers
→ compare_operator_approaches
→ design_next_observation_or_scenarioツール
ツール | 目的 |
| ハード/ソフト観測値およびネットワークトポロジーのインポート |
| 問題タイプの検出とモデルファミリーの推奨 |
| 交差検証を用いた空間またはネットワーク共分散モデルの適合 |
| 推定ターゲットでのBME予測の実行 |
| 特定の場所における不確実性の要因の特定 |
| ユークリッド、グラフ、物理情報に基づいた演算子の比較 |
| 分散低減による候補センサー配置のランク付け |
サポートされているモデルファミリー
spatial — ユークリッド共分散(指数、ガウス、球状など)
space_time — 分離可能な時空間共分散
graph_laplacian — ネットワークトポロジー上のグラフ拡散カーネル
physics_informed_network — 物理的に整合性のあるネットワーク共分散
spectral_hodge — フローネットワークのためのスペクトルHodge分解
Related MCP server: ladybug-tools-mcp
インストール
最初にpyBMEをインストールしてください(まだPyPIにはありません):
pip install git+https://github.com/wiesnerfriedman/pybme.git次にMCPサーバーをインストールします:
pip install git+https://github.com/wiesnerfriedman/pybme-mcp.gitまたはローカルクローンから:
git clone https://github.com/wiesnerfriedman/pybme-mcp.git
cd pybme-mcp
pip install -e ".[dev]"設定
Claude Desktop
claude_desktop_config.jsonに追加します:
{
"mcpServers": {
"pybme": {
"command": "pybme-mcp"
}
}
}VS Code (Copilot)
.vscode/mcp.jsonに追加します:
{
"servers": {
"pybme": {
"type": "stdio",
"command": "pybme-mcp"
}
}
}使用方法
設定が完了したら、エージェントに以下のように尋ねてください:
"PM2.5の観測値に不確実性モデルを適合させて"
"この雨水ネットワークでネットワーク対応のBME更新を実行して"
"ユークリッド演算子とグラフ・ラプラシアン演算子を比較して"
"不確実性を最も低減するために、次にどこにセンサーを配置すべきか?"
ツールチェーン全体のステップバイステップのチュートリアルについては、examples/mcp_agent_demo.ipynbを参照してください。
開発
git clone https://github.com/wiesnerfriedman/pybme-mcp.git
cd pybme-mcp
pip install -e ".[dev]"
pytestレイアウト
pybme-mcp/
├── docs/
│ ├── pybme-openswmm-integration.md
│ └── v1-mcp-spec.md
├── examples/
│ └── mcp_agent_demo.ipynb
├── pyproject.toml
├── src/pybme_mcp/
│ ├── __init__.py
│ ├── __main__.py
│ ├── registry.py
│ ├── schemas.py
│ ├── serialisation.py
│ ├── server.py
│ └── services/
│ ├── catalog.py
│ ├── comparison.py
│ ├── context.py
│ ├── explanation.py
│ ├── fitting.py
│ ├── hodge.py
│ ├── ingest.py
│ ├── scenario_design.py
│ └── update.py
└── tests/
├── conftest.py
├── test_ingest.py
└── test_integration.pyライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Calling Protocol server that enables LLMs to perform rigorous Bayesian analysis and probabilistic reasoning, including inference, model comparison, and predictive modeling with uncertainty quantification.4MIT
- Alicense-qualityAmaintenanceEnables natural-language interaction with Ladybug Tools for building performance simulation, 3D modeling, and data visualization, allowing agents to perform complex environmental analysis tasks without CAD software.3GPL 3.0
- Alicense-qualityDmaintenanceEnables natural language interaction with the DSSAT crop model for simulation, calibration, and sensitivity analysis through LLM agents.1MIT
- FlicenseAqualityBmaintenanceEnables AI agents to query Earth observation data, satellite imagery, active fires, and weather via natural language, returning interactive maps and briefs.12
Related MCP Connectors
Deterministic reasoning stack for AI agents: simulate, decide & compute, plus cross-domain tools.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Agent-to-agent reasoning-as-a-service: chain-of-thought, analysis, and decision support.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wiesnerfriedman/pybme-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server