pikelet · live playground

Query a knowledge file, not a server.

wikipedia.pikelet is a 648.5 MB static file — 456,153 Simple English Wikipedia articles, an embedded query encoder, and a search index, sealed into one file on a plain HTTP host. There is no application server behind it. Every answer below comes from byte-range reads against that one file, lit up on a map of the file as they happen.

What is Pikelet?

Pikelet is an open-source (Apache-2.0) tool that compiles a folder of documents or a website into one self-contained, queryable .pikelet file. The file carries the source text, a semantic (vector) index and a BM25 keyword index, the query encoder that turns a question into a vector, a calibrated match-quality model, evaluation queries, and integrity hashes over all of it. Its identity is a SHA-256 hash of its contents, so an answer can cite the exact version of the knowledge it came from.

Put the file on disk, S3, R2, a CDN or any static HTTP host. A reader opens it locally or over HTTP Range requests and searches it with no vector database, embedding API or search server: it loads a small index, embeds the question with the encoder inside the file (WebAssembly, in the browser or Node.js), and fetches only the byte ranges it needs. Updates ship as small immutable layer files on top of a base file.

What this page shows

Match quality

Each answer carries matchQuality: strong, weak or none, a calibrated signal of how well the file's best passages match the question. It is not a fact-check: a passage on the right topic can still lack the specific detail asked for, so read the passage before relying on it.

Use it

npx pikelet compile --source ./docs --out docs.pikelet
npx pikelet mcp install --client claude-code --pack ./docs.pikelet

The first command builds a pack from a folder or a URL; the second gives Claude Code, or any MCP client, a search tool over it. From code, openPikeletFile in the pikelet-wasm package opens a pack in Node.js, browsers or Cloudflare Workers; the CLI is the pikelet package.

Source, documentation and benchmarks: github.com/mcn92/pikelet.