SynapCores

Official registry Data and databases

AI-native database: SQL, vector search, Cypher graph, AutoML and LLM tools over MCP.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package @synapcores/mcp
Claude Code
claude mcp add synapcores -e 'SYNAPCORES_URL=http://127.0.0.1:8080' -e 'SYNAPCORES_API_KEY=<your synapcores_api_key>' -- npx -y @synapcores/mcp@1.0.1
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "synapcores": {
            "command": "npx",
            "args": [
                "-y",
                "@synapcores/mcp@1.0.1"
            ],
            "env": {
                "SYNAPCORES_URL": "http://127.0.0.1:8080",
                "SYNAPCORES_API_KEY": "<your synapcores_api_key>"
            }
        }
    }
}

Environment variables

  • SYNAPCORES_URL required SynapCores gateway URL, e.g. http://127.0.0.1:8080
  • SYNAPCORES_API_KEY required secret SynapCores API key (create with POST /v1/api-keys; use a ReadOnly key for read-only access)

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. SynapCores MCP Server
  2. Tools
  3. 1. Run SynapCores
  4. 2. Get an API key
  5. 3. Add SynapCores to Claude Code
  6. Configuration
  7. Development
  8. Links
  9. License

SynapCores MCP Server

SynapCores is an AI-native database: SQL, vector search, a Cypher graph, in-database AutoML and LLM generation in one self-hosted engine. The engine has a built-in Model Context Protocol server at /v1/mcp, so an AI assistant can query and build on your data directly.

This package, @synapcores/mcp, is the stdio connector for that server. It is small, MIT-licensed and has zero dependencies (Node.js 18+).

MCP client  ⇄  stdio  ⇄  @synapcores/mcp  ⇄  HTTP (JSON-RPC)  ⇄  SynapCores /v1/mcp

Tools

The engine provides 15 tools:

ToolWhat it does
list_tablesList the tables in the database
describe_tableColumns, types and constraints for a table
queryRun a SELECT and return rows
executeRun INSERT / UPDATE / DELETE and DDL (CREATE / ALTER / DROP)
validate_queryCheck SQL syntax, optionally with the execution plan
sql_manualSynapCores SQL syntax and examples
semantic_searchSimilarity search over a vector collection; the query text is embedded for you
embed_textVector embedding for any text
graph_queryCypher on the graph (MATCH / MERGE / CREATE / SET / DELETE, gds algorithms)
train_modelTrain an AutoML model on a table column
predictScore rows with a trained model
list_modelsList trained models
describe_modelAlgorithm, metrics and feature importance of a model
generate_textGenerate text with the engine's configured LLM
agent_soulInspect the database's learned runs, episodes, goals and plans (administrator key)

The tools come from the engine, so they update when you upgrade SynapCores. If the engine isn't reachable, the server still starts and lists these 15 tools from a bundled copy (taken from SynapCores 2.4.8); tool calls then return an error asking you to start the engine.

1. Run SynapCores

curl -fsSL https://get.synapcores.com | SYNAPCORES_REF=mcp-readme sh

Press Enter at each prompt to accept the defaults. SynapCores prints your admin password the first time it starts.

On Linux (and Windows, in a WSL2 Ubuntu terminal), the installer starts SynapCores as a service. Show your admin password and API key:

sudo journalctl -u synapcores --no-pager | grep -A9 "FIRST-BOOT CREDENTIALS"

On macOS (Apple Silicon):

  1. No Homebrew yet? Install it first with the official command, /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)", then run the "Next steps" commands it prints.
  2. Run the one-liner above and press Enter at each prompt. The installer starts SynapCores (now and at every login) and prints your admin password. Answered n to "Start SynapCores now?" Start it with:
     launchctl bootstrap "gui/$(id -u)" ~/Library/LaunchAgents/com.synapcores.gateway.plist
  3. Show your admin password and API key again (after a manual start, give it a few seconds):
     grep -A9 "FIRST-BOOT CREDENTIALS" ~/.synapcores/logs/gateway.err.log

Then open http://localhost:8080, sign in as admin and change the password. See synapcores.com/download for other options. The gateway listens on http://127.0.0.1:8080 by default.

2. Get an API key

Use an API key, not a login token: API keys don't expire after 24 hours. The first start prints one in the same FIRST-BOOT CREDENTIALS block, on the OpenClaw Memory API key line; the password command above shows it. To create a dedicated key:

TOKEN=$(curl -s http://127.0.0.1:8080/v1/auth/login -H 'Content-Type: application/json' \
  -d '{"username":"admin","password":"<your admin password>"}' | jq -r .access_token)

curl -s http://127.0.0.1:8080/v1/api-keys -H "Authorization: Bearer $TOKEN" -H 'Content-Type: application/json' \
  -d '{"name":"claude-code","permission":"FullAccess"}' | jq -r .raw_key

The key is shown once. Keep it in an environment variable:

export SYNAPCORES_API_KEY=<the key>

Read-only keys: create the key with "permission":"ReadOnly" to let the assistant read and search while the engine refuses SQL writes and DDL through execute, and Cypher writes through graph_query.

3. Add SynapCores to Claude Code

stdio, with this package
claude mcp add synapcores \
  -e SYNAPCORES_URL=http://127.0.0.1:8080 \
  -e SYNAPCORES_API_KEY=$SYNAPCORES_API_KEY \
  -- npx -y @synapcores/mcp
HTTP, no package

Claude Code can also talk to the engine's MCP endpoint directly:

claude mcp add --transport http synapcores http://127.0.0.1:8080/v1/mcp \
  --header "Authorization: Bearer $SYNAPCORES_API_KEY"

For a team repo, add --scope project and single-quote the header ('Authorization: Bearer ${SYNAPCORES_API_KEY}') so .mcp.json stores the variable name, not the key.

Check the connection with claude mcp list, then ask:

"What tables are in my SynapCores database? Describe the biggest one."

"Find the five support articles most similar to 'reset my password'."

"Train a model on customers to predict churned, then show the 10 highest-risk customers."

Configuration

VariableDescription
SYNAPCORES_URLGateway URL. Default http://127.0.0.1:8080.
SYNAPCORES_API_KEYSynapCores API key, sent as Authorization: Bearer.
SYNAPCORES_TIMEOUT_MSPer-request timeout. Default 300000 (5 minutes).

Every tool call goes through the gateway's authentication, so the assistant sees exactly what its API key is allowed to see.

stdout carries only JSON-RPC messages; diagnostics go to stderr.

Development

npm test                                   # unit tests (no engine needed)
SYNAPCORES_API_KEY=... npm run smoke       # live check against a running engine

License

MIT © SynapCores

Frequently asked questions

What is SynapCores?

AI-native database: SQL, vector search, Cypher graph, AutoML and LLM tools over MCP.

How do I install SynapCores?

It runs on your machine. In Claude Code: claude mcp add synapcores -e 'SYNAPCORES_URL=http://127.0.0.1:8080' -e 'SYNAPCORES_API_KEY=<your synapcores_api_key>' -- npx -y @synapcores/mcp@1.0.1. For other clients, paste the JSON configuration from this page into their MCP settings.

Does SynapCores need an API key?

Yes. It expects SYNAPCORES_URL, SYNAPCORES_API_KEY, which you set in its configuration.

Is SynapCores open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains SynapCores?

It is published by SynapCores. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.