News MCP is an MCP server that provides access to curated news articles stored in a PostgreSQL database and exposes them to LLM clients. It connects to a local or remote PostgreSQL instance populated from RSS feeds via an associated background collector script, news_gatherer.py. Software developers, analysts, and researchers use this server to retrieve categorized news items directly into their AI workflows without manual browsing. The server enables clients to inspect raw news content, publication dates, and source links across topics such as tech, data science, cybersecurity, and startups. It implements MCP resources to read category streams and provides the summarize_news tool, allowing language models to fetch full-text article batches and generate tailored summaries. Internal summarization routines also integrate with the OpenAI API for standalone processing tasks.
Category: Databases & Data Stores
Tags: news, openai, postgresql, summarization
uv are installed on your system, and verify PostgreSQL is running with your target database. 2. Configure your environment variables, including DATABASE_URL (defaults to postgresql://localhost/mcp_news) and OPENAI_API_KEY. 3. Open your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%/Claude/claude_desktop_config.json on Windows). 4. Register the server in mcpServers using the published configuration: json { "mcpServers": { "news-mcp": { "command": "uvx", "args": ["news-mcp"] } } } 5. Alternatively, run from local dev using command: "uv" with arguments ["--directory", "/path/to/news-mcp", "run", "news-mcp"]. 6. Restart Claude Desktop.Part of MCP Servers
You can run News MCP in Claude Desktop using uvx by adding it to your claude_desktop_config.json file under the mcpServers configuration block. If you are developing locally, run it using the uv command pointing directly to your local project directory.
News MCP provides resources and tools to fetch news articles stored in PostgreSQL. It exposes category-based resource URIs and includes the summarize_news tool, which delivers article details such as IDs, titles, publication dates, sources, and full content for client-side summarization.
The server supports filtering across categories including tech, data_science, llm_tools, cybersecurity, linux, audio_dsp, startups, news, science, research, and policy. These categories can be queried through MCP resource URIs or passed as parameters to the summarize_news tool.
News MCP requires a PostgreSQL database configured via the DATABASE_URL environment variable. By default, it connects to postgresql://localhost/mcp_news. The database is populated with articles from RSS feeds via the accompanying news_gatherer.py script.
Because the server runs over standard input/output, you can debug it using the MCP Inspector. Launch the inspector by executing npx @modelcontextprotocol/inspector uv --directory ~/dev/news-mcp run news-mcp in your terminal and accessing the provided browser URL.