Connector guide1-minute read8 MCP toolsEN · DE · IT

Postgres を MCP に — あらゆる AI エージェントから Postgres を操作

Direct Postgres connection over libpq — execute SELECT/EXPLAIN queries, list schemas/tables/indexes, sample rows, fetch column stats. Read-only role recommended for AI use.

HCBy HelpCode teamUpdated 1 min read Open source on GitHub

No credit card · 7-day trial · Self-host alternative available

Postgres

MCP connector

Postgres

Direct Postgres connection over libpq — execute SELECT/EXPLAIN queries, list schemas/tables/indexes, sample rows, fetch column stats. Read-only role recommended for AI use.

Tools

8

Region

SELF-HOST

Category

Data & Analytics

Authentication

Basic Auth

Required env vars

POSTGRES_URL
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Source-available BSL-1.1
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Skip the install. Get this working in under 2 minutes.

Start a free trial on cloud.anythingmcp.com, add the Postgres in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.

Start free trial

Summary

Direct Postgres connection over libpq — execute SELECT/EXPLAIN queries, list schemas/tables/indexes, sample rows, fetch column stats. Read-only role recommended for AI use.

こう聞いてみよう

Postgres のサンプルプロンプト

プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。

Postgres · MCP 経由でライブ
共有
Opus 4.7

Claude は AI のため誤ることがあります。回答をご確認ください。

💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Postgres をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も git clone もローカルサーバーも不要。

Postgres

Direct Postgres connection over libpq — execute SELECT/EXPLAIN queries, list schemas/tables/indexes, sample rows, fetch column stats. Read-only role recommended for AI use.

セットアップ

前提条件: POSTGRES_URL

ローカルでコネクタをインストール

git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d

http://localhost:3000/connectors/store を開き、 Postgres を選択し、前提条件に記載された環境変数を入力します。

利用可能なツール

次のステップ

このガイドは役に立ちましたか?

Ready to ship

Your Postgres agent is one click away.

Install the connector, paste the key, prompt any MCP client. Free for 7 days, no credit card.

関連ガイド