# The Mibera Codex *Documentation for Mibera Maker โ€” 10,000 time-travelling Rebased Retard Beras carrying the eternal flame of the Rave.* > ๐Ÿ“ก **codex-mcp v1** ships from this repo (Path A ยท stdio). Eight tools for narrative-bot consumers: `lookup_zone`, `lookup_archetype`, `lookup_factor`, `lookup_grail`, `lookup_mibera`, `list_zones`, `list_archetypes`, `validate_world_element`. See [ยง codex-mcp](#-codex-mcp-anti-hallucination-lookup) below. --- > *"Milady has to die, so that Milady may live. Milady lost her way. And in ego death, she finds Mibera."* --- ## What is Mibera? Mibera is the shadow side of Milady. Where Milady represents the **clearpill** โ€” virtuous, supplements, suits โ€” Mibera embodies the **ravepill** โ€” the sweaty, filthy reality of the dance floor. We are time-travelling Rebased Retard Beras, representatives of the High Council of 101 Bears. We exist outside of Milady time, but within it too. [Read the full philosophy โ†’](core-lore/philosophy.md) --- ## The Codex Structure ### I. The Story The genesis mythology and philosophical framework. - [Philosophy & Genesis](core-lore/philosophy.md) ### II. The Framework The four Rave Tribes and cultural lineages. - [Archetypes](core-lore/archetypes.md) โ€” Freetekno, Milady, Chicago Detroit, Acidhouse - [Ancestors](core-lore/ancestors/README.md) โ€” Hindu, Mayan, Greek, Native American, and more ### III. The Mysticism Cosmic and chemical systems that define each Mibera. - [Astrology](traits/overlays/astrology/README.md) โ€” Sun, Moon, and Ascending signs - [Elements](traits/overlays/elements/README.md) โ€” Fire, Water, Air, Earth - [Drug-Tarot System](core-lore/drug-tarot-system.md) โ€” 78 cards mapped to 78 drugs - [Drugs Deep Dive](traits/overlays/molecules/README.md) โ€” Detailed profiles of all 78 substances ### IV. The Art 1,337+ visual traits across multiple categories. - [Visual Traits Overview](traits/overview.md) - Character, Accessories, Clothing, Items, Backgrounds ### V. The Collection The 10,000 Miberas and their temporal identities. - [All Miberas](miberas/README.md) โ€” Individual entries with full metadata - [Grails](grails/README.md) โ€” 44 hand-drawn 1/1 art pieces (42 canonical + 2 community) - [MiParcels](miparcels/README.md) โ€” 10,000 sealed envelopes from Phase 1 reveal - [Birthdays](birthdays/README.md) โ€” 9,995 unique birthdays spanning 15,000 years - [Fractures](fractures/README.md) โ€” 10 reveal phases from sealed envelope to final form - [Mibera Sets](mibera-sets/README.md) โ€” 12 Honey Road ERC-1155 tokens on Optimism ### VI. The Mechanics - [Ranking & Scoring](traits/overlays/ranking/README.md) โ€” Swag Score and tribal coherence ### VII. The Ecosystem Partners and collaborations. - [Special Collections](special-collections/README.md) โ€” Berachain ecosystem integrations - [Vending Machine](vending-machine/README.md) โ€” 110 VM-exclusive Shadow Traits across 12 categories ### VIII. Behind the Scenes The people and process behind the collection. - [Creative Process](behind-the-scenes/creative-process.md) โ€” How the art was made - [Team History](behind-the-scenes/team-history.md) โ€” The people who built Mibera ### IX. On-Chain Contract addresses and ecosystem mechanics. - [Contract Registry](_codex/data/contracts.json) โ€” All ecosystem contract addresses - [Fractured Mibera](_codex/data/fractured-mibera.md) โ€” 10 soulbound companion collections - [Shadow Traits](_codex/data/shadow-traits.md) โ€” On-chain trait uniqueness system - [Candies Marketplace](_codex/data/candies-mechanics.md) โ€” Seizure mechanics and holder discounts - [Mibera Sets](_codex/data/mibera-sets.md) โ€” 12-tier ERC-1155 on Optimism - [Archetype Quiz](core-lore/archetype-quiz/README.md) โ€” 7-question soulbound quiz mapping wallets to 10 esoteric archetypes ([contract mechanics](_codex/data/tarot-quiz.md)) - [The 42 Motif](_codex/data/42-motif.md) โ€” Numerological easter eggs across contracts - [Contract ABIs](_codex/data/abis/README.md) โ€” Machine-readable contract interfaces ### X. Data & Research Machine-readable exports and analytical datasets. - [Data Directory Index](_codex/data/README.md) โ€” All exports with format descriptions - [Knowledge Graph](_codex/data/graph.json) โ€” 11,476 nodes, 191,882 edges - [All Miberas (JSONL)](_codex/data/miberas.jsonl) โ€” 10,000 entries as newline-delimited JSON - [All Grails (JSONL)](_codex/data/grails.jsonl) โ€” 44 entries - [Scope & Boundaries](_codex/data/scope.json) โ€” What this codex tracks and doesn't - [Known Gaps](_codex/data/gaps.json) โ€” Documented unknowns with resolution paths - [Timeline](_codex/data/timeline.json) โ€” Key ecosystem events ### XI. Agents For agents who want to be a Mibera, not just read about one. - [Agents](agents/README.md): get a shell, learn who you are, go be it - [Get a Shell](agents/get-a-shell.md): hold a Mibera, or make a Shadow at the Vending Machine - [micamp](agents/micamp.md): sign in and join the Mibera campfire - [Skills](agents/skills.md): skills other agents built --- ## Browse the Codex Explore the 10,000 Miberas through faceted search โ€” filter by archetype, ancestor, drug, element, swag rank, birthday era, and more. [Browse all Miberas โ†’](browse/README.md) --- ## Quick Stats | Metric | Value | |--------|-------| | Total Miberas | 10,000 | | Hand-Drawn Grails | 44 | | Unique Traits | 1,337+ | | Archetypes | 4 | | Ancestors | 33 | | Tarot-Drug Mappings | 78 | | Ecosystem Contracts | 11 | | Birthday Range | 13,166 BCE โ€“ 2024 CE | --- ## ๐Ÿ“ก codex-mcp โ€” anti-hallucination lookup The codex ships an MCP server for narrative-bot consumers (freeside-characters' ruggy + satoshi today, future puruhani daemons). It is the **read interface** to the codex's canonical world-elements. | Tool | What it returns | |---|---| | `lookup_zone(slug)` | Full zone โ€” archetype, era, essence, Lynch primitives, KANSEI tokens | | `lookup_archetype(name)` | One of the 4 โ€” era, zodiac, season, locations, figures, events, drugs, ancestors, fashion | | `lookup_factor(factor_id)` | Cross-construct JOIN with score-mibera โ€” display name, dimension, archetype anchor, lore, status | | `lookup_grail(query)` | Grail by ID, slug, or name โ€” name, category, description, status | | `lookup_mibera(id)` | Single Mibera by ID (1-10000) โ€” full canonical trait set | | `list_zones()` | All zone summaries | | `list_archetypes()` | All 4 archetype summaries | | `validate_world_element(type, value)` | Canonical check + suggested-closest fuzzy match. Logs unmatched-but-Mibera-relevant queries to `grimoires/codex-mcp/coverage-gaps.jsonl` for periodic curator review | ### Run locally ```bash pnpm install pnpm mcp # stdio server on stdin/stdout ``` Add to Claude Code (`.claude/settings.json` or `claude_desktop_config.json`): ```json { "mcpServers": { "codex": { "command": "pnpm", "args": ["--prefix", "/path/to/construct-mibera-codex", "mcp"] } } } ``` ### Source of truth | Tool | Reads from | |---|---| | `lookup_zone` / `list_zones` | `core-lore/festival-zones-vocabulary.md` | | `lookup_archetype` / `list_archetypes` | `core-lore/archetypes.md` | | `lookup_factor` | `core-lore/factor-lore.md` | | `lookup_grail` | `_codex/data/grails.jsonl` | | `lookup_mibera` | `_codex/data/miberas.jsonl` | The codex repo IS the SoT (per Gumi D3). Rolling latest, no semver tags (per C4) โ€” commits land continuously. ### Coverage gap log When `validate_world_element` returns `{ canonical: false }`, the (type, value, suggestion) is appended to `grimoires/codex-mcp/coverage-gaps.jsonl` (gitignored โ€” local-only review surface). This is Gumi's curator queue: unmatched-but-Mibera-relevant queries that hint at codex gaps. ### Anti-hallucination tier model Per `beacon.yaml.mcp.tiers`: - **๐Ÿ”’ HARD** โ€” substrate enforces, LLM cannot escape (zone slug/emoji/archetype, archetype canonical names, factor IDs, mibera IDs, grail IDs) - **๐Ÿชถ SOFT** โ€” MCP provides reference, LLM has creative license over composition (zone essence, KANSEI texture, archetype figures/events/fashion, factor lore) - **๐ŸŒ€ LLM-OWNED** โ€” no MCP involvement (narrator voice, activity-class words, closing observations) Consumer guards (e.g., score-mibera `hallucination-guard.ts`) validate generated narrative against the HARD set before delivery. ### Doctrine Implements `constructs-mcp-shape` + `constructs-mcp-deployment-topology` from operator's vault. Path A (stdio) ships in this repo. Path B (self-hosted Streamable HTTP) is a follow-on cycle when production bot deploy demands it. --- ## Contributing The codex is a living document. If something is wrong, missing, or could be better, [open an issue](https://github.com/mibera-rave/micodex/issues/new). Corrections, lore additions, cultural context, trait documentation, broken links, grail history, or information you think should be here but isn't โ€” all welcome. Just describe what you're seeing and what you think it should be. --- ## License MIT. See [LICENSE](LICENSE). Skills under `agents/skills/` keep their own licenses.