columna-server
The Columna MCP server (ADR-032 D8): a library of Manifolds exposed to AI agents over MCP, with one contract — every tool returns the same outcome/disclosure structure the Python API returns. This is the wedge product: the first metrics MCP server that can say "it depends."
What ships here, typed honestly. The packaged demo (Cascadia) is hand-authored, carries no
SOURCE_MANIFOLD, and is classifiedENTRY_LEGACYby admission: it demonstrates serving and the four moods, not the governed path. The governed artifact is firstlight (columna_server/governed/firstlight/) — a governed publication, a compiled execution image and the lowering receipt that binds them, admittedENTRY_GOVERNEDand exercised by standing tests. And this package consumes governed publications rather than producing them: the author → ratify → publish third of the lifecycle is not here, and no public governed authoring surface is open (topology record §§17.2–17.3).
Run
pip install columna-core columna-server
columna-server demo --play # the packaged demo: clarify -> refuse -> disclose -> serve
columna-server demo # serve the packaged demo over MCP stdio (no path args)
columna-server mcp --manifolds <dir> # serve your own manifolds dir over stdio
columna-server mcp --manifolds <dir> --http :8000 # streamable-http, gated by COLUMNA_MCP_TOKEN
# Natural-language agent (a true MCP client over the server); needs the [agent] extra + a key:
pip install "columna-server[agent]"
ANTHROPIC_API_KEY=... columna-server agent # chat REPL over the packaged demo
The agent turns natural language into a proposed Frame-QL query, spawns the server over stdio,
and lets the four moods drive the conversation — it never touches the engine in-process. The model
proposes, the planner disposes, the human decides (clarifies are relayed, never auto-picked; every
number comes verbatim from the wire). See demos/agent_transcript.md.
Model via COLUMNA_AGENT_MODEL (default claude-opus-4-8).
Richer run. The packaged demo ships a small (~330 KB) warehouse. To run the same benchmark
Manifold over the full 4.7 MB warehouse (299,934 transactions), point --manifolds at a directory
whose data.toml warehouse path is the repo's packages/columna-core/demos/warehouse.
From source (contributors):
git clone https://github.com/datumwise/columna && cd columna, thenpip install -e packages/columna-core -e "packages/columna-server[test]"andpytest packages/columna-server -q.
<dir> holds <id>/manifold.cml + data.toml (connector type + data path). Manifolds are parsed
and connected once at startup.
Tools (five, read-only — no SQL, no writes)
| tool | touches data? | returns |
|---|---|---|
list_manifolds() |
no | the catalog: governed publication lineages (manifold_id, latest_version, versions[] with per-version realizable) + classified legacy/authority_incomplete compatibility runtimes |
describe_manifold(manifold_id) |
no | dimensions/levels, edges (+ lineage), universes (+ predicate), measure index |
describe_measure(manifold_id, measure) |
no | family triple, per-member anchors, dtype, v-anchor {universe, grain}, m-anchor, provenance |
query(manifold_id, frameql, universe?) |
yes | the wire contract (serve/disclose/clarify/refuse/error) |
explain(manifold_id, frameql, universe?) |
no (fetches_delta: 0) |
the would-be outcome + disclosures |
frameql is "<columns> @ <anchor>" (e.g. "rate: revenue / level.last @ store, day"); the
envelope is parsed here and every expression is delegated to columna-core — one expression dialect.
The contract
Outcomes are data (the four moods), and disclosures are structured {code, materiality, severity, category, detail, remedy, source, rel_error} via columna_core.disclosure_wire — the same
serialization every surface shares. Clarify alternatives are mechanically substitutable (a universe
pin carries apply: {"universe": U}).
See demos/mcp_claude_desktop.md for a Claude Desktop config and a
real clarify → answer transcript.
Release files for columna-server 0.11.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| columna_server-0.11.1.tar.gz | 830.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| columna_server-0.11.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / columna_server-0.11.1.tar.gz
| Download URL | columna_server-0.11.1.tar.gz |
|---|---|
| Size | 830.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90f3660441b7f1be33829e301158590d29aca67f183c970698c8230e16c3fffd
|
|
BLAKE2b-256 checksum How to use checksums |
f88e2ed7c0947baf1fcba2d0b3084a922cb4d28309a76552ebb31f908a98574e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency logRelease files / columna_server-0.11.1-py3-none-any.whl
| Download URL | columna_server-0.11.1-py3-none-any.whl |
|---|---|
| Size | 773.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03a2bd89b855b5cc6b2aa347e90bfdc5a8c79696d6e46e0bee541d202b869e1e
|
|
BLAKE2b-256 checksum How to use checksums |
c585f6e47c02ff03eaebef10d13777013f4ec4b1be3bcdc68c4d243bb21e94b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 31, 2026.
Transparency log