NewsDigest MCP

NewsDigest MCP

A TypeScript-based Model Context Protocol server that fetches, searches, and formats news articles from NewsAPI.org into reader-friendly Markdown digests using LLMs (Gemini and Claude).

Category
Visit Server

README

NewsDigest MCP

A Model Context Protocol (MCP) server written in TypeScript that aggregates, searches, and formats news articles using the NewsAPI.org REST endpoints.

Features

  • Fetch Top Headlines by country (ISO‑2 code), language (ISO‑639‑1 code), and category (e.g., business, sports).
  • Search Everything via full‑text queries (keywords) with optional filters: language, date range, sorting, page size.
  • Format to Markdown: Convert raw JSON responses into a clean, reader‑friendly Markdown digest using an LLM (Gemini and Claude).

Requirements

  • Node.js 18+ (for built‑in fetch support)
  • npm or yarn
  • NewsAPI.org API key (free tier available)
  • LLM API key (Gemini and Claude)

Installation

# Clone the repo
git clone https://github.com/yourusername/newsdigest-mcp.git
cd newsdigest-mcp

# Install dependencies
npm install
# or
# yarn install

Configuration

Create a .env file in the project root:

# .env
NEWSAPI_KEY=<your_newsapi_key>
GEMINI_API_KEY=<your_gemini_key>   # for Google Gemini
ANTHROPIC_API_KEY=<your_claude_key>  # for Anthropic Claude

Usage

Start the MCP server:

claude

Here are some example user queries and response:

Q: News about Bitcoin

A: Latest Bitcoin News (May 1, 2025)

  1. El Salvador Committed to Buy Bitcoin Despite IMF Requirements
  • El Salvador's economy minister reaffirmed the country's commitment to accumulate more Bitcoin despite IMF requirements to reduce exposure
  • The minister called it an "important project" started by President Nayib Bukele
  1. North Carolina Passes Bill to Integrate Bitcoin Into $127 Billion Pension Fund
  • North Carolina House approved legislation allowing state pension fund to invest in cryptocurrencies
  • The bill modernizes investment strategy for the state's $127 billion pension fund
  1. US Could Buy $100 Billion in Bitcoin This Year, According to Coinbase Executive
  • Sebastian Bea, president of Coinbase Asset Management, suggests a technical change in how Washington accounts for gold could enable a strategic Bitcoin purchase
  • The proposed purchase could approach $100 billion, years ahead of market expectations
  1. North Carolina House Passes State Crypto Investment Bill
  • The Digital Assets Investment Act (House Bill 92) passed on its third reading
  • Bill allows the state treasurer to invest public funds in approved cryptocurrencies
  • Now moving to the Senate for consideration
  1. Crypto Industry Event in Dubai as "Trump Euphoria" Shows Signs of Receding
  • Crypto enthusiasts gathered in Dubai for TOKEN2049 conference
  • Industry showing mixed sentiments about Donald Trump's impact on cryptocurrencies
  • Despite strong start to the year with significant venture capital investments
  1. Malaysian Police Dismantle Bitcoin Mining Operation Stealing Electricity
  • Police in Terengganu, Malaysia dismantled a syndicate stealing electricity for illegal bitcoin mining
  • Operations were discovered in Hulu Terengganu and Marang regions

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured