
PostgreSQL CVE & Release Intelligence
io.github.meobPublished by GitHub account meobv1.0.4Updated Oct 24, 2026
PostgreSQL security for AI agents: CVEs, yanked releases, exploits, and upgrade paths
Overview
Local MCP server that gives an assistant structured PostgreSQL security intelligence: CVEs per version, yanked releases, known exploits and upgrade paths.
- What you can do
- Look up a version's security report: EOL and yanked flags, release date, stats and CVEs sorted by CVSS
- Compare two versions to see fixed, new and still-present CVEs
- Get a recommended upgrade path from a version, with the CVEs it fixes
- List all CVEs with known public exploits, sorted by CVSS
- Get an overview of the tracked CVE database, including yanked releases
- When to use it
- Useful when an assistant has to answer questions about whether a PostgreSQL version is safe, what changed between two releases, or which upgrade to take, and you want curated answers rather than raw NVD feeds.
- Requirements
- Runs locally over stdio from the PyPI package pg-cve-mcp (Python), or self-hosted over Streamable HTTP. Network access to fetch the CVE dataset, with a bundled fallback copy. Optional environment variables PG_CVE_MCP_DATA_URL, PG_CVE_MCP_TTL and PORT. No authentication declared.
Installation
In SourceWeft
- Open PostgreSQL CVE & Release Intelligence in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
pg-cve-mcp — PostgreSQL CVE & Release Intelligence for AI Agents
[PyPI version] [Python versions] [License]
Give your AI assistant direct access to PostgreSQL security intelligence: CVEs, yanked releases, known exploits, and upgrade paths for any version — queried, not browsed.
Why pg-cve-mcp?
Browsing a CVE dashboard is a human habit. Agents need answers, not pages.
pg-cve-mcp turns the curated dataset of the PG_CVE project — the same one powering the PostgreSQL CVE Dashboard — into MCP tools that any AI assistant (opencode, Claude Desktop, etc.) can call directly. What was a static page becomes a first-class, programmatic part of your AI workflow.
Unlike raw NVD feeds, the PG_CVE dataset is manually curated to carry the same judgment a careful DBA would apply:
- Yanked releases flagged with the real reason (e.g. "Data corruption using CONCURRENTLY")
- Known exploits confirmed to exist in the wild
- EOL branches marked, with a synthetic
CVE-EOL-WARNING(CVSS 10.0) prepended to unsupported reports - Verified CVEs — no false positives from automated scraping
What your agent can now do
Agent-first design
Every tool returns structured JSON, sorted by CVSS (highest first). Tools flag yanked and EOL state explicitly on the version metadata, and include release dates for every version. get_upgrade_path distinguishes a safe minor upgrade from a forced major one when a branch is at or near end-of-life — so the agent can give advice, not just data.
See real tool outputs in the live demo.
Quick Start
Or with npx (no install):
MCP Tools
Transports
stdio (default)
Run locally over stdio for opencode, Claude Desktop, and other stdio MCP clients:
Streamable HTTP (self-hosted)
For remote or enterprise deployments, serve the same tools over HTTP. Run
python run_server.py (or build the Dockerfile); the server listens on $PORT
(default 8000) at path /mcp:
Configure any MCP client with the URL, e.g. in opencode.json:
Configuration
Development
Run the test suite and linters:
Data Source
Data is fetched from the PG_CVE project's GitHub Pages with local caching. Falls back to a bundled copy if the network is unavailable.
Example Prompts
"What CVEs affect PostgreSQL 16.4?"
"Is PostgreSQL 15.8 safe to use?"
"Compare CVEs in 16.3 vs 16.4"
"What's the upgrade path from PostgreSQL 14.10?"
License
Apache 2.0
Source: README.md at commit e338446
Tools
0Version history
1- v1.0.4LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts