🗄️

PostgreSQL MCP Server

Updated June 2026✓ Official⚠ ArchivedTrust grade E31/100

The PostgreSQL MCP server was the Model Context Protocol reference server for Postgres, and it is retired: the source now sits in modelcontextprotocol/servers-archived — a repository GitHub reports as archived, described as "Reference MCP servers that are no longer maintained" — and the npm package @modelcontextprotocol/server-postgres carries a deprecation notice reading "Package no longer supported." It still installs and still runs, which is why most third-party setup articles have not caught up. Built by Anthropic, it is no longer maintained and best for Database.

by Anthropic

This repository is archived

GitHub reports the repository below as archived, so it takes no further commits, issues or pull requests — but the published package has not been unpublished, so npx @modelcontextprotocol/server-postgres postgres://localhost/mydb still installs and runs. Read the section below before you build on it: where a maintained replacement exists, it is named there.

About

The PostgreSQL MCP server was the Model Context Protocol reference server for Postgres, and it is retired: the source now sits in modelcontextprotocol/servers-archived — a repository GitHub reports as archived, described as "Reference MCP servers that are no longer maintained" — and the npm package @modelcontextprotocol/server-postgres carries a deprecation notice reading "Package no longer supported." It still installs and still runs, which is why most third-party setup articles have not caught up. What it provides is deliberately small: a single tool, query, which executes read-only SQL inside a READ ONLY transaction, plus per-table schema information exposed as MCP resources at postgres://<host>/<table>/schema, with column names and data types discovered from database metadata. There is no index advice, no health check, no separate schema-listing tool, and no write mode. Install is npx @modelcontextprotocol/server-postgres with a postgres:// connection string as the argument. For active work against Postgres, the maintained alternative is Postgres MCP Pro (crystaldba/postgres-mcp), which exposes nine tools including index tuning against hypothetical indexes and a database health check, and has an explicit restricted access mode; if your database is hosted on Supabase or Neon, their platform servers add branching and logs that a raw Postgres connection cannot see. Reach for this archived server only when you want the smallest possible surface — one process, one read-only query tool, nothing else.

E
At risk31/100
low confidence · 1 measured signal

Grade E (31/100, at risk) from 1 measured signal, based on repository evidence. Only one signal stands behind it, so treat the grade as provisional.

What was measured

  • Repository maintenance0/100 · weight 20

    The repository is archived by its owner, so it is by definition no longer maintained.

  • Source verification15/100 · weight 25

    The repository resolves, but its owner has archived it. Archived means read-only: no fixes, no releases, no response to issues.

  • Provenance100/100 · weight 10

    Official Model Context Protocol reference implementation, published by modelcontextprotocol at servers-archived/src/postgres.

  • Listing ↔ repository match100/100 · weight 5

    The link points at src/postgres inside the modelcontextprotocol/servers-archived monorepo — a confirmed official reference implementation. Monorepo subpaths are read as the server name, never compared against the repository name.

What could not be measured

These contributed nothing to the score — not a penalty, not a zero. They are why the confidence reads the way it does.

  • Live MCP handshakeunknown

    No remote endpoint to handshake — this server installs and runs locally over stdio, so there is nothing to probe from the outside.

  • Measured uptimeunknown

    No probe history recorded for this server yet.

  • Tool-schema stabilityunknown

    Drift is a difference between two successive checks, and this server has none recorded.

Installation

npm / npx
npx @modelcontextprotocol/server-postgres postgres://localhost/mydb

@modelcontextprotocol/server-postgres confirmed live on the npm registry — checked August 17, 2026.

Nearly every "connect Claude to Postgres" article still tells you to run npx @modelcontextprotocol/server-postgres. That server is retired. Its repository moved to modelcontextprotocol/servers-archived — a repo GitHub itself marks archived, described as "Reference MCP servers that are no longer maintained" — and the npm package carries a deprecation notice: "Package no longer supported." It still installs and still runs, which is exactly why the advice keeps propagating. What you get is one tool, query, executing read-only SQL, plus table schemas exposed as resources. No index advice, no health checks, and nothing has shipped in it for a long time. The live server people actually mean when they say "the Postgres MCP server" is Postgres MCP Pro (crystaldba/postgres-mcp, 3,184 stars) — nine tools, an explicit access-mode switch, and index tuning that runs real EXPLAIN plans against hypothetical indexes. This guide sets up the live one and tells you when the archived one is still the right call.

Setting up Postgres MCP Pro

  1. 1.Pick an install method

    Docker is the one to default to: it needs nothing on the host, and the image rewrites localhost in your connection string to reach the host database (host.docker.internal on macOS and Windows, 172.17.0.1 on Linux) rather than looking inside the container — the failure that otherwise reads as "connection refused" against a database you can see running.

    shell
    docker pull crystaldba/postgres-mcp
    # or, on the host:
    pipx install postgres-mcp
    uv pip install postgres-mcp
  2. 2.Wire it into Claude Desktop with Docker

    DATABASE_URI is passed by name in args and by value in env — that is deliberate in the project's own example, so the password is not baked into the argument list. The config file is at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%/Claude/claude_desktop_config.json on Windows.

    json
    {
      "mcpServers": {
        "postgres": {
          "command": "docker",
          "args": [
            "run", "-i", "--rm",
            "-e", "DATABASE_URI",
            "crystaldba/postgres-mcp",
            "--access-mode=unrestricted"
          ],
          "env": {
            "DATABASE_URI": "postgresql://username:password@localhost:5432/dbname"
          }
        }
      }
    }
  3. 3.Or run it from uvx with no container

    Same flags, no Docker daemon. This is the shape to use when the database is remote anyway and the localhost remapping buys you nothing.

    json
    {
      "mcpServers": {
        "postgres": {
          "command": "uvx",
          "args": ["postgres-mcp", "--access-mode=unrestricted"],
          "env": {
            "DATABASE_URI": "postgresql://username:password@localhost:5432/dbname"
          }
        }
      }
    }
  4. 4.Switch to restricted mode for anything you care about

    Replace --access-mode=unrestricted with --access-mode=restricted and every statement runs inside a read-only transaction. The parser also rejects COMMIT and ROLLBACK, which is the detail that makes it hold: without that, a model can close the read-only transaction and open a writable one, and the mode becomes decoration.

    shell
    uvx postgres-mcp --access-mode=restricted
  5. 5.Install the two extensions the good tools depend on

    pg_stat_statements is what get_top_queries and analyze_workload_indexes read; hypopg is what lets explain_query cost an index that does not exist yet. Without them the server still starts and those tools simply have nothing to say — a silent degradation that looks like the server being useless.

    sql
    CREATE EXTENSION IF NOT EXISTS pg_stat_statements;
    CREATE EXTENSION IF NOT EXISTS hypopg;
  6. 6.SSE, when the client will not spawn a process

    Start it with --transport=sse and it listens on port 8000; clients point at http://localhost:8000/sse. Useful for editors that only take a URL, and for running one server against a shared dev database instead of one process per developer.

    shell
    docker run -p 8000:8000 \
      -e DATABASE_URI=postgresql://username:password@localhost:5432/dbname \
      crystaldba/postgres-mcp --access-mode=unrestricted --transport=sse

The nine tools

The first four are what the archived reference server did, roughly. The last five are the reason to switch.

list_schemas

Inventory of database schemas — the usual first call before anything else knows where to look.

list_objects

Tables, views, sequences and extensions within a schema.

get_object_details

Columns, constraints and indexes for one object.

execute_sql

Runs SQL. In restricted mode it is confined to a read-only transaction; in unrestricted mode it will happily write.

explain_query

Execution plans, including plans costed against hypothetical indexes via hypopg — you can ask what a query would cost with an index before creating it.

get_top_queries

Slowest statements from pg_stat_statements.

analyze_workload_indexes

