
ASAM ODS odsbox jaquel MCP Server
io.github.totongaPublished by GitHub account totongav1.8.3Updated Oct 24, 2026
MCP server for ASAM ODS with Jaquel query tools, connection management, and data access
Overview
Local MCP server for ASAM ODS that lets an assistant connect to ODS servers, inspect schemas, validate and run Jaquel queries, and read measurement data.
- What you can do
- Manage ODS connections: connect, connect via environment variables, disconnect, check status and connection info. Inspect schemas: list entities and relationships, get entity fields, explore the AoTest to AoMeasurement hierarchy. Build and validate Jaquel queries: validate syntax, get plain-English explanations, generate skeletons, list patterns and operator docs, execute queries. Access measurement data: list quantities, read timeseries/submatrix data, generate Python fetcher scripts. Generate analysis aids: Jupyter notebooks for measurement comparison, Matplotlib visualization code, statistical comparison and correlation.
- When to use it
- Useful when working with ASAM ODS measurement repositories and you want an assistant to explore the schema, draft and check Jaquel queries, or pull timeseries data for comparison and visualization without hand-writing the API calls.
- Requirements
- Runs locally over stdio, typically launched with uvx from the PyPI package (Python/uv required). Needs network access to a reachable ASAM ODS server and credentials for it: basic mode uses ODSBOX_MCP_URL, ODSBOX_MCP_USER and ODSBOX_MCP_PASSWORD; m2m mode uses ODSBOX_MCP_M2M_TOKEN_ENDPOINT, ODSBOX_MCP_M2M_CLIENT_ID and ODSBOX_MCP_M2M_CLIENT_SECRET; oidc mode uses ODSBOX_MCP_OIDC_CLIENT_ID and ODSBOX_MCP_OIDC_REDIRECT_URI. Optional [play] extra adds pandas, matplotlib and scipy.
Installation
In SourceWeft
- Open ASAM ODS odsbox jaquel MCP Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
ASAM ODS Jaquel MCP Server
[PyPI version] [Apache 2.0 License] [Python] [Status] [Build Status] [Stars]
A Model Context Protocol (MCP) server for ASAM ODS with odsbox Jaquel query tools, ODS connection management, and measurement data access.
Overview
- 🔌 Built-in ODS connection management
- 🧰 MCP tools: schema inspection, query validation, direct ODS query execution and measurement data analysis
- 🏗️ Entity hierarchy visualization (AoTest → AoMeasurement)
- 🚀 Validate, explain and execute JAQueL queries for ASAM ODS
- 📦 Bulk timeseries/submatrix data access and script generation
- 📊 Automatic Jupyter notebook generation for measurement comparison
- 📈 Matplotlib visualization code generation
- 📉 Statistical measurement comparison and correlation analysis
- 🔎 Measurement hierarchy exploration and discovery
- 💡 Interactive starting prompts for guided workflows
- 🤖 AI-guided bulk API learning with
help_bulk_apitool - 📝 Comprehensive documentation and test suite
Documentation
- Prompts Guide: See
PROMPTS.mdfor starting prompts documentation - Tool Reference: See
TOOLS_GUIDE.md - Changelog: See
CHANGELOG.md
Quick Start
Installation
Using uvx (Recommended)
The easiest way to use this MCP server is with uvx:
This automatically installs and runs the server without managing virtual environments.
Using uv tool (persistent install)
For a persistent installation:
Using project virtual environment
Note: The
[play]extra includes optional data analysis and visualization dependencies (pandas, matplotlib, scipy) for working with Jupyter notebooks and data analysis.
Running the Server
The server runs on stdin/stdout and waits for MCP messages from an MCP client:
Configuration for MCP Clients
Add to your MCP client configuration (e.g., Claude Desktop, VS Code):
Or with uv tool:
Environment Variables
See TOOLS_GUIDE.md for the full list of authentication variables and keyring fallback details.
Secrets are looked up in the ods-pilot keyring service first using <service>::<username> records, then in the legacy direct service lookup if no entry is found.
Usage Monitoring
When ODSBOX_STATS_ENABLED=true is set, the server records tool call and resource read statistics to a local SQLite database:
- Location:
~/.local/share/odsbox-jaquel-mcp/odsbox-jaquel-mcp-stats.db(Linux/macOS) or%APPDATA%\odsbox-jaquel-mcp\odsbox-jaquel-mcp-stats.db(Windows), with fallback to the system temp directory. - Tracked per tool: call count, error count, total execution time (ms), last called timestamp.
- Tracked per resource: read count, error count, total execution time (ms), last read timestamp.
- Cross-process safe: uses SQLite WAL mode, so multiple concurrent MCP sessions can write safely.
You can query the stats database directly:
Example MCP client configuration with monitoring enabled:
Development
Setup
Common Tasks
Contributing
Pull requests and issues are welcome! Please:
- Follow PEP8 and use type hints
- Add/maintain tests for new features
- Update documentation as needed
License
This project is licensed under the Apache License 2.0. See LICENSE.
Links
Features
Core MCP Tools
Connection Management
- ods_connect - Establish ODS connection
- ods_connect_using_env - Establish ODS connection using environment variables
- ods_disconnect - Close ODS connection
- ods_get_connection_info - Get connection status
Schema Inspection
- schema_get_entity - Get all fields for entity
- schema_list_entities - List all entities with relationships
- schema_test_to_measurement_hierarchy - Get ASAM ODS test hierarchy structure
Query Building & Validation
- query_validate - Check query syntax and structure
- query_describe - Get plain English explanation
- query_execute - Execute query on ODS server
Timeseries/Submatrix Data Access
- data_get_quantities - List measurement quantities for submatrix
- data_read_submatrix - Read timeseries data from submatrix
- data_generate_fetcher_script - Generate Python scripts for data fetching
Pattern & Example Library
- query_generate_skeleton - Generate query skeleton (basic query) for entity
- query_get_pattern - Get template for common patterns
- query_list_patterns - List available patterns
- query_get_operator_docs - Learn about operators
Starting Prompts
Discover and use the server's capabilities through interactive guided prompts:
- ODS Server Connection - Set up and manage connections
- Validate a Jaquel Query - Learn query validation
- Explore Query Patterns - Find common query templates
- Bulk Data Access - Master the 3-step Bulk API workflow
- Measurement Analysis - Compare measurements and visualize data
See PROMPTS.md for complete details on all starting prompts.
Error Handling
Common Errors and Solutions
Not connected
Solution: Call ods_connect first
Invalid entity
Solution: Use valid entity from available_entities
Invalid field
Solution: Use one of the suggested fields
Connection failed
Solution: Check URL, server availability, firewall
Troubleshooting
Issue: Tools not discovered
- Ensure mcp>=0.1.0 is installed
- Check ToolsCapability is set in ServerCapabilities
- Restart MCP client
Issue: Schema tools fail
- Ensure ODS server is accessible
- Check username/password
- Verify network connectivity
- Review server logs
Issue: Queries timeout
- Increase request_timeout in connect
- Reduce $rowlimit
- Check ODS server performance
Performance Tips
- Use specific filters - Avoid querying all records
- Limit rows - Always use
$rowlimitappropriately - Select attributes - Only retrieve needed columns/attributes
- Index awareness - Filter on indexed fields first
- Connection reuse - Keep connection open when possible
- Cache schemas - Schema inspection is cached
Security Notes
- Credentials are only held in memory during connection
- Connection is cleaned up on disconnect
- No credentials stored in config files
- Use HTTPS with
verify_certificate: truefor production
Install in VSCode
[install in VSCode]{width=300px}
Try with example server configuration using all three authentication modes via different env prefixes:
Support
For issues or questions:
- Check the error message and hints
- Review the documentation
Source: README.md at commit f64da5b
Tools
0Version history
1- v1.8.3LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.