valv

sh.valv/mcp

About valv

valv is an MCP server published by valv.sh. Let coding agents query any SQL database safely. Read-only by default and scoped by your policies.

It runs on your own machine: your AI client starts it from the npm package @valv/mcp at version 0.6.2.

It asks for one secret: DATABASE_URL. Give it a key with the least access that still works.

Version 0.6.2 was published on 28 July 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
DATABASE_URLYesYesDatabase connection string. PostgreSQL, MySQL, SQLite, CockroachDB, or a ClickHouse HTTP URL.
VALV_PROVIDERNoNoDatasource provider: postgresql, mysql, sqlite, or clickhouse. Inferred from DATABASE_URL when omitted.
VALV_DATABASENoNoDatabase name. Required for ClickHouse, whose URL does not carry one.
VALV_TABLESNoNoComma-separated allow-list of tables. When set, only these are exposed to the agent.
VALV_EXCLUDENoNoComma-separated deny-list of tables, applied after the allow-list.
VALV_POLICY_FILENoNoPath to a policy module that takes full control of access. Without it, the server is read-only across all tables.
VALV_CONTEXTNoNoJSON context object the policy reads, e.g. {"tenant":{"id":"acme"}}.
VALV_HTTP_PORTNoNoServe over Streamable HTTP on this port instead of stdio.

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/valv-dev/valv
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: DATABASE_URL
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via domain valv.sh
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPass@valv/mcp@0.6.2 runs nothing at install
Code red flagsPassRead 13 files in @valv/mcp@0.6.2: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 13 files, including comments and the README

Popularity & health: 58 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity10 / 40

5 GitHub stars, 45 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity21 / 25

Last push 2026-10-02, no GitHub release, 10 commits in 90 days.

Issue health8 / 15

0 closed of 0 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

0 forks, 1 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry namesh.valv/mcp
PublisherDomain valv.sh
How the name is verifiedName verified via domain valv.sh. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagesnpm @valv/mcp 0.6.2 (stdio)
Version0.6.2
Published
Last updated
Source repositoryhttps://github.com/valv-dev/valv
Websitehttps://valv.sh
CategoryDatabases & data (assigned by keyword rule, not by hand)

Related servers in Databases & data