Finds the resource-heavy queries across the workload and proposes indexes for them.

analyze_query_indexes

The same recommendation engine pointed at up to ten specific queries you hand it.

analyze_db_health

Buffer cache, connections, invalid constraints, unused and duplicate indexes, sequence exhaustion, vacuum and replication state.

What people use it for

Index tuning that was actually costed, not guessed

Run analyze_workload_indexes, then for the top three recommendations use explain_query with the hypothetical index to show me the before and after plan cost. Do not create anything.

An LLM asked to suggest indexes will always suggest indexes. Making it route through hypopg means the numbers come from the planner rather than from the model, and you see the ones that would not have helped.

The health check nobody schedules

Run analyze_db_health and tell me which findings would cause an outage rather than a slowdown — start with sequence exhaustion and invalid constraints.

analyze_db_health covers the failures that are boring until the day an int4 sequence runs out. It is one tool call and there is no equivalent in the archived reference server.

Explain the schema you inherited

Using list_schemas, list_objects and get_object_details, write me a description of how orders, payments and refunds relate, and flag any foreign key I would expect to exist that does not.

This is the one thing the archived server could also do, and it remains the most common reason to connect a database at all — with the difference that constraints come back structured instead of as a SELECT you wrote by hand.

Which one should you use?

Postgres MCP Pro vs the archived reference server

Pro unless you specifically want the smallest possible surface — one npx process, one read-only query tool, no extensions, nothing maintained.

Postgres MCP vs Supabase MCP

Supabase if the database is a Supabase project: you additionally get logs, advisors, Edge Functions and branching. Plain Postgres when you want SQL and nothing else, including against a Supabase database via its connection string.

Postgres MCP vs Neon MCP

Neon when the database is on Neon and you want branch-per-migration workflows. Postgres MCP Pro when you want index and health analysis, which the platform servers do not do at the same depth.

Every command, environment variable, and endpoint above was read from the project’s own documentation on 2026-08-12: modelcontextprotocol/servers-archived — src/postgres, @modelcontextprotocol/server-postgres on npm, crystaldba/postgres-mcp on GitHub.

Browse all MCP server setup guides.

Categories

Frequently Asked Questions

