Dbhawk MCP server
com.datasparc/dbhawk·v0.4.2Secure access to DBHawk datasources: browse schemas, run governed queries, DBHawk AI text-to-SQL.
not scanned yet
0 stars
Reviews
Write oneNobody has reviewed Dbhawk yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Dbhawk tools
No tool declarations could be read from the package source. They show once the server is installed.
How Dbhawk compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 77/100
- higher than 40% of 802 Databases servers
Release history: 2 versions in the registry since 2026-09-23, latest 2026-10-17, typically one every 23 days.
Install Dbhawk in Claude Code, Cursor or VS Code
Runs npx -y @dbhawk/mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add dbhawk -- npx -y @dbhawk/mcp
What the publisher says
From the Dbhawk repository's README, as published. We do not edit it. Read it on GitHub
DBHawk MCP — Claude Code plugin + demo connector
Gives an AI assistant read-only access to DBHawk: list the datasources a user is assigned, browse schema/tables/columns, run read-only queries (with the user's access control and column masking applied), and use HawkAI text-to-SQL / optimize / format.
It's a thin bridge over the existing DBHawk REST surface at /api/v2/mcp/**. No write path exists; DBHawk rejects any statement that modifies data or schema, whatever role the token owner has.
Auth is two steps. DBHAWKTOKEN is a personal token (dbh.), not a JWT — the MCP endpoints won't accept it directly. On its first call the server exchanges it for a short-lived JWT at POST /api/v2/auth/token/exchange (sending the personal token in the X-API-Token header), caches that JWT, and sends it as the Bearer for every /api/v2/mcp/** call. When the JWT expires the next call gets a 401, and the server re-exchanges and retries once — transparent to you.
dbhawk-mcp-plugin/ <- this folder = a Claude Code "marketplace" (push it to git)
├── .claude-plugin/marketplace.json
└── dbhawk/ <- the actual plugin (installed by users)
├── .claude-plugin/plugin.json
├── .mcp.json <- declares the "dbhawk" stdio MCP server
└── mcp-server/
├── index.js <- source
├── package.json <- build tooling (maintainers only)
└── dist/dbhawk-mcp.mjs <- COMMITTED self-contained bundle (what users run; no npm install)The bundle in dist/ inlines every dependency, so a bare git clone runs with zero install — that's what makes /plugin install work.
For users — install
Claude Code (from the marketplace)
Once this repo is on GitHub (see Publish below), point Claude Code at it and install:
/plugin marketplace add datasparc/dbhawk-mcp-plugin
/plugin install dbhawk@dbhawk-marketplacedbhawk is the plugin name, dbhawk-marketplace is the marketplace name (from marketplace.json). Then set the connection (see Configure) and check the tools are live with /mcp.
Prefer to try it without a git host? Load the local folder for one session:
claude --plugin-dir ./dbhawk-mcp-plugin/dbhawkClaude Desktop (extension, .mcpb) — recommended
Claude Desktop installs this as a Desktop Extension with a proper GUI settings form (no JSON editing). It's the same MCP server, packaged as an .mcpb bundle.
(or just drag the .mcpb onto the Extensions window).
- Download dbhawk-.mcpb from the Releases page.
- In Claude Desktop: Settings → Extensions → Advanced settings → Install and pick the file
Default Datasource (optional) — and save.
- Fill in the form — DBHawk Base URL, API Token (masked; stored in your OS keychain),
Claude Desktop does not auto-update file-installed extensions: to upgrade, download the newer .mcpb and install it again. This is independent of the Claude Code plugin — you don't need the marketplace plugin installed.
Claude Desktop (manual config, advanced)
Prefer to wire it by hand instead of the .mcpb? Point Desktop at the bundle with an absolute path. Edit claudedesktopconfig.json (Windows: %APPDATA%\Claude\claudedesktopconfig.json, macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json):
{
"mcpServers": {
"dbhawk": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": ["C:\\...\\dbhawk-mcp-plugin\\dbhawk\\mcp-server\\dist\\dbhawk-mcp.mjs"],
"env": {
"DBHAWK_BASE_URL": "https://demo.dbhawk.example.com",
"DBHAWK_TOKEN": "PASTE_MCP_TOKEN_HERE",
"DBHAWK_DEFAULT_DATASOURCE": ""
}
}
}
}Restart Claude Desktop fully (including the tray icon).
Configure
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Dbhawk: common questions
- Is Dbhawk MCP server safe?
- Mostly: it is graded B (77/100). Read the Dbhawk safety report
- How do I install Dbhawk?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Dbhawk need an API key?
- Yes. The registry entry asks for
DBHAWK_TOKEN. - Is Dbhawk maintained?
- The last commit was 41 days ago (2026-09-23). The latest release is v0.4.2.
- What can I use instead of Dbhawk?
- Servers from other publishers that do the same job: Schemagate MCP server, LINQ to DB MCP server and IBM Db2 for i MCP server.
Alternatives to Dbhawk
Same job from other publishers: the closest match first, then the best rated.
- SchemagateIdentity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.not reviewedGrowingB
- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
- IBM Db2 for iRead-only SQL queries and schema inspection for IBM Db2 for i over ODBC, JT400 or Mapepire (SSH).not reviewedEstablishedA
- QueryWeaverAn MCP server for Text2SQL: transforms natural language into SQL using graph schema understanding.not reviewedGrowingA
Grain SQLRun SQL queries and inspect database schemas through safe, visible MCP tools.not reviewedGrowingB