Skip to main content

OSMP MCP Server — Agentic AI instruction encoding. 86.8% byte reduction vs JSON. 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 protobuf. 76.0% token reduction.

Measured on 29 real-world vectors from MCP, OpenAI, Google A2A, CrewAI, and AutoGen. Compiled .proto verification with protoc 3.21.12.

Install

pip install osmp-mcp

Tools

Tool What It Does
osmp_encode Encode structured fields into a SAL instruction
osmp_decode Decode SAL to structured fields (handles compound instructions)
osmp_compound_decode DAG topology analysis for compound multi-frame instructions
osmp_lookup Search the 341-opcode dictionary by namespace and/or keyword
osmp_resolve Resolve a domain code (ICD-10-CM, ISO 20022, MITRE ATT&CK)
osmp_batch_resolve Resolve multiple domain codes in one call
osmp_discover Keyword search across domain corpora
osmp_benchmark Run the 55-vector conformance benchmark

Resources

Resource Contents
osmp://system_prompt Agent system prompt with grammar and usage rules
osmp://about Protocol summary
osmp://dictionary Full 341-opcode ASD
osmp://grammar SAL formal grammar
osmp://corpora Available MDR corpora and stats
osmp://examples Worked examples across domains

Bundled Corpora

Corpus Entries Binary Size
ICD-10-CM FY2026 74,719 clinical codes 477 KB
ISO 20022 66,956 financial definitions 1.21 MB
MITRE ATT&CK v18.1 1,661 entries 20 KB

Links

Apache 2.0. Patent pending (Application #64/007,684).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osmp_mcp-1.0.14.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osmp_mcp-1.0.14-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file osmp_mcp-1.0.14.tar.gz.

File metadata

  • Download URL: osmp_mcp-1.0.14.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

Hashes for osmp_mcp-1.0.14.tar.gz
Algorithm Hash digest
SHA256 4c7b9eeaebbfc467ec332c51acbb5764d20c2dab326f8e5d493f120884a262ae
MD5 7324401ba69114d102c68e250df25694
BLAKE2b-256 86c8a0e2cb9f1e27ffecc2cad6402df189f644531e1687cd8243e068f4662c47

See more details on using hashes here.

File details

Details for the file osmp_mcp-1.0.14-py3-none-any.whl.

File metadata

  • Download URL: osmp_mcp-1.0.14-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

Hashes for osmp_mcp-1.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 eec6f029a61fabf7f8c4aed5b381cb6d5c0a54277a8c6c942a2e79c94f84b528
MD5 f98c4589a2fe41c98c82f5f460ce36b4
BLAKE2b-256 073ffa5b99da3bdfc57d9cfc17cf16a43f3e494b00cf03c0cbe9e6446410d5a3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page