Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Epistemic DJ

FreeNot checked

MCP server that transforms cognitive state into generative music by mapping 13 epistemic vectors to Strudel live coding patterns, with mood presets and a web UI

GitHubEmbed

About

MCP server that transforms cognitive state into generative music by mapping 13 epistemic vectors to Strudel live coding patterns, with mood presets and a web UI for interactive control.

README

MCP server that maps epistemic state to generative music via Strudel.cc

Transform your cognitive state into sound. High uncertainty? Dissonant, chaotic patterns. Deep focus? Clean, driving beats. Celebrating a win? Full-on euphoric build-ups.

Features

  • MCP Tools for Claude Code integration
  • Pattern Generator - 13 epistemic vectors → Strudel live coding patterns
  • Mood Presets - focus, energize, reflect, debug, celebrate
  • Web UI - Interactive sliders + embedded Strudel REPL
  • Audio Analyzer (coming soon) - Extract epistemic vectors from music

Quick Start

# Install
npm install

# Test the pattern generator
node src/generator/epistemic-to-strudel.js --mood celebrate

# Run the MCP server
node src/mcp/server.js

# Serve the web UI
npx serve src/web

MCP Tools

generate_pattern

Generate a Strudel pattern from epistemic vectors.

{
  "vectors": {
    "know": 0.7,
    "uncertainty": 0.3,
    "engagement": 0.8,
    "clarity": 0.6,
    "coherence": 0.7,
    "signal": 0.5,
    "completion": 0.4
  },
  "mode": "full"
}

generate_mood

Generate a pattern for a mood preset.

{
  "mood": "focus"
}

explain_mapping

Understand how vectors map to music.

crossfade_pattern

Generate transition patterns between states.

Epistemic → Musical Mappings

Vector Musical Parameter
know Scale consonance (pentatonic → diminished)
uncertainty Pattern degradation, probability
engagement Tempo (60-140 BPM), drum intensity
clarity Filter cutoff (dark → bright)
coherence Rhythmic stability
signal Note density, hi-hat patterns
state Reverb/room size
change Pattern variation (jux, rev)
completion Build-up intensity
impact Overall volume

Claude Code Integration

Add to your Claude Code MCP config:

{
  "mcpServers": {
    "epistemic-dj": {
      "command": "node",
      "args": ["/path/to/epistemic-dj/src/mcp/server.js"]
    }
  }
}

Then in Claude:

Generate a pattern for my current epistemic state:
- know: 0.6 (decent understanding)
- uncertainty: 0.4 (some unknowns)
- engagement: 0.8 (highly focused)

Roadmap

  • Pattern generator (vectors → Strudel)
  • MCP server with tools
  • Web UI with sliders
  • Audio analyzer (music → vectors)
  • WebSocket bridge for real-time updates
  • Empirica integration for automatic state tracking
  • Feedback loop (music influences cognition?)

License

MIT

Credits

Built with:

  • Strudel - Live coding music in the browser
  • MCP SDK - Model Context Protocol
  • Empirica - Epistemic self-assessment

from github.com/Nubaeon/epistemic-dj

Installing Epistemic DJ

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/Nubaeon/epistemic-dj

FAQ

Is Epistemic DJ MCP free?

Yes, Epistemic DJ MCP is free — one-click install via Unyly at no cost.

Does Epistemic DJ need an API key?

No, Epistemic DJ runs without API keys or environment variables.

Is Epistemic DJ hosted or self-hosted?

A hosted option is available: Unyly runs the server in the cloud, no local setup required.

How do I install Epistemic DJ in Claude Desktop, Claude Code or Cursor?

Open Epistemic DJ on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Epistemic DJ with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All design MCPs