npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

neosql-mcp

v1.3.0

Published

Local stdio MCP server that connects MCP hosts to NeoSQL Desktop on macOS and Windows.

Readme

neosql-mcp

Bring NeoSQL Desktop's database tools into your MCP host (Claude Code, Codex, …) via npx.

npm version license node

neosql-mcp is a local stdio MCP server that lets MCP hosts use NeoSQL Desktop tools through npx.

It is not a standalone database server, database CLI, or replacement for NeoSQL Desktop. The package runs inside the MCP host process tree, exposes NeoSQL tools over standard MCP stdio, and delegates database/UI work to a running NeoSQL Desktop app through JSON-RPC over HTTP on a macOS Unix Domain Socket or Windows Named Pipe.

[MCP host] -- stdio MCP --> [neosql-mcp]
  -- JSON-RPC over HTTP on UDS/Named Pipe --> [NeoSQL Desktop]

Why neosql-mcp?

  • AI coding assistants write better code when they can read your real schema and run real queries, instead of guessing column names and table shapes. neosql-mcp exposes the database your team already configured in NeoSQL Desktop to any MCP host.
  • One running NeoSQL Desktop, one npx command — Claude Code, Codex, and any other MCP host can use the connections and schemas already configured in NeoSQL Desktop. No per-host setup, and credentials never leave NeoSQL Desktop.

Security

All traffic stays on the local machine over a Unix Domain Socket (macOS) or Named Pipe (Windows). No TCP ports are opened, and the upstream endpoint cannot be overridden by environment variables or config files. Database access scope follows the connection settings in NeoSQL Desktop — credentials and per-connection permissions are not duplicated here.

Prerequisites

  • Node.js 20 or later.
  • NeoSQL Desktop installed on the same machine.
  • An MCP host that can launch stdio servers, such as Claude Code or Codex.
  • A NeoSQL project with MCP-enabled database connections and schemas.

Quick Start

No global install is required. Configure your MCP host to run the package with npx.

npx -y neosql-mcp \
  --project=YOUR_PROJECT_ID \
  --default-connection=YOUR_CONNECTION_ID \
  --default-database=YOUR_DATABASE \
  --default-schema=YOUR_SCHEMA

The process is a stdio MCP server, so running the command directly in a terminal may look like it is waiting for input. That is expected.

MCP Host Configuration

Claude Code .mcp.json

{
  "mcpServers": {
    "neosql": {
      "command": "npx",
      "args": [
        "-y",
        "neosql-mcp",
        "--project=YOUR_PROJECT_ID",
        "--default-connection=YOUR_CONNECTION_ID",
        "--default-database=YOUR_DATABASE",
        "--default-schema=YOUR_SCHEMA"
      ]
    }
  }
}

Codex config.toml

[mcp_servers.neosql]
command = "npx"
args = [
  "-y",
  "neosql-mcp",
  "--project=YOUR_PROJECT_ID",
  "--default-connection=YOUR_CONNECTION_ID",
  "--default-database=YOUR_DATABASE",
  "--default-schema=YOUR_SCHEMA",
]

CLI Options

| Option | Description | | ------------------------------ | -------------------------------------------------- | | --project=<value> | Sets the default NeoSQL project id for tool calls. | | --default-connection=<value> | Sets the default connection id. | | --default-database=<value> | Sets the default database name. Use an empty value for null. | | --default-schema=<value> | Sets the default schema name. |

Use the --key=value form in MCP host config. Space-separated forms such as --project value are intentionally not supported.

Context Resolution

NeoSQL tools resolve project, connection, database, and schema in this order:

  1. Explicit arguments on the tool call.
  2. The Node-local context store (set from CLI options at startup; restart to change).
  3. Empty context.

Tools that accept per-call connectionId, database, and schema overrides:

  • list-tables
  • get-table-details
  • execute-query
  • create-tables
  • modify-tables

Available Tools

| Tool | Purpose | | -------------------- | -------------------------------------------------------------------------- | | ping | Returns pong for a lightweight MCP health check. | | list-connections | Lists MCP-enabled NeoSQL connections and schemas for the current project. | | get-context-help | Explains how to find and configure NeoSQL context values. | | list-tables | Lists tables for the selected connection/schema. | | get-table-details | Returns columns, keys, indexes, and related table metadata. | | execute-query | Executes non-DDL SQL using the selected context. | | create-tables | Requests table creation through NeoSQL Desktop. | | modify-tables | Requests table modification through NeoSQL Desktop. | | get-mcp-session-id | Diagnostic tool that returns the upstream session id used by this process. |

Transport

neosql-mcp talks to NeoSQL Desktop through a deterministic local endpoint:

  • macOS: path.join(os.tmpdir(), 'neosql-mcp.sock')
  • Windows: \\.\pipe\neosql-mcp

Troubleshooting

NeoSQL Desktop was not found

Install NeoSQL Desktop first. On macOS, neosql-mcp currently checks the standard /Applications and ~/Applications locations first. If the app is not found there, it falls back to the app path recorded by NeoSQL Desktop in ~/.neosql/mcp-config.json after the app has been launched at least once. On Windows, it checks the per-user NSIS uninstall registry entry under HKCU.

NeoSQL Desktop is not running

Start NeoSQL Desktop, wait for it to finish loading, and run the tool again. When possible, neosql-mcp requests OS-level app activation before returning this state.

NeoSQL Desktop did not respond

The app may still be starting or blocked. Wait a moment and retry, or restart NeoSQL Desktop.

Context-sensitive tools fail

Run list-connections or get-context-help, then check that --project, --default-connection, --default-database, and --default-schema match an MCP-enabled connection/database/schema.

npx cannot find or run the package

Check that the MCP host can access npx, that Node.js is 20 or later, and that each CLI option is a separate item in the MCP host args array.

Development

npm ci
npm run build
npm test

For local MCP host testing, build and link the binary:

npm run build
npm link
ls -la $(which neosql-mcp)

When local testing is done, unlink it so direct neosql-mcp commands no longer use the workspace build:

npm unlink -g neosql-mcp