pybme-mcp
pybme-mcp
Ein Model Context Protocol (MCP)-Server, der pyBME umschließt – und es LLM-Agenten ermöglicht, geostatistische Bayesian Maximum Entropy-Analysen durch natürlichsprachliche Absichten anstelle von Code durchzuführen.
Was es tut
Der Server stellt 7 Tools, 6 Ressourcen und 4 Prompts bereit, die eine Pipeline für Unsicherheitsanalysen bilden:
ingest_external_scenario_evidence → inspect_modeling_context
→ fit_uncertainty_model → run_uncertainty_update
→ explain_uncertainty_drivers
→ compare_operator_approaches
→ design_next_observation_or_scenarioTools
Tool | Zweck |
| Import von harten/weichen Beobachtungen und Netzwerktopologie |
| Erkennung des Problemtyps und Empfehlung von Modellfamilien |
| Anpassung von räumlichen oder Netzwerk-Kovarianzmodellen mit Kreuzvalidierung |
| Ausführung der BME-Vorhersage an Schätzungszielen |
| Identifizierung der Unsicherheitstreiber an bestimmten Standorten |
| Vergleich von euklidischen vs. Graphen- vs. physikbasierten Operatoren |
| Ranking von Kandidaten für Sensorplatzierungen nach Varianzreduktion |
Unterstützte Modellfamilien
spatial — Euklidische Kovarianz (exponentiell, Gauß, sphärisch, …)
space_time — Separierbare Raum-Zeit-Kovarianz
graph_laplacian — Graphendiffusionskern auf Netzwerktopologie
physics_informed_network — Physikalisch konsistente Netzwerkkovarianz
spectral_hodge — Spektrale Hodge-Dekomposition für Flussnetzwerke
Related MCP server: ladybug-tools-mcp
Installation
Installieren Sie zuerst pyBME (noch nicht auf PyPI verfügbar):
pip install git+https://github.com/wiesnerfriedman/pybme.gitInstallieren Sie dann den MCP-Server:
pip install git+https://github.com/wiesnerfriedman/pybme-mcp.gitOder von einem lokalen Klon:
git clone https://github.com/wiesnerfriedman/pybme-mcp.git
cd pybme-mcp
pip install -e ".[dev]"Konfiguration
Claude Desktop
Fügen Sie dies zu claude_desktop_config.json hinzu:
{
"mcpServers": {
"pybme": {
"command": "pybme-mcp"
}
}
}VS Code (Copilot)
Fügen Sie dies zu .vscode/mcp.json hinzu:
{
"servers": {
"pybme": {
"type": "stdio",
"command": "pybme-mcp"
}
}
}Verwendung
Sobald die Konfiguration abgeschlossen ist, können Sie Ihren Agenten Dinge fragen wie:
"Fit an uncertainty model to my PM2.5 observations"
"Run a network-aware BME update on this stormwater network"
"Compare Euclidean vs graph Laplacian operators"
"Where should I place the next sensor to reduce uncertainty the most?"
Siehe examples/mcp_agent_demo.ipynb für eine Schritt-für-Schritt-Anleitung der gesamten Tool-Kette.
Entwicklung
git clone https://github.com/wiesnerfriedman/pybme-mcp.git
cd pybme-mcp
pip install -e ".[dev]"
pytestLayout
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.pyLizenz
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