Safedb MCP Server
by narekmalkio.github.narekmalk/safedb-mcpv0.5.0
Safe, read-only database access with SQL guardrails, table allowlists, PII masking and audit logs.
context tax
queued
security
queued
cold start
queued
freshness
Active16d ago
Install Safedb MCP server
Install in Claude Code
claude mcp add safedb -e YOUR_API_KEY='<your-api-key>' -- npx -y @safedb/safedb-mcpInstall in Cursor
{
"mcpServers": {
"safedb": {
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"safedb": {
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"safedb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"safedb": {
"command": "npx",
"args": [
"-y",
"@safedb/safedb-mcp"
],
"env": {
"YOUR_API_KEY": "<your-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| YOUR_API_KEY | yes | yes | Your API key for the service |
Freshness
Active — last maintenance signal 16d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-23 · 16d ago · GitHub
Latest release
2026-05-27 · 5mo ago · GitHub · v0.5.0
Package published
no data · npm/PyPI
Registry entry updated
2026-05-23 · 5mo ago · official registry · v0.5.0
FAQ
›How do I install the Safedb MCP server in Claude Code?
Run: claude mcp add safedb -e YOUR_API_KEY='<your-api-key>' -- npx -y @safedb/safedb-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Safedb require an API key?
Yes. It expects YOUR_API_KEY, of which 1 is a secret.
›Can I use Safedb as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Safedb in the official MCP registry?
Yes, as io.github.narekmalk/safedb-mcp.
Alternatives to Safedb
Other database MCP servers.