Is @modelcontextprotocol/server-postgres deprecated?
Yes. The npm package is flagged "Package no longer supported", and the source now lives in modelcontextprotocol/servers-archived, a repository GitHub reports as archived and whose description is "Reference MCP servers that are no longer maintained". It still installs and runs; it just is not being maintained, and it has a single query tool. Use it only for a throwaway read-only connection where you want zero dependencies.
Which Postgres MCP server should I use?
Postgres MCP Pro (crystaldba/postgres-mcp) for general use — it is the actively developed one, has nine tools instead of one, and has a real read-only mode. Take the Supabase or Neon server instead if your database is on that platform, because you also get branching, logs and platform tooling that a raw Postgres connection cannot see.
Why does the server say connection refused when my database is running?
Almost always Docker networking with localhost in the connection string. The Postgres MCP Pro image remaps it for you (host.docker.internal on macOS and Windows, 172.17.0.1 on Linux), so if you are on the archived server or a different image inside a container, write the host address explicitly rather than localhost.
Is restricted mode actually safe to point at production?
It is a genuine read-only transaction, and the parser rejects COMMIT and ROLLBACK specifically so the transaction cannot be escaped — that is more than most database MCP servers do. It still does not stop a query from reading data you did not intend to expose to a model, and it does not stop prompt injection from data stored in your own tables. Treat it as protection against the agent breaking things, not against it seeing things.
Which Postgres versions does it support?
Testing focuses on 15, 16 and 17, with stated plans to support 13 through 17. Older majors are not tested, and pg_stat_statements availability on managed providers varies, so confirm the extension exists before assuming the query-analysis tools will return anything.
Do I need an OpenAI API key?
No. OPENAI_API_KEY is optional and only used by the experimental LLM-based index tuning path. The standard index recommendations come from the workload statistics and the planner, not from a model.
What is PostgreSQL MCP Server?
PostgreSQL is an MCP server built by Anthropic. The PostgreSQL MCP server was the Model Context Protocol reference server for Postgres, and it is retired: the source now sits in modelcontextprotocol/servers-archived — a repository GitHub reports as archived, described as "Reference MCP servers that are no longer maintained" — and the npm package @modelcontextprotocol/server-postgres carries a deprecation notice reading "Package no longer supported." It still installs and still runs, which is why most third-party setup articles have not caught up. What it provides is deliberately small: a single tool, query, which executes read-only SQL inside a READ ONLY transaction, plus per-table schema information exposed as MCP resources at postgres://<host>/<table>/schema, with column names and data types discovered from database metadata. There is no index advice, no health check, no separate schema-listing tool, and no write mode. Install is npx @modelcontextprotocol/server-postgres with a postgres:// connection string as the argument. For active work against Postgres, the maintained alternative is Postgres MCP Pro (crystaldba/postgres-mcp), which exposes nine tools including index tuning against hypothetical indexes and a database health check, and has an explicit restricted access mode; if your database is hosted on Supabase or Neon, their platform servers add branching and logs that a raw Postgres connection cannot see. Reach for this archived server only when you want the smallest possible surface — one process, one read-only query tool, nothing else.
Who built PostgreSQL MCP Server?
PostgreSQL MCP Server was built by Anthropic.
Is PostgreSQL MCP Server free?
Yes, PostgreSQL MCP Server has a free option. Free and open-source MCP server. PostgreSQL is free and open-source. Hosting costs depend on your infrastructure choice.
How do I install PostgreSQL MCP Server?
Install PostgreSQL MCP Server with npm: npx @modelcontextprotocol/server-postgres postgres://localhost/mydb. Note that its repository is archived and no longer maintained — the package is still published, so this command succeeds, but the project takes no further fixes.
What does PostgreSQL MCP Server integrate with?
PostgreSQL MCP Server integrates with Claude Desktop, Cursor, VS Code, Windsurf, Cline.

Related Guides

How to Set Up MCP Servers with Claude Desktop: Complete Guide 2026

9 min readTutorials

What is Model Context Protocol (MCP)? The Complete Guide for 2026

9 min readExplainers

Best Database MCP Servers 2026: PostgreSQL, MySQL, SQLite & More

7 min readGuides

Top 10 Most Popular MCP Servers in 2026 (By Use & GitHub Stars)

6 min readLists

Best MCP Servers for React Developers in 2026

7 min readGuides

Best MCP Servers for Machine Learning Engineers in 2026

8 min readGuides

Best MCP Servers for Startup Founders in 2026

7 min readGuides

Best Free MCP Servers 2026: Open-Source Tools With No API Key Required

7 min readGuides

Best MCP Servers for Supabase Developers in 2026

8 min readGuides

Best MCP Servers for Python Developers in 2026

9 min readGuides

Best MCP Servers for Windsurf IDE in 2026

8 min readGuides

Best MCP Servers for TypeScript Developers in 2026

7 min readGuides

Best MCP Servers for Machine Learning Engineers in 2026

8 min readGuides

Best MCP Servers for API Development in 2026

7 min readGuides

Best MCP Servers for Go Developers in 2026

7 min readGuides

Best MCP Servers for Data Analysts in 2026

7 min readGuides

Best MCP Servers for Backend Development in 2026

10 min readGuides

Best MCP Servers for Finance Teams in 2026

6 min readGuides

Best MCP Servers for IoT Developers in 2026: Sensors, Devices & Home Automation

7 min readGuides

Best MCP Servers for WordPress Developers in 2026

6 min readGuides

Best MCP Servers for Business Analysts in 2026

8 min readGuides

Best MCP Servers for Ecommerce Teams in 2026

8 min readGuides

Best MCP Servers for Legal Teams in 2026

7 min readGuides

Best MCP Servers for Backend Developers in 2026

9 min readGuides

