Data Link MCP Server

MCP server for PostgreSQL, MySQL, and SQLite. Gives AI assistants secure database access via Model Context Protocol. Its 6 documented tools cluster into read & search, run & execute, explain. It runs locally over stdio via the published package.

People connecting database tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-08-24 · ★ 4 · #73 OF 151 MAINTAINED DATABASE · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install Data Link

before you install - you'll need

Set DATALINK_ANALYTICS_URL, DATALINK_ANALYTICS_READONLY, DATALINK_INVENTORY_URL, DATALINK_CACHE_URL, DATALINK_MAIN_URL before connecting.

Claude Code

claude mcp add pilat-mcp-datalink -- npx -y @pilat/mcp-datalink

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "pilat-mcp-datalink": {
      "command": "npx",
      "args": [
        "-y",
        "@pilat/mcp-datalink"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package @pilat/mcp-datalink - published under the repo owner's npm scope (@pilat)

registry namespace io.github.pilat is GitHub-verified and matches the repo owner

03 · What Data Link can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

What you can build

With this server connected, an agent can list configured database connections, list tables with row counts, and get schema, indexes, foreign keys.

Capability map

Tools grouped from the project's README - what Data Link lets an agent do.

read & search

4 tools - e.g. List configured database connections; List tables with row counts; Get schema, indexes, foreign keys

list_databases · list_tables · describe_table · query

run & execute

1 tool - e.g. Run INSERT/UPDATE/DELETE

execute

Explain

1 tool - e.g. Show query execution plans

explain

04 · Who maintains Data Link

DataLink is maintained by pilat. It's the only MCP server we track from this author; the repo dates to Jan 2026.

05 · Facts

category
database - ranked #73 of 151 actively-maintained database servers as of 2026-08-25.
registry
io.github.pilat/mcp-datalink (active, first published 2026-01-04)
packages
npm:@pilat/mcp-datalink

06 · Data Link FAQ

Is Data Link still maintained?

Yes - as of 2026-08-25, its last commit was 2026-08-24. We re-verify nightly.

What can Data Link do?

With this server connected, an agent can list configured database connections, list tables with row counts, and get schema, indexes, foreign keys.

How do I install Data Link?

Run `npx -y @pilat/mcp-datalink`. The README documents 5 environment variables (DATALINK_ANALYTICS_URL, DATALINK_ANALYTICS_READONLY, DATALINK_INVENTORY_URL…) to set first. Set DATALINK_ANALYTICS_URL, DATALINK_ANALYTICS_READONLY, DATALINK_INVENTORY_URL, DATALINK_CACHE_URL, DATALINK_MAIN_URL before connecting. You can also paste the ready-made client config above.

Does Data Link run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to Data Link