Python SDK and MCP server for Cumulus Knowledge
Project description
cmls-knowledge
Python SDK, operations ingestion helpers, graph QA helpers, MCP server, and ops-review TUI mode for Cumulus Knowledge.
The SDK uses the cmls-knowledge binary by default. Set CUMULUS_BIN to point at another binary.
from cumulus_knowledge import CumulusKnowledge
knowledge = CumulusKnowledge(root="Documents/rune")
knowledge.index(profile="all")
hits = knowledge.query("auth flow", budget=800)
graph = knowledge.get_graph_view("risk")
Operations helpers:
from cumulus_knowledge import (
extract_operations_entities,
build_relationship_candidates,
score_graph_readability,
detect_missing_citations,
)
entities = extract_operations_entities("demo-project")
relationships = build_relationship_candidates(entities)
quality = score_graph_readability(graph.data)
missing = detect_missing_citations(graph.data)
Ops review TUI mode:
python3 -m cumulus_knowledge.tui --ops-review ./demo-project
Python owns heavier document and operations workflows: invoices, vendors, bank draws, shipments, schedule risks, missing citations, and batch graph quality checks.
Hosted-style API mode:
from cumulus_knowledge import CumulusKnowledge
client = CumulusKnowledge(api_base_url="http://127.0.0.1:8787")
client.create_project({"name": "Demo Operations Project"})
client.upload_folder([{"path": "invoices/demo.md", "content": "Invoice DEMO-INV-001"}])
client.index_project()
graph = client.get_graph_view("finance")
html = client.export_html()
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 cmls_knowledge-0.1.0.tar.gz.
File metadata
- Download URL: cmls_knowledge-0.1.0.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a97223f8c58106365f2926bb135194b259e1be389f4effbb11efd8dc343bd7bb
|
|
| MD5 |
a6ae3defb82db1fd8e0e17e778b4dea7
|
|
| BLAKE2b-256 |
5b230679b0d523f92ce183aeec446a4eaa3cbfb5f7b402d25c275cdfa862d45d
|
File details
Details for the file cmls_knowledge-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cmls_knowledge-0.1.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b88fb79d64551009dc0e0c16aa1c242db8d43f9961786dddbbee2d38a486123
|
|
| MD5 |
9409013649e8b0913876cb9357697d6c
|
|
| BLAKE2b-256 |
cca180cf1000c7e7ede74d666482399a532b0fd5ece67cd75e63d5fce1e5b7b7
|