SurrealDB MCP Server for Claude CodeGive Claude Code instant access to 16 tools to Create Record, Create Specific Record, Delete All, and more
Claude Code is Anthropic's agentic CLI for terminal-first development. Add SurrealDB as an MCP server in one command and Claude Code will discover every tool at runtime. ideal for automation pipelines, CI/CD integration, and headless workflows via Vinkius.
Ask AI about this MCP Server for Claude Code
The SurrealDB MCP Server for Claude Code is a standout in the Databases category — giving your AI agent 16 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
# Your Vinkius token. get it at cloud.vinkius.com
claude mcp add surrealdb --transport http "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"Vinkius Desktop App
The modern way to manage MCP Servers — no config files, no terminal commands. Install SurrealDB and 4,000+ MCP Servers from a single visual interface.





* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About SurrealDB MCP Server
Connect your SurrealDB database to any AI agent and take full control of your data layer through natural conversation.
Claude Code registers SurrealDB as an MCP server in a single terminal command. Once connected, Claude Code discovers all 16 tools at runtime and can call them headlessly. ideal for CI/CD pipelines, cron jobs, and automated workflows where SurrealDB data drives decisions without human intervention.
What you can do
- SurrealQL Execution — Run raw SurrealQL statements using the
execute_sqltool for complex queries and logic. - Record Management — Create, update, and modify records in specific tables with tools like
create_record,update_record, ormodify_record. - Table Operations — Quickly
select_allordelete_allrecords from a target table to manage your data at scale. - Health Monitoring — Check server status and health metrics using
get_statusandget_healthto ensure uptime. - Data Portability — Use
import_sqlandexport_datato move information in and out of your instance seamlessly.
The SurrealDB MCP Server exposes 16 tools through the Vinkius. Connect it to Claude Code in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 16 SurrealDB tools available for Claude Code
When Claude Code connects to SurrealDB through Vinkius, your AI agent gets direct access to every tool listed below — spanning multi-model, surrealql, graph-database, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Create record on SurrealDB
Create a record with a random ID
Create specific record on SurrealDB
Create a specific record
Delete all on SurrealDB
Delete all records in a table
Delete record on SurrealDB
Delete a specific record
Execute sql on SurrealDB
Can pass variables via URL query parameters. Execute SurrealQL statements
Export data on SurrealDB
Export data
Get health on SurrealDB
Check SurrealDB health
Get status on SurrealDB
Check SurrealDB web server status
Get version on SurrealDB
Get SurrealDB version
Import sql on SurrealDB
Import SurrealQL queries
Modify all on SurrealDB
Modify all records in a table (Merge)
Modify record on SurrealDB
Modify a specific record (Merge)
Select all on SurrealDB
Select all records in a table
Select record on SurrealDB
Select a specific record
Update all on SurrealDB
Update all records in a table
Update record on SurrealDB
Update a specific record
Connect SurrealDB to Claude Code via MCP
Follow these steps to wire SurrealDB into Claude Code. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install Claude Code
npm install -g @anthropic-ai/claude-code if not already installedAdd the MCP Server
Verify the connection
claude mcp to list connected servers, or type /mcp inside a sessionStart using SurrealDB
Why Use Claude Code with the SurrealDB MCP Server
Claude Code provides unique advantages when paired with SurrealDB through the Model Context Protocol.
Single-command setup: `claude mcp add` registers the server instantly. no config files to edit or applications to restart
Terminal-native workflow means MCP tools integrate seamlessly into shell scripts, CI/CD pipelines, and automated DevOps tasks
Claude Code runs headlessly, enabling unattended batch processing using SurrealDB tools in cron jobs or deployment scripts
Built by the same team that created the MCP protocol, ensuring first-class compatibility and the fastest adoption of new protocol features
SurrealDB + Claude Code Use Cases
Practical scenarios where Claude Code combined with the SurrealDB MCP Server delivers measurable value.
CI/CD integration: embed SurrealDB tool calls in your deployment pipeline to validate configurations or fetch secrets before shipping
Headless batch processing: schedule Claude Code to query SurrealDB nightly and generate reports without human intervention
Shell scripting: pipe SurrealDB outputs into other CLI tools for data transformation, filtering, and aggregation
Infrastructure monitoring: run Claude Code in a cron job to query SurrealDB status endpoints and alert on anomalies
Example Prompts for SurrealDB in Claude Code
Ready-to-use prompts you can give your Claude Code agent to start working with SurrealDB immediately.
"Check the health and version of my SurrealDB server."
"Select all records from the 'users' table."
"Execute a SurrealQL query to find all posts where status is 'published'."
Troubleshooting SurrealDB MCP Server with Claude Code
Common issues when connecting SurrealDB to Claude Code through Vinkius, and how to resolve them.
Command not found: claude
npm install -g @anthropic-ai/claude-codeConnection timeout
SurrealDB + Claude Code FAQ
Common questions about integrating SurrealDB MCP Server with Claude Code.
How do I add an MCP server to Claude Code?
claude mcp add --transport http "" in your terminal. Claude Code registers the server and discovers all tools immediately.Can Claude Code run MCP tools in headless mode?
How do I list all connected MCP servers?
claude mcp in your terminal to see all registered servers and their status, or type /mcp inside an active Claude Code session.Explore More MCP Servers
View all →
CustomerGauge
10 toolsEquip your AI agent to manage B2B experience, monitor NPS scores, and track revenue impact directly via the CustomerGauge API.

Arlo Smart
11 toolsControl Arlo security cameras — view recordings, arm/disarm devices, and manage security modes via Arlo Smart API.

URL Metadata Scraper
1 toolsStop wasting tokens scraping entire websites. Instantly extract clean OpenGraph metadata (title, description, image) from any URL.

ScrapingAnt
5 toolsExtract web data reliably with rotating proxies, headless Chrome rendering, and CAPTCHA solving built into every request.
