SurrealDB

SurrealDB MCP Connector for Claude

A+

Manage SurrealDB instances — execute SurrealQL, query tables, and manage records directly from any AI agent.

16 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your SurrealDB database to any AI agent and take full control of your data layer through natural conversation.

What you can do

  • SurrealQL Execution — Run raw SurrealQL statements using the execute_sql tool for complex queries and logic.
  • Record Management — Create, update, and modify records in specific tables with tools like create_record, update_record, or modify_record.
  • Table Operations — Quickly select_all or delete_all records from a target table to manage your data at scale.
  • Health Monitoring — Check server status and health metrics using get_status and get_health to ensure uptime.
  • Data Portability — Use import_sql and export_data to move information in and out of your instance seamlessly.

How it works

  1. Subscribe to this server
  2. Enter your SurrealDB URL and credentials (NS, DB, and Auth)
  3. Start managing your multi-model database from Claude, Cursor, or any MCP-compatible client

Who is this for?

  • Backend Developers — test queries and inspect database state without switching windows.
  • Data Engineers — perform quick data migrations or schema inspections via natural language.
  • Product Managers — query business metrics directly from the database using SurrealQL.
multi-modelsurrealqlgraph-databaserelational-databasedocument-storequery-execution

16 tools expose this connector's capabilities to your AI agent.

create_specific_record

Create a specific record

delete_all

Delete all records in a table

delete_record

Delete a specific record

export_data

Export data

get_health

Check SurrealDB health

import_sql

Import SurrealQL queries

modify_all

Modify all records in a table (Merge)

modify_record

Modify a specific record (Merge)

select_all

Select all records in a table

select_record

Select a specific record

create_record

Create a record with a random ID

execute_sql

Can pass variables via URL query parameters. Execute SurrealQL statements

get_status

Check SurrealDB web server status

update_all

Update all records in a table

update_record

Update a specific record

get_version

Get SurrealDB version

See how to talk to your AI agent using SurrealDB.

Check the health and version of my SurrealDB server.

I've checked your instance. The server is healthy (200 OK) and currently running SurrealDB version 2.1.0.

Select all records from the 'users' table.

I've retrieved all records from the 'users' table. There are 3 records: 'user:admin', 'user:john_doe', and 'user:jane_smith'. Would you like to see the details of a specific one?

Execute a SurrealQL query to find all posts where status is 'published'.

Running the SurrealQL query... I found 12 posts with the 'published' status. The most recent one is 'post:mcp-guide' created on 2023-10-27.

Yes! Use the `execute_sql` tool. You can provide the raw SQL string and an optional JSON object of variables to be used in the query.

Related Connectors