Skip to content
MCP server

NeoSQL MCP

Give Claude Code, Codex and other MCP hosts your database schema through NeoSQL Desktop

Runs locallyStatus and history
Pricing
Open source
Platforms
macOS, Windows, CLI
Runs
Locally
Version
1.9.0
Listing updated
3 days ago

About NeoSQL MCP

NeoSQL MCP is an open-source MCP server for databases. It runs locally on your machine and is started by your AI client.

neosql-mcp is a thin stdio server that hands database work to a running NeoSQL Desktop app on the same machine. It talks to the app over a Unix socket on macOS or a named pipe on Windows, opens no TCP ports, and needs no database credentials in the host config. Connections and schemas you already set up in the desktop app are reused.

Through it an assistant can read live schema, create and modify tables so the changes land in both the ERD and the database, and generate code. Access follows the app's MCP Access Control settings. The README warns that execute-query can run DDL and generate-code can write files, so requested operations and access settings deserve a review.

It needs Node.js 20 or later and NeoSQL Desktop. Supported databases include PostgreSQL, Supabase, MySQL, MariaDB, Oracle, SQL Server, SQLite, H2 and Databricks.

Install

Run in a terminal

claude mcp add neosql-mcp -- npx -y neosql-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "neosql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "neosql-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "neosql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "neosql-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "neosql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "neosql-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "neosql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "neosql-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "neosql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "neosql-mcp"
      ]
    }
  }
}

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

execute-query
Run SQL, including DDL, through NeoSQL Desktop.
generate-code
Generate source code from table schemas and write files.

What it does

Desktop-backed
Delegates database and UI work to a running NeoSQL Desktop app.
Local-only channel
Uses a Unix socket or named pipe and opens no TCP ports.
No credentials in host config
Connections are configured once in the desktop app.
Schema and ERD sync
Table changes made from chat apply to the ERD and the database.
Code generation
Generates source code from table schemas.
Many databases
Works with each DBMS the desktop app connects to.

Good for

  • Let an assistant read real table definitions before writing queries
  • Create a table from chat and update the ERD
  • Generate entity or data-access code from a schema
  • Run a query in a scoped connection
  • Keep one database setup for several MCP hosts

Pricing

Open source

Desktop app described as a free ERD tool

Prices change. Check neosql.unvus.com before you buy.

NeoSQL MCP FAQ

Do I need NeoSQL Desktop?

Yes. The package is not a standalone database server and depends on a running desktop app.

Which operating systems?

macOS and Windows.

Does it open network ports?

No. Communication stays on the local machine over a socket or pipe.

Can it change my database?

execute-query can run DDL, so review requests and the desktop access settings.

Is NeoSQL MCP free?

Yes. NeoSQL MCP is open source, so you can use and self-host it for free.

How do I add NeoSQL MCP to Claude Code?

Run this command in your terminal: claude mcp add neosql-mcp -- npx -y neosql-mcp

What are the best alternatives to NeoSQL MCP?

The closest alternatives to NeoSQL MCP are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to NeoSQL MCP

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools