odse-mcp
Provides tools for converting Huawei telemetry payloads into ODS-E energy records and validating them according to the odse schema.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@odse-mcpConvert this telemetry payload to ODS-E"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@asobacloud/odse-mcp
MCP server for ODS-E energy telemetry conversion. AI coding/data agents call its tools over the Model Context Protocol to convert OEM payloads into ODS-E records and validate them via the published odse Python package.
The installed odse package is the source of truth for OEM support, transform behavior, and validation semantics.
Quick start
Set ODSE_WORKSPACE to an absolute path used when resolving relative payload_file values. If omitted, the server uses its process working directory. The server speaks MCP over stdio (no HTTP port).
Prerequisite: python3 on PATH must be able to import odse (pip install odse).
Cursor
Add to ~/.cursor/mcp.json or the project .cursor/mcp.json:
{
"mcpServers": {
"odse": {
"command": "npx",
"args": ["-y", "@asobacloud/odse-mcp"],
"env": {
"ODSE_WORKSPACE": "/absolute/path/to/your/data"
}
}
}
}Restart Cursor (or reload MCP servers), then ask the agent to convert or validate ODS-E data.
Claude Code
CLI (user scope):
claude mcp add --transport stdio --scope user \
--env ODSE_WORKSPACE=/absolute/path/to/your/data \
odse -- npx -y @asobacloud/odse-mcpOr put the same JSON under mcpServers in project .mcp.json (team-shared) or ~/.claude.json (user-wide):
{
"mcpServers": {
"odse": {
"command": "npx",
"args": ["-y", "@asobacloud/odse-mcp"],
"env": {
"ODSE_WORKSPACE": "/absolute/path/to/your/data"
}
}
}
}Verify with claude mcp list. Project .mcp.json servers need approval the first time you open the repo in Claude Code.
Codex
CLI:
codex mcp add odse --env ODSE_WORKSPACE=/absolute/path/to/your/data -- npx -y @asobacloud/odse-mcpOr edit ~/.codex/config.toml (or project .codex/config.toml in a trusted project):
[mcp_servers.odse]
command = "npx"
args = ["-y", "@asobacloud/odse-mcp"]
[mcp_servers.odse.env]
ODSE_WORKSPACE = "/absolute/path/to/your/data"Codex CLI, the IDE extension, and the ChatGPT desktop Codex host share this config.
Run directly
pip install odse
npx -y @asobacloud/odse-mcpRelated MCP server: odxproxy-mcpserver
Tools
Tool | Runtime | What it does |
|
| Returns OEM source keys from the installed |
|
| Calls |
|
| Calls |
ConvertToODSE
Argument | Description |
| Raw telemetry text (CSV or JSON) |
| Path to a telemetry file (relative paths resolve against |
| OEM key (e.g. |
| Optional asset id forwarded to |
| Optional timezone forwarded to |
| Timeout in ms (default |
Example (explicit source):
{
"name": "ConvertToODSE",
"arguments": {
"source": "huawei",
"payload": "Time,Active Power(kW),Inverter State\n2024-01-01 12:00:00,12.0,0\n"
}
}Successful responses are JSON on the tool text channel, for example:
{
"records": [
{
"timestamp": "2024-01-01T12:00:00Z",
"kWh": 1.0,
"error_type": "normal",
"error_code": "0"
}
],
"count": 1,
"source": "huawei",
"odse_version": "0.8.2"
}Live-fetch arguments (url, headers, body, …) are rejected: not part of this release.
ValidateODSERecord
Pass records as a JSON string of an array of objects. Optional level is forwarded to odse.validate_batch (default schema).
{
"name": "ValidateODSERecord",
"arguments": {
"records": "[{\"timestamp\":\"2024-01-01T12:00:00Z\",\"kWh\":1.0,\"error_type\":\"normal\"}]"
}
}Validation follows odse.validate_batch package semantics (not a separate JSON Schema checker). Extra properties and numeric bounds behave as the installed odse version defines them.
Tool exit code 1 becomes isError: true on the MCP result. Unexpected crashes are reported as errors.
Requirements
Runtime | Required for |
Node.js ≥ 22 | MCP server |
Python 3 + | All tools ( |
Architecture
rules/*.json → tool schemas + execution specs
scripts/*.py → odse wrappers (list / convert / validate)
src/loader.ts → bundled rules
src/runner.ts → spawn, timeouts, exit-code → isError
src/index.ts → MCP stdio server
bin/cli.js → npx / bin entrypointDevelopment
git clone https://github.com/AsobaCloud/odse-mcp.git
cd odse-mcp
python3 -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install odse
npm install
npm run build
npm testScript | Purpose |
| Compile TypeScript → |
| E2E via real MCP |
| Run the server on stdio |
|
|
Local MCP config (instead of npx):
{
"mcpServers": {
"odse": {
"command": "node",
"args": ["/absolute/path/to/odse-mcp/dist/index.js"],
"env": {
"ODSE_WORKSPACE": "/absolute/path/to/your/data",
"PATH": "/absolute/path/to/odse-mcp/.venv/bin:/usr/bin:/bin"
}
}
}
}Ensure the PATH (or environment) makes python3 resolve to an interpreter that can import odse.
Releasing
CI runs build + E2E on every push/PR (Node 22 + pip install odse). To publish a new version:
Bump
versioninpackage.jsonCommit, push, and create a GitHub Release (
gh release create vX.Y.Z --generate-notes).github/workflows/publish.ymlpublishes to npm (Trusted Publisher / OIDC, orNPM_TOKENif configured)
License
MIT © Asoba
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-qualityBmaintenanceMCP server providing tools for AI-agents to interact with Enapter EMS.Last updatedApache 2.0- Flicense-qualityDmaintenanceMCP server for interacting with Odoo/ODX resources via ODXProxy, enabling programmatic access for MCP-compatible clients.Last updated1
- Flicense-qualityCmaintenanceMCP server for querying Huwise/Opendatasoft data portals. Enables dataset search, metadata retrieval, record filtering with ODSQL, and data export.Last updated2
- FlicenseAqualityCmaintenanceRead-only MCP server for querying solar generation, consumption, and DER telemetry from SolarNetwork via the SolarQuery API. Zero-config against a public demo node.Last updated5
Related MCP Connectors
MCP server for fcc-ecfs
MCP server wrapping the Tesla Fleet API and TeslaMate API
MCP server for Withings health data — sleep, activity, heart, and body metrics.
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/AsobaCloud/odse-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server