purupuru-codex
Enables querying the Purupuru universe codex programmatically, including characters, locations, Jani variants, and Wuxing elements, with anti-hallucination validation and fuzzy search.
README
construct-purupuru-codex
Canonical knowledge base for the Purupuru universe — a world of honey-rooted magic, sentient Puruhani beings, and the Wuxing elemental cycles that bind them.
Built as a construct-format codex following the patterns established by construct-mibera-codex.
What's in the codex
| Category | Count | Path |
|---|---|---|
| KIZUNA Characters | 5 | characters/ |
| Puruhani | 5 | puruhani/ |
| Locations | 19 | locations/ |
| Jani Variants | 15 | jani/ |
| Wuxing Elements | 5 | core-lore/wuxing.yaml |
| Total Entities | 44 |
The HENLO System
| Letter | Element | Character | Trait | Puruhani |
|---|---|---|---|---|
| H | Wood | Kaori | Hopeful | Happy |
| E | Earth | Nemu | Empty | Exhausted |
| N | Fire | Akane | Naughty | Nefarious |
| L | Metal | Eun | Loyal | Loving |
| O | Water | Ruan | Overstimulated | Overwhelmed |
MCP Server
Query the codex programmatically via Model Context Protocol.
# Install
pnpm install
# Build
pnpm run build
# Run
node dist/server.js
8 Tools
| Tool | Description |
|---|---|
lookup_character |
Look up a KIZUNA character by name |
lookup_puruhani |
Look up a Puruhani by element |
lookup_location |
Look up a location by slug |
lookup_jani |
Look up a Jani variant |
lookup_element |
Wuxing element with Sheng/Ke cycle relationships |
validate_world_element |
Anti-hallucination — validate claims against canonical data |
search |
Fuzzy search across all entities |
list |
List all entities of a given type |
Add to Claude Desktop
{
"mcpServers": {
"purupuru-codex": {
"command": "node",
"args": ["/path/to/construct-purupuru-codex/dist/server.js"]
}
}
}
Browse
Navigate entities by dimension:
browse/by-element/— Wood, Earth, Fire, Metal, Waterbrowse/by-generation/— Kizunabrowse/by-type/— Character, Puruhani, Location, Janibrowse/by-district/— Horai Surface, Old Horai, Tsuhejibrowse/by-canon-tier/— Canonical, Established, Exploratory, Speculative
Data Exports
Machine-readable exports in _codex/data/:
| File | Format | Content |
|---|---|---|
characters.jsonl |
JSONL | 5 character records |
puruhani.jsonl |
JSONL | 5 puruhani records |
locations.jsonl |
JSONL | 19 location records |
jani.jsonl |
JSONL | 15 jani records |
wuxing.json |
JSON | Element system with Sheng/Ke cycles |
graph.json |
JSON | Knowledge graph (44 nodes, 67 edges) |
scope.json |
JSON | Entity counts and version |
Skills
Three construct skills for agent-driven exploration:
- browse-codex — Navigate by dimension
- query-entity — Deterministic lookup with fuzzy fallback
- cross-reference — Traverse entity relationships
Canon Authority
Content follows a four-tier authority model:
| Tier | Meaning |
|---|---|
| Canonical | Binding truth from lore-bible |
| Established | Committed decisions from design cycles |
| Exploratory | Validated but not locked |
| Speculative | Not yet validated |
Source material: world-purupuru
Development
pnpm install # Install deps
pnpm test # Run tests (16 specs)
pnpm run lint # Lint
pnpm run build # Build MCP server
pnpm run validate:schema # Validate all entity frontmatter
pnpm run generate:exports # Regenerate JSONL/JSON exports
pnpm run generate:indices # Regenerate browse indices
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.