MCP server for the Octid Semantic Mesh Protocol. 86.8% byte reduction vs JSON. 70.5% vs compiled protobuf. Inference-free decode. Any channel.
Project description
OSMP MCP Server
MCP server for the Octid Semantic Mesh Protocol (OSMP). Gives any MCP-compatible AI client native OSMP capability: encode, decode, and resolve agentic instructions by table lookup. No inference at decode.
86.8% byte reduction vs JSON. 70.5% vs compiled Protocol Buffers. 76.0% token reduction.
Install
pip install osmp-mcp
Tools (8)
| Tool | What it does |
|---|---|
osmp_encode |
Encode structured fields into a SAL instruction |
osmp_decode |
Decode a SAL instruction to structured fields |
osmp_compound_decode |
Decode compound multi-frame instructions with DAG topology |
osmp_lookup |
Search the 341-opcode dictionary by namespace and keyword |
osmp_resolve |
Resolve a domain code (ICD-10, ISO 20022, MITRE ATT&CK) |
osmp_batch_resolve |
Resolve multiple domain codes in one call |
osmp_discover |
Keyword search across MDR corpora |
osmp_benchmark |
Run the conformance suite |
Resources (6)
| Resource | Content |
|---|---|
osmp://system_prompt |
Agent bootstrap prompt |
osmp://about |
Protocol summary |
osmp://dictionary |
Full ASD with 341 opcodes |
osmp://grammar |
SAL formal grammar |
osmp://corpora |
Available MDR corpora |
osmp://examples |
Worked instruction examples |
Bundled Corpora
- ICD-10-CM FY2026 (74,719 clinical codes, 477 KB)
- ISO 20022 eRepository (47,835 financial definitions, 1.2 MB)
- MITRE ATT&CK Enterprise v18.1 (1,661 entries, 20 KB)
Links
Apache 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file osmp_mcp-1.0.13.tar.gz.
File metadata
- Download URL: osmp_mcp-1.0.13.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7421070fd8518e03f5b2ff4364eb752ff57660bbb191b6b67756abf281115f56
|
|
| MD5 |
357eee55d9570eae85606d7a90eb71a9
|
|
| BLAKE2b-256 |
5f8441d261ce9091b97f19a7701457d2ef13cd0811198950c132cb53c17e4d18
|
File details
Details for the file osmp_mcp-1.0.13-py3-none-any.whl.
File metadata
- Download URL: osmp_mcp-1.0.13-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a16b1c9ab44e8ea7fcc30da531541986ace293ce8591c7fc43cc8e087143d094
|
|
| MD5 |
1a5036cffc213d83f575472db4748a43
|
|
| BLAKE2b-256 |
6a12d2e7e099a96b7ba10ea0648b32f2bc17eff714adcc2269a338af2edd0c65
|