tessera
Enables multi-round planning debates between Claude and GPT models for architecture decisions, code reviews, and build loops using the codex CLI.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tesserascan the current project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tessera
Persistent codebase memory for Claude Code — open source, no license gating.
Tessera gives Claude Code a semantic understanding of your project that persists across turns and sessions, eliminating redundant file re-reads and providing a structured action history.
How it works
tessera scan .— builds a SQLite graph of your codebase (files, symbols, imports)Claude calls
graph_continueevery turn — routes to cached, scored file recommendationsgraph_register_editupdates the graph after edits, auto-checks plan checklistsOptional: run
tessera debate "task"for a Claude vs GPT multi-round planning debate
Related MCP server: RLM Memory MCP Server
Installation
Tessera is installed from GitHub. The name tessera on PyPI belongs to an unrelated project (a dashboard for Graphite), so installing it from PyPI by name gets the wrong software.
1. Install the tessera command
pipx install git+https://github.com/dr-code/tessera
# or: uv tool install git+https://github.com/dr-code/tesseraOptional extras (debate mode, dashboard):
pipx install "tessera[all] @ git+https://github.com/dr-code/tessera"2. Claude Code plugin (recommended)
claude plugin marketplace add dr-code/tessera
claude plugin install tessera@tesseraThe plugin adds the skills (/build, /debate, /cleanup, /plan-review, /codex-review), the Superpowers methodology, the Plannotator plan-review hooks, and an MCP server that runs the tessera command from step 1. Then in any project:
tessera scan . # builds graph, writes .mcp.json and CLAUDE.mdOne-line installer
curl -fsSL https://raw.githubusercontent.com/dr-code/tessera/main/install.sh | bashDoes both steps: installs the command with pipx (or uv, or pip as a last resort), then the plugin when the claude CLI is present.
Quick start
cd my-project
tessera scan . # builds graph, writes .mcp.json and CLAUDE.md
tessera status # show graph stats
tessera dashboard # start dashboard at localhost:5050MCP registration
After tessera scan ., your project will have a .mcp.json:
{
"mcpServers": {
"tessera": {
"command": "tessera",
"args": ["mcp"],
"env": { "TESSERA_PROJECT_ROOT": "/path/to/project" }
}
}
}This runs the tessera command you installed in step 1 of the installation, so it must be on your PATH. The file contains an absolute path, so keep .mcp.json out of version control. The plugin registers the same server for you without a per-project file, using the current folder as the project root.
CLI reference
tessera scan [PATH] Build/rebuild the graph
tessera mcp Start MCP server (stdio)
tessera status [PATH] Show graph stats
tessera decisions [PATH] List locked decisions
tessera reset [PATH] Clear action graph
tessera plans [PROJECT [SUB]] List archived plans
tessera verify [PATH] Compliance: plan vs git diff
tessera handoff [PATH] Generate clipboard handoff summary
tessera debate "task" [flags] Run Claude vs GPT debate
tessera dashboard [PATH] Start dashboard at localhost:5050Debate mode
Requires the debate extra (pipx install "tessera[debate] @ git+https://github.com/dr-code/tessera") and the codex CLI.
Connecting to ChatGPT (no API key needed)
If you have a ChatGPT Plus or Pro subscription you can authenticate the codex CLI with it — no separate API key or billing setup required:
npm install -g @openai/codex # install once
codex auth login # opens browser — sign in with your ChatGPT accountThat's it. tessera debate and all Claude Code skills (/debate, /build, /cleanup, etc.) will use your subscription automatically.
Connecting via API key (optional)
Set OPENAI_API_KEY if you prefer direct API billing rather than the subscription OAuth path.
tessera debate "Add JWT authentication" \
--project myapp \
--subtask auth-middleware \
--max-rounds 3Feature flags
Flag | Default | Effect |
| on | Enables |
| on | Enables |
| on | Enables |
The dashboard binds to 127.0.0.1 by default and has no authentication. If you
set TESSERA_DASHBOARD_HOST=0.0.0.0 for LAN access, every /api/* route
(project graph, plans, locked decisions) becomes reachable to anyone on the
network with no login required — only do this on a trusted network.
Token savings target
Metric | Target |
Turn 2+ read reduction | ≥50% chars vs cold-start |
10-turn session reduction | ≥40% total chars |
Cache hit rate (after turn 3) | ≥60% |
Symbol excerpt savings | ≥70% vs full-file reads |
Claude Code in-session skills
Tessera ships five Claude Code slash commands that use the tessera graph for context and Codex CLI for GPT's perspective. The plugin marketplace install auto-installs them from the skills/ directory in this repo. For manual install, run ./install.sh or copy from skills/ to ~/.claude/skills/.
Requires: codex CLI (npm install -g @openai/codex) authenticated via codex auth login (ChatGPT subscription) or OPENAI_API_KEY.
Skill | Usage | Description |
|
| Multi-round Claude vs GPT debate on architecture or design decisions |
|
| Full build loop: GPT plans → debate → user approval → implement → GPT review |
|
| Bidirectional slop scanner — Claude + GPT independently analyze, then reconcile |
|
| Send an implementation plan to GPT for structured review before coding |
|
| Independent GPT code review of staged changes, commits, or files |
All skills degrade gracefully when tessera MCP is not configured — they still run Claude+GPT collaboration, just without graph context.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Shared memory for coding agents. Stop re-explaining your codebase every session.
Persistent memory for Claude Code and Cursor. Stop re-explaining your project every session.
- SeturosOAuthcom.seturos
Shared work memory for Claude Code, Codex, Cursor and chat, scoped to each repository.
Project memory, semantic code search, and grounded agent context.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides persistent cross-session memory for Claude Code, enabling it to remember user preferences, decisions, and project context across new sessions.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceProvides persistent memory and semantic file discovery for AI coding agents, enabling them to remember changes and find relevant files across sessions.5-
- AlicenseNot gradedqualityBmaintenanceProvides Claude with persistent, semantic knowledge of a codebase across sessions by maintaining a local knowledge base of structural maps, compressed file summaries, and insights.7 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides persistent memory for Claude Code, automatically extracting and surfacing relevant context from past sessions to avoid re-explaining issues and decisions.MIT