SurrealDB's hosted MCP server (mcp.surrealdb.com) lets Claude Code query, deploy, and manage SurrealDB instances plus use Spectron memory—no local server needed.
What Changed — Hosted SurrealDB MCP Server
SurrealDB just dropped a hosted MCP server that replaces the old self-installed SurrealMCP. Now you only need to add one URL to Claude Code:
claude mcp add surrealdb https://mcp.surrealdb.com
Then authenticate with your SurrealDB account or a personal access token from the account portal. That's it—no local server, no per-instance configs.
This server exposes 90 tools (as seen in the Cursor screenshot) covering everything from querying to provisioning. It's a massive upgrade from the previous setup where you had to configure each instance or context individually.
What It Means For You
Query Your Data Without the Copy-Paste Loop
Previously, to get Claude Code to analyze your SurrealDB data, you'd copy schemas and query results into the chat. Now you can just ask:
"How many orders did we take last week grouped by status?"
Claude Code will find the right database, write the query, run it, and show you both the SQL (or SurrealQL) and the results. You don't need to describe your schema upfront—it introspects the tables itself.
Important: Instance querying requires SurrealDB 3.2.3 or above.
Deploy and Manage Resources by Asking
Everything you'd click through in the SurrealDB Studio dashboard is now conversational. You can:
- Deploy a new instance or context
- Upgrade SurrealDB versions
- Invite users and manage access levels
- Check monthly spend
When deploying, the MCP server proposes a configuration, gives a cost estimate, and waits for your confirmation before executing.
Persistent Memory with Spectron
This is the killer feature. The MCP server connects directly to Spectron, SurrealDB's memory layer for AI agents. You can save memories, store documents, and retrieve them later by meaning—not just keyword. This gives Claude Code a persistent brain that survives across sessions.
Try this in Claude Code:
"Save a memory: Our production instance uses SurrealDB 3.2.5 and the customer table has an index on email."
Then in a fresh session:
"Retrieve the memory about our production instance."
Try It Now
- Add the server to Claude Code:
claude mcp add surrealdb https://mcp.surrealdb.com
Authenticate via browser sign-in or personal access token.
-
Test a query:
"Describe the fields and indexes in the customer table."
-
Deploy a resource:
"Spin up a new SurrealDB instance for staging, smallest size."
-
Set up memory:
"Save that our API rate limit is 100 req/min."
For full setup guides, check the Claude-specific docs.
The Bottom Line
This hosted MCP server eliminates the friction of local setup and per-instance configuration. For Claude Code users working with SurrealDB, it's now trivial to query, manage, and remember—all from the CLI. If you're already using SurrealDB, this is a no-brainer upgrade.
Source: dev.to
Originally published on gentic.news

Top comments (0)