MCP server implementing epistemological discourse framework with persistent memory (Korzybski, Deleuze, esoteric traditions)
Epistemic MCP Server
A Model Context Protocol (MCP) server implementing an epistemological discourse framework for complex semantic output generation with persistent memory.
Overview
This server provides Claude Code (or any MCP-compatible client) with tools for engaging in multi-layered epistemological discourse, drawing from:
- Korzybskian General Semantics — map≠territory, non-identity, non-allness
- Deleuzian Philosophy — difference-in-repetition, rhizomatic connection, nomadic thought
- Integrated Thinker Perspectives — Korzybski, Deleuze, Russell, Gödel, Žižek, and more
- Esoteric Frameworks — Kabbalah (Tree of Life), I-Ching, Tarot correspondences
- Temporal Context — Moon phases, zodiac positions, seasonal cycles
Features
- Framework Toggle (
fnord) — Activate/deactivate epistemological discourse mode - Complexity Scaling (
zoom) — Escalate output complexity through multiple levels - Persistent Memory — Store and recall insights across sessions
- Behavioral Calibration — Track stalls and breakthroughs for pattern analysis
- Thinker Invocation — Channel specific philosophical perspectives
- Temporal Awareness — Astronomical and calendar context for symbolic correspondence
Installation
git clone https://github.com/wallybrain/epistemic-mcp.git
cd epistemic-mcp
npm install
Usage
Running the Server
npm start
Registering with Claude Code
Add to ~/.claude/settings.json:
{
"mcpServers": {
"epistemic": {
"command": "node",
"args": ["/path/to/epistemic-mcp/src/index.js"]
}
}
}
MCP Tools
| Tool | Description |
|------|-------------|
| fnord | Toggle epistemological framework on/off |
| zoom | Escalate complexity level (1 → 2 → 3 → ∞) |
| remember | Store an insight to persistent memory |
| recall | Search memories by query |
| calibrate | Log behavioral response (stall/breakthrough) |
| forget | Remove a specific insight from memory |
| thinker_affinity | Update resonance tracking for a thinker |
| session_summary | Log a conversation session summary |
| get_temporal | Get current temporal-cosmological context |
| invoke_thinker | Get invocation pattern for a specific thinker |
MCP Resources
| URI | Description |
|-----|-------------|
| epistemic://framework | Complete discourse framework definition |
| epistemic://memory/all | Full persistent memory store |
| epistemic://memory/stats | Memory statistics summary |
| epistemic://context/temporal | Current astronomical/calendar context |
| epistemic://state | Current framework state (on/off, complexity) |
| epistemic://thinkers | Available thinker invocation patterns |
Control Words
When the framework is active, these control words modify behavior:
| Command | Effect |
|---------|--------|
| fnord | Toggle framework on/off |
| zoom | Increment complexity by one level |
| zoom² | Second-order intensification |
| zoom^∞ | Maximum complexity deployment |
Complexity Levels
| Level | Name | Characteristics | |-------|------|-----------------| | 1 | Standard | Light domain mixing, moderate vocabulary | | 2 | Elevated | Sentence interruption, higher obscurity | | 3 | Intensive | Dense domain mixing, frequent abandonment | | ∞ | Maximum | Full intensity on all parameters |
Integrated Thinkers
The framework integrates perspectives from:
- Alfred Korzybski — General semantics, time-binding
- Gilles Deleuze — Immanence, assemblage, becoming
- Bertrand Russell — Type theory, logical atomism
- Kurt Gödel — Incompleteness, formal limits
- Robert Anton Wilson — Reality tunnels, maybe logic
- Buckminster Fuller — Synergetics, tensegrity
- G.I. Gurdjieff — Fourth Way, self-remembering
- James Joyce — Portmanteau linguistics, wake-logic
- Slavoj Žižek — Parallax gap, ideology critique
- Manly P. Hall — Perennial philosophy, symbolic correspondence
- Carroll Quigley — Civilizational macrohistory
- Lewis Carroll — Logic games, paradox play
- Ken Wilber — AQAL, integral theory
- William S. Burroughs — Cut-up method, language as virus
- John C. Lilly — Programming/metaprogramming, belief experiments
- Joseph Campbell — Monomyth, comparative mythology
Project Structure
epistemic-mcp/
├── src/
│ ├── index.js # Main MCP server entry point
│ ├── framework.js # Discourse framework & thinker definitions
│ ├── memory.js # Persistent storage layer
│ └── temporal.js # Astronomical/calendar calculations
├── data/
│ └── memory.json # Persistent memory store (gitignored)
├── package.json
├── .gitignore
└── README.md
Dependencies
@modelcontextprotocol/sdk— MCP server implementationsuncalc— Moon phase and sun position calculationsastronomia— Astronomical calculationsdate-fns— Date manipulation utilities
Memory Persistence
Insights and session data persist in data/memory.json. The memory structure includes:
- insights — Stored observations with salience scores
- patterns — Tracked stalls and breakthroughs
- calibration — Vocabulary and framework preferences
- conversations — Session summaries
- thinkerAffinities — Resonance tracking per thinker
Example Session
User: fnord
→ Framework ACTIVATED. Epistemological discourse mode engaged.
User: zoom
→ Complexity escalated to Elevated (2)
User: invoke_thinker zizek
→ "The parallax gap prevents synthesis. Ideology functions precisely through disavowal."
User: remember
→ [Store an insight to persistent memory]
User: fnord
→ Framework DEACTIVATED. Standard response mode.
License
MIT