Best MCP Servers for Machine Learning Engineers in 2026

8 min readGuides

Most Popular MCP Servers in 2026: Top Tools Ranked by Usage

10 min readGuides

Best MCP Servers for Operations Teams in 2026

8 min readGuides

Best MCP Servers for Consulting Firms in 2026

8 min readGuides

Best MCP Servers for Customer Success Teams in 2026

8 min readGuides

Best MCP Servers for Ruby Developers in 2026

7 min readGuides

Best MCP Servers for Java Developers in 2026

8 min readGuides

Best MCP Servers for LLM App Developers in 2026

8 min readGuides

Best MCP Servers for API Testing and QA Engineers in 2026

7 min readGuides

Best MCP Servers for Data Scientists in 2026

8 min readGuides

Best MCP Servers for Blockchain and Web3 Developers in 2026

7 min readGuides

Best MCP Servers for E-Commerce Teams in 2026

8 min readGuides

Best MCP Servers for Healthcare Teams in 2026

7 min readGuides

Best MCP Servers for Sales Teams in 2026

8 min readGuides

Best MCP Servers for Product Managers in 2026

8 min readGuides

Best MCP Servers for SaaS Developers in 2026

8 min readGuides

Best MCP Servers for Email Marketing in 2026

8 min readGuides

Best MCP Servers for Rust Developers in 2026

8 min readGuides

Best MCP Servers for Go Developers in 2026

8 min readGuides

Best MCP Servers for Python Developers in 2026: Jupyter, Testing & More

9 min readGuides

Best MCP Servers for Web Scraping in 2026: Firecrawl, Bright Data & More

8 min readGuides

Best MCP Servers for Swift Developers in 2026: iOS, macOS & visionOS

8 min readGuides

Best MCP Servers for Prompt Engineers in 2026: Testing, Evaluation & Iteration

9 min readGuides

Best MCP Servers for Nonprofits in 2026: Grant Research, Donor Management & Impact Reporting

9 min readGuides

Best MCP Servers for Claude 4 in 2026 (Sonnet 4.6 & Opus 4.7)

9 min readGuides

Best MCP Servers for n8n Workflow Automation in 2026

8 min readGuides

MCP Servers for OpenAI Agents SDK: Complete Setup Guide 2026

9 min readGuides

Best MCP Servers for Zapier Users in 2026

8 min readGuides

Best MCP Servers for Android Developers in 2026

9 min readGuides

Best MCP Servers for PHP Developers in 2026

8 min readGuides

Best MCP Servers for Vue.js Developers in 2026: Complete Guide

9 min readGuides

Best MCP Servers for Healthcare Professionals in 2026

8 min readGuides

Best MCP Servers for TypeScript Developers in 2026

9 min readGuides

Best MCP Servers for GitHub Copilot: Supercharge VS Code Agent Mode

8 min readGuides

Best MCP Servers for Debugging: Fix Bugs Faster with AI Context

7 min readGuides

Best MCP Servers for Replit: Extend Your AI Agent with Real Tools

6 min readGuides

Best MCP Servers for SQL Developers in 2026

7 min readGuides

Best MCP Servers for Data Pipelines in 2026

8 min readGuides

Best MCP Servers for Blockchain Developers in 2026

8 min readGuides

Best MCP Servers for Django Developers in 2026

7 min readGuides

Best MCP Servers for Java Developers in 2026

7 min readGuides

Best MCP Servers for Data Analysts in 2026

7 min readGuides

Best MCP Servers for Next.js Developers in 2026

7 min readGuides

Best MCP Servers for Go Developers in 2026

7 min readGuides

Best MCP Servers for ML Engineers in 2026

8 min readGuides

Best MCP Servers for Stripe Developers in 2026

7 min readGuides

Best MCP Servers for GraphQL Developers in 2026

7 min readGuides

Best MCP Servers for Redis Developers in 2026

6 min readGuides

Best MCP Servers for .NET Developers in 2026

7 min readGuides

