Keturah
A uniform, MCP-bridgeable manifest of a product's LLM-consumable interfaces.
Keturah lets any family product — library or service — answer one question:
what can an LLM call here, and how? Each interface is a Capability (name,
description, JSON-Schema input/output); a Manifest bundles them with the product
and version. The name is biblical ("incense / that which is offered up") — the
catalog of what each product offers.
There is already a standard for this — Model Context Protocol (MCP) — and
Keturah does not replace it. Manifest.to_mcp() projects a manifest onto MCP's
tools/list shape, so a real MCP server is a thin adapter over a Keturah manifest
rather than a parallel definition. Keturah exists because the family is a mix of
libraries and services, and because manifests should be built from the seam
contracts a product already enforces (Deborah's plan schema, Milcah's
specialist request/result, Mahalath's match, Galeed's events) so the manifest and
the contract never drift.
from keturah import manifest, capability, Registry, MANIFEST_SCHEMA_VERSION
m = manifest(
"tirzah",
version="1.3.0",
capabilities=[
capability(
"ask",
"Answer a question over Tirzah's memory.",
input_schema={
"type": "object",
"properties": {"query": {"type": "string"}},
"required": ["query"],
},
output_schema={
"type": "object",
"properties": {
"answer": {"type": "string"},
"traceId": {"type": "string"},
},
},
tags=["qa", "memory"],
),
capability(
"capabilities",
"List this product's interfaces.",
kind="resource",
tags=["discovery"],
),
capability(
"system_prompt",
"Default system prompt for agents using this product.",
kind="prompt",
),
],
)
m.schema_version # MANIFEST_SCHEMA_VERSION ("1.0")
m.to_dict() # full manifest (descriptions + schemas)
m.to_mcp() # MCP tools/list — tools only; includes outputSchema
m.resources() # kind="resource" capabilities
m.prompts() # kind="prompt" capabilities
A product typically exposes this as capabilities() and, where it is a service, a
GET /api/capabilities endpoint (with ?format=mcp for the MCP view).
Registry (federated discovery)
reg = Registry([m, other_product_manifest])
reg.find("ask") # first (product, capability) match
reg.find("tirzah.ask") # namespaced — same form to_mcp() emits
reg.find("ask", product="tirzah") # explicit product wins
reg.find_all("ask") # every product exposing that tool name
reg.tools() # all kind="tool"
reg.resources() # all kind="resource"
reg.prompts() # all kind="prompt"
reg.with_tag("planner")
reg.to_mcp() # union tools/list; names are product.tool
MCP projection
Capability.to_mcp_tool() / Manifest.to_mcp() / Registry.to_mcp() emit the
MCP tools/list shape:
| Keturah field | MCP field |
|---|---|
name |
name (Registry namespaces as product.tool) |
description |
description |
input_schema |
inputSchema |
output_schema |
outputSchema (omitted when unset) |
Only kind="tool" entries appear in to_mcp(). Resources and prompts stay on
the Keturah surface (resources() / prompts()); a real MCP server can map them
to MCP prompts/resources resources separately via keturah.mcp.run_stdio_server.
Manifest validation requires schema_version equal to
MANIFEST_SCHEMA_VERSION so consumers can version-gate.
Review
A point-in-time functional + code review of 0.4.0 is in
docs/review-2026-08-08.md; findings actioned in
0.5.0 (Stage 0 field validation, no . in capability names, MCP parse
errors, to_mcp collision guard, band_for non-finite).
Develop
Works the same on native Linux and WSL — stdlib-only, no platform-specific steps.
pip install -e ".[dev]" && pytest
Metadata
Release files for keturah 0.5.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 | Provenance | Actions |
|---|---|---|---|---|
| keturah-0.5.1.tar.gz | 34.3 kB | Without provenance | Details for keturah-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| keturah-0.5.1-py3-none-any.whl | Python 3 | none | any | Details for keturah-0.5.1-py3-none-any.whl |
Total release size: 61.7 kB
Release files / keturah-0.5.1.tar.gz
| Download URL | keturah-0.5.1.tar.gz |
|---|---|
| Size | 34.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bb77eb0244f7b3dc1507b53bf20ff6e02a241948b6dc50aeea354d715ba86019
|
|
BLAKE2b-256 checksum How to use checksums |
e888b6b279e59121a118d650fbaeb6c3ebb096b3201f6683dab9d1f6d2a5e715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / keturah-0.5.1-py3-none-any.whl
| Download URL | keturah-0.5.1-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
127d086c03a9d19ed11108e8991e229cf1cb6531594128c576276c0f0cf7064b
|
|
BLAKE2b-256 checksum How to use checksums |
21f3760035fac6cea4c0ec633435e66bba176f4adae95d79dcbed4848bce8317
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for keturah 0.5.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.