mcpField
C
corpus

corpus

Remote
wheelofheaven.worldSearch0Updated 10w ago

About corpus

corpus is a read-only MCP server for the Wheel of Heaven research corpus, intended for AI agents retrieving source-based material. Its tools distinguish sourced facts from the project's interpretations and include citations and epistemic metadata.

Key features

  1. 01Search corpus documents
  2. 02Retrieve entries with citations and metadata
  3. 03Read numbered primary-source passages
  4. 04Look up bibliography records
  5. 05Compare datasets and query typed graph links
  6. 06Retrieve interpretations, methods, and glossary terms

Use cases

  1. 01Search research material on myths and traditions
  2. 02Retrieve a cited passage from a primary text
  3. 03Compare traditions using structured datasets
  4. 04Inspect how claims and interpretations are classified

MCP support

The server exposes read-only search, retrieval, comparison, graph, interpretation, methodology, and glossary tools, plus context resources, to MCP clients. It supports Streamable HTTP and legacy SSE.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.wheelofheaven.world/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npm@wheelofheaven/mcp0.1.0

Tools

Details

From the project README

mcp.wheelofheaven.world

Read-only MCP server for the Wheel of Heaven corpus. It wraps the static JSON API at api.wheelofheaven.world so AI agents can search and retrieve the corpus with full epistemic metadata (claim types, editorial passes, citations).

Design rationale and tool-surface spec: .claude/plans/strategy-mcp-server.md in the org .claude repo.

Endpoints

  • /mcp — Streamable HTTP (canonical)
  • /sse — legacy SSE transport
  • / — server info (JSON)

Install

Remote (recommended — nothing to run locally):

claude mcp add --transport http wheel-of-heaven https://mcp.wheelofheaven.world/mcp

Local stdio via npm (@wheelofheaven/mcp):

npx -y @wheelofheaven/mcp

Registry listing: world.wheelofheaven.mcp/corpus in the official MCP registry.

Tools

Fact layer — source-grounded data, no interpretation applied:

ToolPurpose
search_corpusFuzzy full-text search over wiki, timeline, library books, articles, and news (~290 documents; token-AND with OR fallback)
get_entryOne wiki/timeline/articles/news entry as markdown with claim_type, editorial_pass, typed related-content edges, and canonical citation URLs; 9-language support via lang
get_passageA chapter of a digitized primary source text as numbered paragraphs with stable reference IDs (e.g. GEN-1:26); ref filters to one verse
get_sourceBibliography lookup by stable ID or search — every record carries the source-program classification (family, stance, relation), critical sources included
compare_traditionsRows from the comparative datasets: flood-myths, divine-council-index, theomachy-crossrefs, world-ages, prophets-and-religions
query_graphTyped 1-hop ego network of any corpus node (see_also, in_body, cites_source, same_tradition, same_age, comparison_of)

Interpretation layer — explicitly the project's own reading, labeled as such:

ToolPurpose
get_interpretationThe Wheel of Heaven framework's reading of a topic (curated context documents, or the closest wiki entry), always carrying an interpretation-layer notice
get_methodThe editorial methodology: claim-type taxonomy, six-source rule, editorial passes — how to weigh everything else

Meta:

ToolPurpose
get_glossary_termCore terminology with renderings in all 9 site languages (exact-id match first)

Resources: the six /v1/context/* narrative documents (woh://context/{overview,hypothesis,terminology,timeline,sources,method}) plus woh://llms.txt.

Development

npm install
npm run dev        # wrangler dev on :8787
npm run typecheck
npm run deploy     # wrangler deploy (needs Cloudflare auth)

The server is stateless over the upstream API: every tool call fetches api.wheelofheaven.world/v1/…, with the ~600 KB search corpus cached in-memory per isolate for one hour (matching the API's edge-cache TTL).

Architecture

  • Cloudflare Workers + agents SDK (McpAgent Durable Object)
  • src/server.ts — transport-agnostic tool registration (reused by the future npm stdio build)
  • src/api.ts — /v1/ client + search-corpus cache
  • src/html.ts — deterministic body_html → markdown conversion

Related repositories

License

CC0-1.0 — like the corpus itself.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.