npx claudepluginhub surrealdb/ai-claude-pluginSurrealDB for Claude Code, Cowork, and Claude Desktop — zero-config MCP plus SurrealQL skills
SurrealDB Agent Memory for Claude — zero-config MCP plus ambient recall/remember memory hooks
Connect Claude to a local or self-hosted SurrealDB instance over its built-in /mcp route
7-day visitors to each marketplace page
A Claude plugin marketplace from SurrealDB. It hosts three plugins:
| Plugin | What it connects | Ships | Setup |
|---|---|---|---|
surrealdb | SurrealDB's managed MCP at https://mcp.surrealdb.com | MCP server, SurrealQL skills, .surql auto-formatter | None — sign in with your Surreal ID |
agent-memory | The same managed MCP at https://mcp.surrealdb.com | MCP server, recall/remember lifecycle hooks + a usage skill | None for the MCP; two env vars for the hooks |
surrealdb-local | Your own instance's /mcp route | MCP server + a setup skill | Two env vars |
Install surrealdb or agent-memory and you're done — no URL to find, no token to mint, just a browser sign-in on first use. Add surrealdb-local if you develop against a local or self-hosted instance. Supports Claude Code, Cowork, and Claude Desktop (hooks are Claude Code / Cowork only).
/plugin marketplace add surrealdb/ai-claude-plugin
/plugin install surrealdb@surrealdb
/plugin install agent-memory@surrealdb
That's the whole install for both. On its first tool call each MCP server opens a browser to sign in with your Surreal ID; from then on Claude can query your databases, manage your instances, organizations and spend, and work with Agent Memory.
Both plugins point at the same endpoint, so installing both surfaces the same tools twice under two server names. Harmless — install just one if you'd rather not see the duplicates.
Two things take environment variables — set them in your shell profile (~/.zshrc, ~/.bashrc) or wherever you launch Claude Code from, then restart Claude Code.
# surrealdb-local plugin — required, or the plugin shows as failed / "needs attention"
export SURREALDB_MCP_URL="http://127.0.0.1:8000/mcp" # or https://<your-instance>/mcp
export SURREALDB_MCP_TOKEN="<bearer-token>"
# Agent Memory hooks — optional; without them the MCP server still works,
# memory is just on-demand rather than ambient
export AGENT_MEMORY_MCP_URL="https://your-agent-memory-instance.example.com/mcp"
export AGENT_MEMORY_MCP_TOKEN="<bearer-token>"
/plugin install surrealdb-local@surrealdb
For Claude Desktop (no plugin/marketplace format), install manually — see desktop/README.md.
surrealdb pluginplugins/surrealdb/.mcp.json)| Name | Endpoint | Purpose |
|---|---|---|
surrealdb | https://mcp.surrealdb.com | Data plane (SurrealQL, schema, records) and control plane (instances, organizations, access, spend) for your SurrealDB account |
The endpoint is the bare root — https://mcp.surrealdb.com, no /mcp or /sse path; those 404. Auth is OAuth (dynamic client registration, PKCE S256, refresh tokens), so there is nothing to configure and no token in your environment.
Headless or unattended? OAuth needs a browser. Mint a personal access token at account.surrealdb.com/tokens and register the server yourself instead:
claude mcp add --transport http surrealdb https://mcp.surrealdb.com --header "Authorization: Bearer <token>"
plugins/surrealdb/skills/)surrealdb-mcp: when and how to use the MCP server (local)surql-formatter: running @surrealdb/surql-fmt and the auto-format hook (local)surrealql: writing idiomatic SurrealQL (synced from surrealdb/agent-skills)surrealdb-vector: vector search and embeddings (synced)surrealdb-python: the Python SDK (synced)plugins/surrealdb/settings.json)A PostToolUse hook on Edit|Write|MultiEdit runs @surrealdb/surql-fmt on every .surql file Claude touches. Non-blocking: formatter errors don't block the agent.
surrealdb-local pluginmcp.surrealdb.com runs in SurrealDB's infrastructure, so it cannot reach localhost or a private network. This plugin covers local development, self-hosted deployments, and air-gapped installs by talking to the instance's own built-in /mcp route.
plugins/surrealdb-local/.mcp.json)| Name | Endpoint | Purpose |
|---|---|---|
surrealdb-local | ${SURREALDB_MCP_URL} | Data plane: query, schema, records, permissions on an instance you run |
export SURREALDB_MCP_URL="http://127.0.0.1:8000/mcp" # full URL, including the /mcp path
export SURREALDB_MCP_TOKEN="<bearer-token>"
Two things worth knowing:
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.