P

Particles

by linkedparticles.org · org.linkedparticles/particles

Memory for AI agents that keeps every claim with the source it came from, the date it was asserted, and a confidence you can re-weight per source, so your agent can say where a fact came from. Updates supersede or retract instead of overwriting, so you can replay what the store believed on any past date and review contradictions as lint findings.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "org-linkedparticles-particles": {
      "command": "uvx",
      "args": [
        "linkedparticles"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "DATABASE_URL": "<VALUE>",
        "PARTICLES_CONFIG": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "org-linkedparticles-particles": {
      "command": "uvx",
      "args": [
        "linkedparticles"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "DATABASE_URL": "<VALUE>",
        "PARTICLES_CONFIG": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "org-linkedparticles-particles": {
      "command": "uvx",
      "args": [
        "linkedparticles"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "DATABASE_URL": "<VALUE>",
        "PARTICLES_CONFIG": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "org-linkedparticles-particles": {
      "command": "uvx",
      "args": [
        "linkedparticles"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "DATABASE_URL": "<VALUE>",
        "PARTICLES_CONFIG": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "org-linkedparticles-particles": {
      "command": "uvx",
      "args": [
        "linkedparticles"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "DATABASE_URL": "<VALUE>",
        "PARTICLES_CONFIG": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "org-linkedparticles-particles": {
      "command": "uvx",
      "args": [
        "linkedparticles"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "<YOUR_VALUE>",
        "DATABASE_URL": "<VALUE>",
        "PARTICLES_CONFIG": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ANTHROPIC_API_KEY secret Yes Optional Anthropic API key. The server starts and lists its tools without one.
DATABASE_URL No SQLAlchemy URL of the belief store to serve, used as given, so write a SQLite path absolute: a relative one opens against the directory the server starts in. Without it, and without PARTICLES_CONFIG, the server serves the store `~/.particles/config.yaml` names (a relative path there is read under `~/.particles/`), or `~/.particles/particles.db` when that file names none, never a store in the directory it starts in.
PARTICLES_CONFIG No Path to the config file holding the rest of the server's settings: additional stores, model selection per purpose, and the `mcp.write.enabled_stores` allowlist that turns the write tools on. This is the supported way to give the server settings. Without it the server reads `~/.particles/config.yaml`, never a `config.yaml` in the directory it starts in. Give it as an absolute path: a relative one is refused. When you set it, also set `DATABASE_URL` to an absolute path or name one as `storage.database_url` in the file: a server started with a config file refuses a store path relative to its working directory, and refuses to start while any store under `storage.stores` has one.

Similar servers