Best MCP Servers for Python Developers in 2026

7 min readGuides

Best MCP Servers for Node.js Developers in 2026

7 min readGuides

Best MCP Servers for Jupyter Notebook Users in 2026

7 min readGuides

Best MCP Servers for Zed in 2026: Supercharge the AI-Native Editor

6 min readGuides

Best MCP Servers for Deno Developers in 2026

6 min readGuides

Best MCP Servers for Bun Developers in 2026

6 min readGuides

Best MCP Servers for Warp Terminal in 2026

6 min readGuides

Best MCP Servers for Rust Developers in 2026

6 min readGuides

Best MCP Servers for Supabase Developers in 2026

6 min readGuides

Best MCP Servers for Neovim Users in 2026

6 min readGuides

Best MCP Servers for JetBrains IDEs in 2026

6 min readGuides

Best MCP Servers for OpenAI Platform Developers in 2026

6 min readGuides

Best MCP Servers for Svelte and SvelteKit Developers in 2026

6 min readGuides

Best MCP Servers for LangChain and LangGraph Developers in 2026

7 min readGuides

Best MCP Servers for Terraform Developers and DevOps Engineers in 2026

7 min readGuides

Best MCP Servers for Python Developers in 2026

8 min readGuides

Best MCP Servers for React Developers in 2026

7 min readGuides

Best MCP Servers for Windsurf in 2026

6 min readTools

Best MCP Servers for Kotlin Developers in 2026

7 min readGuides

Best MCP Servers for Elixir Developers in 2026

7 min readGuides

Best MCP Servers for Scala Developers in 2026

7 min readGuides

Best MCP Servers for FastAPI Developers in 2026

7 min readGuides

Best MCP Servers for Spring Boot Developers in 2026

7 min readGuides

Best MCP Servers for R Developers in 2026

7 min readGuides

Best MCP Servers for Ruby on Rails Developers in 2026

7 min readGuides

Best MCP Servers for Nuxt Developers in 2026

7 min readGuides

Best MCP Servers for Laravel Developers in 2026

7 min readGuides

Best MCP Servers for NestJS Developers in 2026

7 min readGuides

Best MCP Servers for Flask Developers in 2026

7 min readGuides

Best MCP Servers for Remix Developers in 2026

7 min readGuides

Best MCP Servers to Use with LM Studio in 2026

8 min readGuides

Best MCP Servers for Fintech Developers in 2026

9 min readGuides

Best MCP Servers for Manufacturing and ERP in 2026

8 min readGuides

Best MCP Servers to Use with Make.com in 2026: Supercharge Your Automations

8 min readGuides

Deploying MCP Servers to AWS Lambda: A Complete Guide for 2026

10 min readDeployment

MCP Server Secrets Management: How to Secure API Keys and Credentials

9 min readSecurity

Best MCP Servers for Government Agencies and Public Sector Teams

8 min readUse Cases

Deploying MCP Servers to Supabase: Edge Functions, Postgres & Realtime

11 min readDeployment

MCP Servers for Data Pipelines: Orchestrate ETL and Data Flows with AI

10 min readUse Cases

MCP Servers for Customer Support: AI-Powered Ticket Triage and Resolution

10 min readUse Cases

MCP Servers for Healthcare: AI Workflows for Clinical and Admin Teams

11 min readIndustries

MCP Integration Guide: Claude Desktop

9 min readIntegrations

MCP Servers for Insurance: Automate Claims, Underwriting & Policy Workflows in 2026

10 min readIndustries

MCP Servers for Procurement: Automate Purchase Orders, Vendor Management & Approvals

9 min readUse Cases

MCP Integration Guide: JetBrains IDEs (IntelliJ, PyCharm, WebStorm) in 2026

8 min readIntegration Guides

Repo Health

Maintained

Local/stdio install — runs on your machine, so there is no remote endpoint to verify live. Trust signal below is from the source repo.

Last commit
1y ago
Install
npm
Package
@modelcontextprotocol/server-postgres

