Back to Browse

Corpus MCP Server

Developer ToolsModerate5.2MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Read-only Wheel of Heaven corpus: myth search, primary texts, datasets, typed graph. CC0.

About

Read-only Wheel of Heaven corpus: myth search, primary texts, datasets, typed graph. CC0.

Remote endpoints: streamable-http: https://mcp.wheelofheaven.world/mcp

Security Report

5.2
Moderate5.2Moderate Risk

This is a well-structured, read-only MCP server for a publicly-available research corpus with no authentication requirements or sensitive credential handling. The codebase demonstrates good security practices: input validation via Zod, proper error handling, no hardcoded secrets, and all network calls target a single trusted upstream API. Permissions are appropriate for a read-only data aggregation tool. Minor code quality observations noted but do not constitute security risks. Supply chain analysis found 9 known vulnerabilities in dependencies (0 critical, 5 high severity).

7 files analyzed · 13 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub 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)

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.

Reviews

No reviews yet

Be the first to review this server!