pg-cve-mcp
Query CVEs, yanked releases, known exploits, and upgrade paths for any PostgreSQL version directly from your AI assistant.
README
pg-cve-mcp — PostgreSQL CVE & Release Intelligence MCP Server
Query CVEs, yanked releases, known exploits, and upgrade paths for any PostgreSQL version — directly from your AI assistant.
Quick Start
pip install pg-cve-mcp
pg-cve-mcp
Or with npx (no install):
npx -y pg-cve-mcp
MCP Tools
| Tool | Description |
|---|---|
get_cves(version) |
List all CVEs affecting a specific PostgreSQL version |
get_version_status(version) |
EOL, yanked, CVE count, max CVSS, exploit count |
compare_versions(v1, v2) |
Side-by-side CVE comparison between two versions |
get_upgrade_path(from_version) |
Recommended upgrade target with fixed CVEs |
get_yanked_versions() |
All releases flagged as bad/regression |
get_exploits() |
All CVEs with known public exploits |
get_latest_minor(major) |
Latest minor in a given major branch |
get_summary() |
Overview of the tracked CVE database |
Configuration
| Env Var | Default | Description |
|---|---|---|
PG_CVE_MCP_TTL |
3600 |
Cache TTL in seconds for CVE data |
PG_CVE_MCP_DATA_URL |
https://meob.github.io/PG_CVE/postgresql_cves.json |
CVE data source URL |
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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.