Quick Info

Install Type
npm
Author
Anthropic
Categories
1
Integrations
5

Related Servers

🗄️

MongoDB MCP Server

The official MongoDB MCP server, `mongodb-js/mongodb-mcp-server`, maintained by MongoDB. Searchers find it as the MongoDB MCP server or the Mongo MCP server; both names refer to this one project, and there is no separate short-form server. It is really two tool surfaces in one process. The database tools connect to any MongoDB deployment over a connection string in `MDB_MCP_CONNECTION_STRING` — `find`, `aggregate`, `explain`, `collection-schema`, `collection-indexes`, `create-index`, `count`, `export`, `mongodb-logs` and the write tools — or, if no connection string is set, the model calls the `connect` tool at runtime and passes the returned `connectionId` to later calls. The Atlas tools are a separate control plane: listing and creating clusters, database users, IP access-list entries, stream processing resources and the performance advisor. They authenticate with Atlas Service Account credentials (`MDB_MCP_API_CLIENT_ID` / `MDB_MCP_API_CLIENT_SECRET`), not with a connection string, and they simply do not register when those are unset — the usual cause of a 'the Atlas tools are missing' report. Two defaults are worth knowing before you point it at production. `readOnly` is false, so every write tool including `drop-database` is registered unless you pass `--readOnly`, which is why MongoDB's own README uses that flag in every example. And confirmation-required tools rely on MCP elicitation, so on a client that does not support elicitation they execute without prompting — `--readOnly` or `--disabledTools` is the actual boundary. Other guardrails: `indexCheck` rejects queries that would do a collection scan, server-side JavaScript (`$where`, `$function`, `$accumulator`) is disabled by default, results are capped at 100 documents and 16 MB per call, and `--dryRun` prints the resolved config and enabled tool list without starting the server. Requires Node 22.13.0 or later (Node 20 is deprecated); also published as the `mongodb/mongodb-mcp-server` Docker image. Runs over stdio by default, with an optional HTTP transport and a separate monitoring listener for `/health` and Prometheus `/metrics`.

Local📘
🗄️

SQLite MCP Server

conversational read and write access to any SQLite database file, plus a running business-insights memo that accumulates what the analysis turns up. It is a Python server on PyPI, not a Node one, and the difference is the single most common reason setups fail here: `@modelcontextprotocol/server-sqlite` does not exist on npm, so every npx line for it 404s. The working invocation is `uvx mcp-server-sqlite --db-path /path/to/database.db` (PyPI package mcp-server-sqlite, v2025.4.25), or the equivalent `mcp/sqlite` Docker image with a volume mounted at /mcp. The --db-path argument is required and points at the .db file; the server will create it if it is not there yet. Six tools are exposed, deliberately split by risk: read_query for SELECT only, write_query for INSERT/UPDATE/DELETE, create_table for DDL, list_tables and describe-table for schema introspection, and append_insight, which writes into a memo://insights resource that updates live as findings accumulate — that resource, not the SQL tools, is what makes this server different from a generic database connector. It also ships an mcp-demo prompt that takes a business topic, generates a plausible schema and sample data, and walks through an analysis end to end, which is the fastest way to see the memo behaviour without wiring up real data. One caveat to weigh before adopting it: this is an Anthropic reference implementation that now lives in modelcontextprotocol/servers-archived, archived on 2025-05-28. The published package still installs and runs, but it is frozen — no new features, no dependency updates, and no security patches.

Local
🗄️

Redis MCP Server

