# Statecore MCP

> Statecore MCP is an open-source MCP server. Auditable memory for coding agents: evidence chains, supersession history, keyless embedded SQLite. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/yul761/statecore
- **MCP Registry name:** io.github.yul761/statecore-mcp
- **Listing updated:** 2026-11-13

## About

Auditable memory for coding agents: evidence chains, supersession history, keyless embedded SQLite

## Install

### Claude Code (Terminal)

```sh
claude mcp add statecore-mcp --env MODEL_API_KEY='<MODEL_API_KEY>' -- npx -y statecore-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "statecore-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "statecore-mcp"
      ],
      "env": {
        "MODEL_API_KEY": "<MODEL_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "statecore-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "statecore-mcp"
      ],
      "env": {
        "MODEL_API_KEY": "<MODEL_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "statecore-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "statecore-mcp"
      ],
      "env": {
        "MODEL_API_KEY": "<MODEL_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "statecore-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "statecore-mcp"
      ],
      "env": {
        "MODEL_API_KEY": "<MODEL_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "statecore-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "statecore-mcp"
      ],
      "env": {
        "MODEL_API_KEY": "<MODEL_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is Statecore MCP free?

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

### How do I add Statecore MCP to Claude Code?

Run this command in your terminal: claude mcp add statecore-mcp --env MODEL_API_KEY='<MODEL_API_KEY>' -- npx -y statecore-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/statecore-mcp
