
DataLink MCP Server
by pilatio.github.pilat/mcp-datalinkv1.2.4
Secure access to PostgreSQL, MySQL and SQLite databases with parameterized queries and schema inspection.
context tax
queued
security
queued
cold start
queued
freshness
Active27d ago
Install DataLink MCP server
Install in Claude Code
claude mcp add datalink -e DATALINK_ANALYTICS_URL='<datalink-analytics-url>' -- npx -y @pilat/mcp-datalinkInstall in Cursor
{
"mcpServers": {
"datalink": {
"command": "npx",
"args": [
"-y",
"@pilat/mcp-datalink"
],
"env": {
"DATALINK_ANALYTICS_URL": "<datalink-analytics-url>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"datalink": {
"command": "npx",
"args": [
"-y",
"@pilat/mcp-datalink"
],
"env": {
"DATALINK_ANALYTICS_URL": "<datalink-analytics-url>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"datalink": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@pilat/mcp-datalink"
],
"env": {
"DATALINK_ANALYTICS_URL": "<datalink-analytics-url>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"datalink": {
"command": "npx",
"args": [
"-y",
"@pilat/mcp-datalink"
],
"env": {
"DATALINK_ANALYTICS_URL": "<datalink-analytics-url>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| DATALINK_ANALYTICS_URL | yes | yes | Database connection URL. Pattern: DATALINK_<NAME>_URL where <NAME> identifies the database. Supports postgresql://, mysql://, or file path for SQLite. |
| DATALINK_ANALYTICS_READONLY | — | — | Set to 'true' for read-only access. Pattern: DATALINK_<NAME>_READONLY |
Freshness
Active — last maintenance signal 27d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-12 · 27d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-01-04 · 9mo ago · official registry · v1.2.4
FAQ
›How do I install the DataLink MCP server in Claude Code?
Run: claude mcp add datalink -e DATALINK_ANALYTICS_URL='<datalink-analytics-url>' -- npx -y @pilat/mcp-datalink. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does DataLink require an API key?
Yes. It expects DATALINK_ANALYTICS_URL, of which 1 is a secret.
›Can I use DataLink as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is DataLink in the official MCP registry?
Yes, as io.github.pilat/mcp-datalink.
Alternatives to DataLink
Other database MCP servers.