# curion [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/geanatz/curion  
**GitHub Stars:** 32  
**npm Downloads (last month):** 266  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/curion

## Description
Curion is a project-local memory layer for AI coding agents, published as an MCP server for Claude Code, Codex, OpenCode, and other MCP clients.

## Tools
Capabilities this server exposes over MCP:

- **remember** — Store a piece of project memory. Returns saved, rejected, or provider_error. If rejected with clarification_needed, do not guess — ask the user the clarification_needed.question; suggestions are optional aids, not assumptions.
- **recall** — Retrieve relevant project memory. Returns a synthesized answer from stored memories, or 'No relevant memory found.'. If the result contains clarification_needed (on no_memory, weak_match, or rejected), do not guess — ask the user the clarification_needed.question; suggestions are optional aids, not assumptions.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "curion": {
    "command": "npx",
    "args": ["-y","@geanatz/curion"],
    "env": {
      "CURION_PRIMARY_API_KEY": "",
      "CURION_PRIMARY_BASE_URL": "",
      "CURION_PRIMARY_MODEL": ""
    }
  }
}
```

**Requires environment variables:** `CURION_PRIMARY_API_KEY`, `CURION_PRIMARY_BASE_URL`, `CURION_PRIMARY_MODEL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What curion does

curion adds persistent, project-local memory to compatible AI coding agents through MCP. Agents can submit information with `remember(text)` and later ask for relevant information with `recall(text)`. Both tools accept exactly one argument named `text`.

Stored memory lives in a SQLite database inside the project’s `.curion/` directory. This lets an agent reuse details such as API conventions, test commands, or architectural decisions across separate sessions. Requests are not guaranteed to save every submitted detail or find every relevant result.

## How it works

The globally installed `curion` command starts an MCP server over stdio. An MCP client launches that command when required; it is not intended to be run as an interactive terminal program. Codex CLI and Claude Code can register it directly with their MCP configuration commands.

curion has no built-in model provider. The MCP client’s parent process must provide an OpenAI-compatible provider endpoint, API key, and model through environment variables. Provider processing is separate from logging in to Codex or Claude Code. Curion reads the parent process environment and does not load values from project `.env` files.

Semantic retrieval is optional. When enabled, curion can download an embedding model from Hugging Face, cache it locally, and run embedding-based retrieval on the device after download. Semantic retrieval may also search projects that are not marked private.

## Setup and configuration

Install the package globally with npm:

```sh
npm install -g @geanatz/curion
```

The runtime requires Node.js 22 or newer and npm. Register the server with Codex CLI using:

```sh
codex mcp add curion -- curion
```

For a project-scoped Claude Code registration, use:

```sh
claude mcp add --scope project --transport stdio curion -- curion
```

Before starting the MCP client, configure the provider environment inherited by that client:

```sh
export CURION_PRIMARY_API_KEY='<your-api-key>'
export CURION_PRIMARY_BASE_URL='https://api.example.com/v1'
export CURION_PRIMARY_MODEL='<model-id>'
```

Replace these placeholders with values from the provider you choose, and keep credentials out of source control and shared logs. Reload the client after registering curion if its tools do not appear.

## Tools and capabilities

- `remember(text)`: submits one text value for project memory processing.
- `recall(text)`: submits one text value to retrieve relevant stored context or produce a synthesized answer.
- Local SQLite persistence under `.curion/`.
- Optional semantic retrieval with a locally cached Hugging Face embedding model.
- Project privacy controls that can affect cross-project retrieval.

## Limitations and notes

Local storage does not make all processing offline. When a provider is configured, submitted tool content or derived context can be sent to that provider’s model API. Review the provider’s data-handling terms before sending sensitive information.

Without provider configuration, some `remember` requests may be rejected and `recall` may not produce a synthesized response. Local SQLite data is not a replacement for provider processing.

On Windows, newly created data directories receive a protected ACL, but existing `.curion/` directories are not migrated to new ACL settings. Check permissions on existing directories yourself. If the server fails to start, verify that Node.js 22 or newer is available to the client process and that the globally installed `curion` command can be found.

_Full upstream README: https://allmcps.com/mcp/curion/readme_

