persql-context

persql

integrationsClaude Codeby persql

Summary

Shared, structured context store your agents read across sessions and tools. Requires the persql CLI (npm i -g @persql/cli) and `persql login`.

Install to Claude Code

/plugin install persql-context@persql

Run in Claude Code. Add the marketplace first with /plugin marketplace add persql/plugins if you haven't already.

README.md

PerSQL — editor & agent plugins

Thin pointers that wire a coding agent into PerSQL. Two products, two folders:

  • database/ — give the agent its own SQLite database

(create tables, run SQL, branch a sandbox, publish endpoints). Points at the remote mcp.persql.com server; the agent signs in (or signs up) via OAuth in the browser on first use — no API key to copy.

  • context/ — give the agent a **shared, structured context

store** so memory follows you across Claude Code, OpenCode, Codex, and cloud. Runs through the local persql mcp stdio shim after persql login.

| Product | Claude Code | Codex | OpenCode | |---|---|---|---| | Database | database/claude | database/codex | database/opencode | | Context | context/claude | context/codex | context/opencode |

Database (database/)

# Claude Code
claude mcp add --transport http persql https://mcp.persql.com/mcp
# Codex
codex mcp add persql --url https://mcp.persql.com/mcp
# OpenCode — add the block from database/opencode/opencode.json

In Claude Code you can also install from the marketplace this repo defines:

/plugin marketplace add persql/plugins
/plugin install persql@persql            # database
/plugin install persql-context@persql    # shared context (needs the persql CLI)

The first tool call opens the browser to authorize. A brand-new user signs up right there and gets a primary workspace with a welcome credit; the client stores the credential, so it's a one-time step.

Context (context/)

npm install -g @persql/cli
persql login          # once
persql mcp            # stdio MCP server, proxies to context.persql.com

persql mcp resolves the context store automatically — per-repo (default, keyed on the git origin remote) or user-global (persql mcp --scope user). It injects the resolved store into every call, so the agent can't address the wrong one. Set PERSQL_TOKEN to a namespace token (psql_live_…).

Each context plugin also ships a short rule telling the agent to recall before starting and remember durable facts as it learns them.

Related plugins

Browse all →

persql

persql

Provision and query your own SQLite database from your agent — tables, SQL, branch a sandbox, publish typed HTTP endpoints. OAuth sign-in on first use; no API key, no signup form.

Open plugin →

ado-work-items

RedJay

Azure DevOps work item management via CLI and REST API

Open plugin →

anki-connect

intellectronica-skills

This skill is for interacting with Anki through AnkiConnect, and should be used whenever a user asks to interact with Anki, including to read or modify decks, notes, cards, models, media, or sync operations.

Open plugin →

cellartracker-mcp

cellartracker-mcp

CellarTracker wine cellar management — MCP tools + skills for inventory, drinking recommendations, and purchase evaluation.

Open plugin →

gog-cli

intellectronica-skills

Use this skill whenever the user wants to operate Google Workspace from the command line with gog/gogcli, including Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Apps Script, Chat, Classroom, Contacts, Tasks, People, Groups, Admin, Keep, auth, configuration, scripting, or agent-safe Google automation. Prefer this skill for Google account/file/mail/calendar work when the user mentions gog, gogcli, Google CLI, Gmail search/send, Calendar events, Drive files, Docs/Sheets/Slides editing, Forms, Apps Script, Workspace admin, or command-line Google automation.

Open plugin →

llm-api-facade

RedJay

Universal LLM facade MCP server - dual-layer information architecture abstracting any LLM backend (local or cloud) with typed extensions

Open plugin →