The Stratta MCP server (Documentation Index
Fetch the complete documentation index at: https://docs.stratta.ch/llms.txt
Use this file to discover all available pages before exploring further.
@stratta/mcp) connects your Claude client to your Stratta workspace. It
speaks the Model Context Protocol over stdio and exposes
18 tools: 8 for reading norms and 10 for ingesting them.
| Package | @stratta/mcp |
| Binary | stratta-mcp |
| Transport | stdio |
| Runtime | Node.js ≥ 20 |
| Authentication | API key (sk_strt_…) |
Authentication
Every tool call is authenticated with your API key. The server validates the key against the Stratta backend, resolves it to your user and organization, and scopes all reads and writes accordingly. The organization is derived from the key — it is never a parameter a client can set.How your key is resolved
The server looks for your key in this order and uses the first it finds:STRATTA_API_KEY environment variable
If set, it takes precedence. Best for ephemeral or CI-style usage.
~/.stratta/config.json
Written by
npx -y @stratta/mcp login or the first-use prompt. Stored owner-only (mode 0600):Environment variables
Your API key from stratta.ch/api-keys. Optional: if unset, the
server falls back to
~/.stratta/config.json or prompts on first use.Override the backend URL. Only needed if you self-host Stratta.
How Claude uses the tools
Claude is guided to navigate norms in a deterministic order so that every answer is backed by a real citation:get_methodology
The mandatory first call — loads the persona, navigation rules, and citation format.
get_cross_refs → get_section
Follow links to other norms and read those too, for compound questions.
search_in_norm whenever the section path is unknown.
Usage tracking
After each successful tool call, the server records a usage event (tool name, status, duration) against your key. This powers your dashboard stats and future billing. Tracking happens only after authentication and uses the key as proof of possession — usage can’t be attributed to someone else’s key.Tool reference
Read tools
The 8 tools Claude uses to query norms.
Ingestion tools
The 10
ingest_* tools that write norms.