mcpbeat Sign in

valv MCP Server

local only

valv runs on your own machine — the client starts it, so there is no endpoint to ping. 45 installs a week from npm. Last commit 2 Oct 2026.

Let coding agents query any SQL database safely. Read-only by default and scoped by your policies.

Installs per day peak 12 · avg 3 · +181% w/w
a month agotoday
45
Installs / week
npm · @valv/mcp
5
Stars
0 open issues
2 Oct 2026
Last commit
1 release in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Claims read-only, but the code runs commands packages/prisma/src/url.ts:66, packages/mcp/src/init.ts:374
  execFileSync(process.execPath, [cliPath, ...args], {
Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

  execFileSync(process.execPath, [cliPath, ...args], {

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch valv and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp -e 'DATABASE_URL=<DATABASE_URL>' -- npx -y @valv/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@valv/mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@valv/mcp"]
env = { DATABASE_URL = "<DATABASE_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@valv/mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@valv/mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

Put your own value in place of <DATABASE_URL> (Database connection string. PostgreSQL, MySQL, SQLite, CockroachDB, or a ClickHouse HTTP URL). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: VALV_PROVIDER (Datasource provider: postgresql, mysql, sqlite, or clickhouse. Inferred from DATABASE_URL when omitted), VALV_DATABASE (Database name. Required for ClickHouse, whose URL does not carry one), VALV_TABLES (Comma-separated allow-list of tables. When set, only these are exposed to the agent), VALV_EXCLUDE (Comma-separated deny-list of tables, applied after the allow-list), VALV_POLICY_FILE (Path to a policy module that takes full control of access. Without it, the server is read-only across all tables), VALV_CONTEXT (JSON context object the policy reads, e.g. {"tenant":{"id":"acme"}}), VALV_HTTP_PORT (Serve over Streamable HTTP on this port instead of stdio).

Alternatives to valv

same job, measured the same way
Quarry
by yiminspace

Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.

340 installs/wk local only
A2db
by agentic-eng

Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.

109 installs/wk local only
Drizzle MCP
by fredobumma

Drizzle Studio for agents: explore your database through your Drizzle schema. Read-only by default.

617 installs/wk local only
SQLite MCP Sidecar
by xakpc

Agent-safe MCP sidecar for one live SQLite database: read-only default, bounded writes.

local only
Pgport
by cloudcorprecords

Read-only SQL queries against a PostgreSQL database.

247 installs/wk local only
D
DataRunner
by datarunner

Query, monitor and schedule SQL across your databases: schemas, read-only SQL, alerts, hosts.

132 installs/wk local only
Rowbase
by djstreet11

Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.

95 installs/wk local only
Universalbench
by nikhilgogulwar

Run code, query databases, call any LLM, and commit to GitHub from your AI, safely. Free tier.

answering

valv — questions

Answers built from our own checks of this server.

Why is there no uptime for valv?
valv runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @valv/mcp was installed 45 times last week.
How do I connect valv?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @valv/mcp straight from npm; nothing to host, nothing to sign up for.
How many people use valv?
The npm package @valv/mcp was installed 45 times in the last week. Week over week that is +181%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is valv open source?
Yes — it is published under the MIT licence, written in TypeScript and 5 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.