CoraDB tool

CoraDB MCP Server

Your CoraDB databases, available to any MCP client.

An MCP server for CoraDB. Any MCP client — an AI app such as Claude, an IDE, a script or another program — can use it to read a database’s schema, run SELECTs (relational and SELECT … FROM MATCH graph queries) and run other statements, and get back exactly what the engine returns.

Ask in plain words

“How many orders are in e-commerce?”

The AI calls the server:

{ "database": "e-commerce",
  "sql": "SELECT COUNT(*) FROM orders" }

Relational tables and graph vertices and edges are queried through the same tools.

Built to be safe by default.

Stateless

Every call names its database and carries its own login.
The server opens a connection, runs the call, commits or rolls back, closes the connection and forgets the login.
No session, no stored password.

One transaction per call

All statements of a call succeed and are committed together, or nothing is saved.
If a statement fails, the time limit runs out or the call is canceled, everything is rolled back.

The server has the last word

The write-mode setting decides whether changes can be saved at all (write, dry run only, or off); a call can only be stricter, never less strict.

Five tools

Every tool that takes SQL accepts several statements separated by ;; they run in order and the first error stops the call.

ToolWhat it doesChanges data
connection_infoLogs in and reports the login, engine version and server settingsNo
describe_schemaTables, views, vertex and edge tables with columns, keys and indexes, read from the live catalogNo
execute_selectRuns SELECTs (relational and graph) and returns columns and rows; anything that is not a SELECT is refused before it runsNever
execute_sqlRuns any statements; commits when all succeed, unless dryRun is setYes
explain_queryThe optimizer’s plan for a SELECT, without running itNo

Quick start

Needs Node.js 20.6 or later and a running CoraDB. Nothing to install by hand: MCP clients start the server with npx, which downloads @coradb/coradb-mcp-server from npm the first time.

For the Claude desktop app: Settings → Developer → Edit Config, add this to mcpServers, then quit the app completely and reopen it.

"coradb": {
  "command": "npx",
  "args": ["-y", "@coradb/coradb-mcp-server"]
}

Logins are never stored: each call sends its own user and password, and CoraDB’s own rights apply.
Use a user with only SELECT rights for reading.
The server talks to its client over stdio on the same computer and opens no network port of its own.

Try it on the demo databases

Point the server at any of the ten CoraDB demo databases and ask your AI app about orders, players, films or adverse drug events.

See the demo databases