
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

An MCP server that turns ISO 20022 banking XML messages into a queryable RDF knowledge graph exposed as tools for AI agents.
Ontology MCP Server is cataloged as an MCP server attributed to mrcholis. An MCP server that turns ISO 20022 banking XML messages into a queryable RDF knowledge graph exposed as tools for AI agents. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Ontology MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports pacs.008, pacs.009, camt.053, camt.054, camt.056, camt.026, and camt.029 messages.
Persistent storage uses Oxigraph, and it falls back to in-memory rdflib if Oxigraph isn't installed.
README.md · 579f817cf61a · Fetched 2026-11-13 12:07:59 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Turn ISO 20022 banking messages into a queryable knowledge graph — accessible to any AI agent via MCP.
Banks, fintechs, and payment processors deal with thousands of ISO 20022 messages daily (pacs.008 payments, camt.056 cancellations, camt.029 responses). These XML files are dense, interconnected, and nearly impossible to query across — until now.
Ontology ingests ISO 20022 XML, extracts structured financial signals, builds an RDF knowledge graph, and exposes it as native tools that any MCP-compatible AI agent can use.
pip install ontology-mcp
python mcp_server.py
# Connect Claude Desktop, Cursor, or any MCP client
ISO 20022 is the global standard for financial messaging. Every payment, settlement, cancellation, and statement flows through it. But the data is trapped:
Ontology solves all three by building a typed, linked knowledge graph with a natural-language interface.
docker pull ghcr.io/mrcholis/ontology-mcp:latest
docker run ghcr.io/mrcholis/ontology-mcp
Or run the demo:
docker run ghcr.io/mrcholis/ontology-mcp python demo.py
pip install ontology-mcp
# Or with persistent storage:
pip install "ontology-mcp[oxigraph]"
python -m ontology_mcp.demo
This loads sample ISO 20022 messages and shows you what the graph looks like.
python mcp_server.py
Add to your claude_desktop_config.json:
{
"mcpServers": {
"ontology": {
"command": "python",
"args": ["/path/to/ontology-mcp/mcp_server.py"]
}
}
}
Restart Claude. Now you can ask:
"Load the XML files from my messages folder and find all transactions above $50,000 involving BLUEUSNY"
"What is the full lifecycle of cancellation case 20220718USDDSA9407803873?"
"Are there any anomalies or balance mismatches in the loaded data?"
| Tool | What it does |
|---|---|
extract_and_map | Parse ISO 20022 XML → signals → RDF, merge into graph |
load_xml_file | Load an XML file from disk and process it |
load_output_directory | Load all pre-built .ttl files from a folder |
query_lifecycle | Full message chain for a case ID / transaction ID / BIC |
sparql_query | Run arbitrary SPARQL against the graph |
find_anomalies | Flag high-value transactions, rejected cancellations, balance mismatches |
get_institution_activity | All messages for a BIC code, with totals by type |
graph_stats | Triple count, signal breakdown, BIC inventory |
start_stream_server | Start a WebSocket server for streaming XML ingest |
push_stream_message | Push an XML message over WebSocket in real-time |
| Message | Description |
|---|---|
pacs.008 | Payment initiation (FI → FI) |
pacs.009 | Payment settlement |
camt.053 | Account statement |
camt.054 | Debit/credit notification |
camt.056 | Cancellation request |
camt.026 | Unable to apply |
camt.029 | Cancellation response / resolution |
ISO 20022 XML
|
v
FinancialSignalExtractionPipeline → extracts typed Python signal objects
|
v
FinancialSignalToRDFMapper → maps signals to RDF triples
|
v
RDF Knowledge Graph (rdflib / Oxigraph)
| queryable via SPARQL
v
MCP Tools (mcp_server.py) → exposed over stdio transport
|
v
AI Agent / Claude Desktop
Persistent storage uses Oxigraph (RocksDB-backed). Falls back to in-memory rdflib if Oxigraph isn't installed.
User: What happened with cancellation case 20220718USDDSA9407803873BLUEUSNY001?
Agent: I found 4 messages in the lifecycle:
1. pacs.008 — Payment initiated (BLUEUSNY → FEDNYUSS)
$94,078.03 USD on 2022-07-18
2. camt.056 — Cancellation requested by BLUEUSNY
Reason: duplicate submission
3. camt.029 — Cancellation rejected
Reason: payment already settled
4. camt.026 — Unable to apply notification sent to BLUEUSNY
User: Are there any unusual transactions?
Agent: Found 4 high-value transactions (>$50K):
- TXN_20220718_001: $94,078.03 (BLUEUSNY → FEDNYUSS)
...
Found 1 rejected cancellation:
- Case 20220718USDDSA9407803873: rejected (already settled)
git clone https://github.com/mrcholis/ontology-mcp
cd ontology-mcp
python3.11 -m venv venv311
source venv311/bin/activate
pip install -e ".[all]"
# Run tests
python _test_mcp_v2.py
http://example.org/ namespaces)pain.001 / pain.002 payment initiation messagesMIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Ontology MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/ontology-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.