loading…
Search for a command to run...
loading…
LLM character consistency engine — generates structured JSON constraints from 4 questions about your AI's psychology. Drop into any LLM's system prompt to preve
LLM character consistency engine — generates structured JSON constraints from 4 questions about your AI's psychology. Drop into any LLM's system prompt to prevent persona drift; reduces inference cost from retries.
MCP server for the FIVE Persona Engine — an LLM persona constraint engine that generates structured JSON constraints to eliminate persona drift. Instead of describing personality in words (which LLMs interpret differently each turn), FIVE defines behavioral parameters the LLM executes as a recipe. See how it works →
Measured: with the constraint JSON + free harness, the demo character survived a 120-turn pressure test with zero persona breaks (plain prompt: 8 breaks; JSON alone: 1). Numbers, transcripts and scripts →
pip install five-mcp
Set your API key as an environment variable:
export FIVE_API_KEY=five_sk_your_key_here
Get your key at fiveengine.dev.
Add to your claude_desktop_config.json:
{
"mcpServers": {
"five-character-engine": {
"command": "five-mcp",
"env": {
"FIVE_API_KEY": "five_sk_your_key_here"
}
}
}
}
Any MCP-compatible client can connect via stdio transport:
five-mcp
generateGenerates persona constraints via the FIVE engine.
| Parameter | Type | Required | Description |
|---|---|---|---|
character_name |
string | Yes | Name of the character |
q1 – q4 |
A / B / C / D | Yes | Personality axis choices |
s1 – s4 |
1–5 | No | Style sliders (default: 3) |
free_text |
string | No | Free-form description |
{
"status": "ok",
"remaining": 42,
"constraint": { "..." }
}
Each generate call costs $1 and consumes one credit. Manage credits at fiveengine.dev.
MIT
Run in your terminal:
claude mcp add five-mcp -- npx Yes, Five MCP is free — one-click install via Unyly at no cost.
No, Five runs without API keys or environment variables.
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
Open Five on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.