API & MCP
Use the corpus directly.
REST and MCP serve the same checksum-verified Encode Wiki release as the chat. Neither calls a model, so they are deterministic and free to use. Preserve each result's review status, license, and canonical URL.
MCP
Connect any Streamable HTTP MCP client to:
https://ask.encode.wiki/mcpEvery tool is read-only, idempotent, and closed-world:
| Tool | Purpose |
|---|---|
search_content | Search heading-aware chunks by terms, collection, or status |
get_document | Fetch one complete document by stable ID |
get_section | Fetch the chunks under one document heading anchor |
list_documents | Page through document summaries |
list_sources | List declared external sources and the documents citing them |
get_release_info | Read corpus version, counts, checksums, and timestamp |
REST
| Method | Path | Purpose |
|---|---|---|
| GET | /api/search?q=SVT-AV1%20CRF&limit=5 | Heading-aware lexical search |
| GET | /api/documents/docs/guides/av1-with-svt-av1 | One complete document |
| GET | /api/release | Release manifest and public model policy |
| GET | /api/ready | Corpus readiness, version, and counts |
| GET | /api/health | Process liveness and revision |
| POST | /api/chat | Streamed, cited answer (the only model-backed route) |
sh
curl 'https://ask.encode.wiki/api/search?q=SVT-AV1%20CRF&limit=5'