# Stele

> Stele is an open-source MCP server for knowledge and memory. Agent memory ledger where a lesson stays unsearchable until another actor promotes it. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/leocelis/stele
- **MCP Registry name:** io.github.leocelis/stele
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-11-23

## About

Stele treats agent memory like a ledger of task experience. An agent logs what worked and what failed, but a new entry starts quarantined and out of search. Only when a different named actor promotes it with evidence, such as a test result with its command and exit status, does it become retrievable by future agents. The README argues this guards against self-reflection entrenching mistakes.

Facts can change, so entries carry validity times and can be superseded, and the tools include contested-entry resolution, staleness reports, belief-at-a-time lookups and a forget-compliance check. The store never reads the clock, so every write passes its own timestamp.

The default server exposes 35 governed-ledger tools over stdio, with a Python library and a CLI alongside. A hosted HTTP deployment adds a Bearer-protected larger surface of about 2,000 research-library tools, though no self-serve keys are offered; you host your own. The project is MIT licensed and says it is unrelated to other products named Stele.

## Features

- **Quarantine then promote:** New lessons stay out of search until another actor promotes them with evidence.
- **Bi-temporal history:** Entries can be superseded and queried as of a past time.
- **Contested entries:** Tools list and resolve conflicting lessons.
- **Evidence records:** Promotion carries test results, issuer and exit status.
- **Library, CLI and server:** Use stele-core in Python, a CLI, or the stele-mcp server.
- **Hygiene and compliance:** Stale reports, hygiene candidates and forget checks.

## Good for

- Keep an agent's debugging lessons from polluting later runs
- Share verified lessons across several agents
- Audit why a lesson is trusted
- Retire outdated facts without deleting history
- Back up and diff memory stores

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add stele -- uvx stele-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "stele": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add stele -- uvx stele-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.stele]
command = "uvx"
args = ["stele-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user stele uvx -- stele-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "stele": {
      "command": "uvx",
      "args": [
        "stele-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 30 tools deletes data and 3 change data; 23 names don't say. From the server's own tool labels and tool names; not verified by us.

- `add` (name suggests: changes): Add an entry in quarantine.
- `update` (name suggests: changes): Update an entry.
- `promote`: Promote an entry with evidence.
- `supersede`: Supersede an entry.
- `delete` (name suggests: deletes): Delete an entry.
- `search` (name suggests: reads): Search promoted entries.
- `reflect`: Reflect on entries.
- `link`: Link entries.
- `list_contested` (name suggests: reads): List contested entries.
- `resolve_contested`: Resolve a contested entry.
- `verify`: Verify an entry.
- `hydrate`: Hydrate entries.
- `export` (name suggests: reads): Export the store.
- `record_outcome`: Record a task outcome.
- `pin`: Pin an entry.
- `stale_report`: Report stale entries.
- `reverify`: Reverify an entry.
- `related`: Find related entries.
- `stats`: Store statistics.
- `timeline`: Entry timeline.
- `snapshot`: Snapshot the store.
- `doctor`: Check store health.
- `entry_schema`: Return the entry schema.
- `diff_stores`: Diff two stores.
- `add_batch` (name suggests: changes): Add entries in batch.
- `hygiene_candidates`: Find hygiene candidates.
- `forget_compliance`: Check forget compliance.
- `lineage`: Show entry lineage.
- `belief_at`: Belief at a point in time.
- `conflict_surface`: Surface conflicts.

## FAQ

### How many tools are there?

The default stele-mcp server exposes 35 governed-ledger tools; the full hosted surface is about 2,000.

### Where is data kept?

In a local ledger store set with STELE_STORE, default ./.stele-store.

### Is there a hosted service?

The README lists a hosted URL that needs a Bearer key with no self-serve keys; you can host your own.

### What licence is Stele?

MIT.

### Is Stele free?

Yes. Stele is open source, so you can use and self-host it for free.

### How do I add Stele to Claude Code?

Run this command in your terminal: claude mcp add stele -- uvx stele-mcp

### What are the best alternatives to Stele?

The closest alternatives to Stele are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Nautilus Compass Memory](https://ai-powered.com/mcp/nautilus-compass-memory): Nautilus Compass Memory is an open-source MCP server for knowledge and memory.
- [Myco: Agent-First Cognitive Substrate](https://ai-powered.com/mcp/myco-agent-first-cognitive-substrate): Myco: Agent-First Cognitive Substrate is an open-source MCP server for knowledge and memory.
- [Source Library](https://ai-powered.com/mcp/source-library): Source Library is an open-source MCP server for knowledge and memory.
- [keepplain-plugin](https://ai-powered.com/mcp/keepplain-plugin): keepplain-plugin is a freemium MCP server for knowledge and memory.
- [Second Brain](https://ai-powered.com/mcp/second-brain-2): Second Brain is a freemium MCP server for knowledge and memory.

---
Source: https://ai-powered.com/mcp/stele-2
