# Particles

Particles gives agents read access to a history of claims with sources, dates, and confidence scores. Use it when you need to inspect the evidence behind an answer.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 3
- Author: LinkedParticles
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/LinkedParticles/particles-engine-py
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/particles

## What it does

Particles stores claims as separate records, along with their sources, dates, confidence, and links to the original material. Records are not overwritten; they can be retracted, disputed, or superseded. The MCP server is read-only, so use the engine and its commands, such as `particles deposit` and `particles extract`, to populate the store.

The server can return answers that cite the claims behind them. Use `--as-of` to query the store’s belief history at a given time. Claim extraction and written answers call a language model. The setup example uses `ANTHROPIC_API_KEY`; OpenAI-compatible endpoints are supported too. Python 3.11 or later is required.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Environment variables: `ANTHROPIC_API_KEY`, `DATABASE_URL`, `PARTICLES_CONFIG` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> --env DATABASE_URL=<DATABASE_URL> --env PARTICLES_CONFIG=<PARTICLES_CONFIG> --transport stdio particles -- uvx linkedparticles
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from linkedparticles <command>

### Codex

**Platform CLI**
```bash
codex mcp add particles --env ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> --env DATABASE_URL=<DATABASE_URL> --env PARTICLES_CONFIG=<PARTICLES_CONFIG> -- uvx linkedparticles
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from linkedparticles <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "particles": {
            "command": "uvx",
            "args": [
                "linkedparticles"
            ],
            "env": {
                "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
                "DATABASE_URL": "<DATABASE_URL>",
                "PARTICLES_CONFIG": "<PARTICLES_CONFIG>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from linkedparticles <command>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "particles": {
            "type": "stdio",
            "command": "uvx",
            "args": [
                "linkedparticles"
            ],
            "env": {
                "ANTHROPIC_API_KEY": "<ANTHROPIC_API_KEY>",
                "DATABASE_URL": "<DATABASE_URL>",
                "PARTICLES_CONFIG": "<PARTICLES_CONFIG>"
            }
        }
    }
}
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from linkedparticles <command>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ANTHROPIC_API_KEY=<ANTHROPIC_API_KEY> -e DATABASE_URL=<DATABASE_URL> -e PARTICLES_CONFIG=<PARTICLES_CONFIG> particles uvx linkedparticles
```
Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from linkedparticles <command>

## When to use it
- store claims with their sources and dates
- inspect which records support an agent’s answer
- retrieve the store’s beliefs as of a given date
- find contradictions and stale records with `particles lint`

## Example prompts
- Answer using claims in the store and cite the supporting sources.
- Show what the store believed on `2000-01-01`.
- Check the store for contradictory or stale claims.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 392262
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33989
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81163
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47577
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43902

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