The Redis MCP Server (redis/mcp-redis) is Redis's own natural-language interface for agentic applications, letting an AI client read and write Redis data over the Model Context Protocol. Note which one you install: the server most tutorials still point at is Anthropic's reference implementation, which now lives in modelcontextprotocol/servers-archived, and its npm package @modelcontextprotocol/server-redis is explicitly marked "Package no longer supported" with a last publish of 2025-04-25. The maintained server is a Python package instead, run with uvx --from redis-mcp-server@latest, and it covers far more of Redis than the reference one did: string, hash, list, set and sorted-set tools; JSON document tools; pub/sub with stateful channel and pattern subscriptions; Streams tools including consumer-group create, read, acknowledge and destroy; vector index management and vector search through the query engine; a docs search tool; and a server-management tool for database info. Connection is a redis:// or rediss:// URL passed as --url, or the REDIS_HOST/REDIS_PORT/REDIS_PWD/REDIS_SSL environment variables, with Redis Cluster mode behind REDIS_CLUSTER_MODE and EntraID service-principal, managed-identity and default-credential auth flows for Azure Managed Redis. There is no --read-only flag: the documented way to stop an agent writing is a Redis ACL user (ACL SETUSER readonlyuser on >pw ~* +@read -@write). Ships as a PyPI package, a GitHub install via uvx, and an official mcp/redis Docker image; stdio transport only.

Local📘
🗄️

Supabase MCP Server

Supabase MCP Server connects Cursor, Claude Code, Claude Desktop, Windsurf and other MCP clients to a Supabase project, and the first thing to know is that the personal access token setup most guides still describe is gone. Supabase now runs a hosted server at https://mcp.supabase.com/mcp using OAuth 2.1 with dynamic client registration — you add the URL, your client opens a browser, you pick the organization, and there is no PAT to mint or rotate. For Claude Code that is `claude mcp add --scope project --transport http supabase "https://mcp.supabase.com/mcp"` followed by `/mcp` in a plain terminal (not the IDE extension) to run the auth flow. Three URL query parameters do the real configuration work: `read_only=true` runs every statement as a read-only Postgres role, `project_ref=<id>` scopes the server to one project and drops the account-management tools entirely, and `features=` selects the tool groups. Those groups are database (list_tables, list_extensions, list_migrations, apply_migration, execute_sql), debugging (get_logs across API/Postgres/Edge Functions/Auth/Storage/Realtime, plus get_advisors for security and performance findings), development (get_project_url, get_publishable_keys, generate_typescript_types), Edge Functions (list, get, deploy), account management, docs search, experimental branching on paid plans, and storage — storage is the one group disabled by default. Running Supabase locally with the CLI exposes a reduced server at http://localhost:54321/mcp with no OAuth; self-hosted installs are similar. The npm package `@supabase/mcp-server-supabase` still exists for stdio clients and also exports `createToolSchemas()` so Vercel AI SDK users get typed tool inputs and outputs. Read Supabase's security best-practices page before pointing this at anything with production data — the mutating tools are real.

Auth required📘
🗄️

Neon MCP Server

The Neon MCP Server (neondatabase/mcp-server-neon) is Neon's official, open-source bridge between natural language and the Neon serverless Postgres platform. It translates conversational requests into Neon API and SQL calls, letting Claude, Cursor, VS Code, and other MCP clients create projects and branches, run queries, inspect schemas, and perform database migrations without hand-writing SQL or hitting the API directly. A standout capability is migration support built on Neon's branching: the server can spin up a branch, apply and test a schema change there, and only then merge it — so an assistant can safely run "add a created_at column to the users table" against an isolated copy first. The easiest setup is the remote hosted server at https://mcp.neon.tech/mcp, which supports both OAuth (no API key to manage) and API-key auth via the Authorization header; run `npx neon@latest init` for one-command configuration of Cursor, VS Code (Copilot), and Claude Code, or `npx add-mcp https://mcp.neon.tech/mcp` to register it across all detected editors. Requires Node.js 18+ and a free Neon account; if IP Allow is enabled, whitelist the mcp.neon.tech static IPs. Neon explicitly scopes this server to local development and IDE workflows — its README warns against production use since natural-language commands can execute powerful, irreversible database operations, so always review actions before authorizing them.

Auth required📘

Sponsored

Better Stack

Free Plan

Get alerted when your APIs, browser tests, payment pipelines, or MCP server dependencies go down. Used by 100K+ developers.

Start monitoring free →