five-mcp
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 →
Free — no API key, no account.
Quick Start
Install
pip install five-mcp
Use with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"five-character-engine": {
"command": "five-mcp"
}
}
}
That's it — no environment variables needed.
Use with other MCP clients
Any MCP-compatible client can connect via stdio transport:
five-mcp
Tool: generate
Generates persona constraints via the FIVE engine.
Parameters
| 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 |
Response
{
"status": "ok",
"constraint": { "..." }
}
Rate limits
The API is free. To keep it available to everyone, a light per-IP limit applies: 10 requests/min, 200 requests/day. The free host may cold-start, so the first call can take up to a minute.
Links
- API & Docs: fiveengine.dev
- GitHub: github.com/kiro0x/five-mcp
- Design philosophy & examples: five-character-engine README
- Measured evaluation (120-turn drift test): five-character-engine eval/
- Engine repo: github.com/kiro0x/five-character-engine
License
MIT
mcp-name: io.github.kiro0x/five-mcp
Metadata
Release files for five-mcp 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| five_mcp-1.1.1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| five_mcp-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / five_mcp-1.1.1.tar.gz
| Download URL | five_mcp-1.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27687bc0b102fa5318ced2631711903f7819cc942bde55443bdf1ae2ca330e81
|
|
BLAKE2b-256 checksum How to use checksums |
c38567e777746a034d99e4b2309ed95c4da4fe074cadce24e6e8a3002eb69715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.
Transparency logRelease files / five_mcp-1.1.1-py3-none-any.whl
| Download URL | five_mcp-1.1.1-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a4147b4998bd1fbf4c5a8de6b1df82d24b9fa1d8c5ba7c4fea2ff1855b3ea69
|
|
BLAKE2b-256 checksum How to use checksums |
e3efd26f4367afacf4c6ddec5739982c82e76fcadf5abe87c0efb8a41ed713b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 12, 2026.
Transparency log