NewsDigest MCP
Integrates with Google Gemini API to convert raw news article data into formatted Markdown digests
Formats news content into clean, structured Markdown digests for improved readability
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@NewsDigest MCP top business headlines in the US"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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).
Related MCP server: MCP Server with SSE and Bearer Authentication
Requirements
Node.js 18+ (for built‑in
fetchsupport)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 installConfiguration
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 ClaudeUsage
Start the MCP server:
claudeHere are some example user queries and response:
Q: News about Bitcoin
A: Latest Bitcoin News (May 1, 2025)
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
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
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
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
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
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
Available Tools
12 toolsdelete_symbolB
Delete a TypeScript/JavaScript symbol (variable, function, class, etc.) and all its references
Inputs: root (required), filePath (required), line (required), symbolName (required), +1 more.
find_referencesC
Find all references to a TypeScript/JavaScript symbol across the codebase
Inputs: root (required), filePath (required), line (required), symbolName (required).
get_definitionsC
Get the definition(s) of a TypeScript symbol
Inputs: root (required), filePath (required), line (required), symbolName (required), +2 more.
get_diagnosticsB
Get TypeScript diagnostics (errors, warnings) for a single file
Inputs: root (required), filePath (required), virtualContent.
get_module_symbolsC
Get all exported symbols from a TypeScript/JavaScript module without detailed signatures
Inputs: root (required), moduleName (required), filePath.
get_symbols_in_scopeA
Get all symbols (variables, types, functions, etc.) visible at a specific location in a TypeScript/JavaScript file
Inputs: root (required), filePath (required), line (required), meaning.
get_type_at_symbolC
Get type information for a TypeScript/JavaScript symbol at a specific location
Inputs: root (required), filePath (required), line (required), symbolName (required), +1 more.
get_type_in_moduleC
Get detailed signature information for a specific type (function, class, interface, type alias, etc.) from a module
Inputs: root (required), moduleName (required), typeName (required), filePath.
list_toolsA
List all available MCP tools with descriptions and categories
Inputs: category.
move_directoryA
Move a directory to a new location, updating all TypeScript imports and references automatically
Inputs: sourcePath (required), targetPath (required), root, overwrite.
move_fileB
Move a TypeScript/JavaScript file to a new location and update all import statements
Inputs: root (required), oldPath (required), newPath (required), overwrite.
rename_symbolB
Rename a TypeScript symbol (variable, function, class, etc.) across the codebase
Inputs: root (required), filePath (required), line (required), oldName (required), +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Most tools have distinct purposes targeting specific TypeScript/JavaScript code analysis tasks, but there is some overlap between get_definitions and get_type_at_symbol that could cause confusion. Tools like find_references and rename_symbol are clearly differentiated by their action scope.
All tools follow a consistent verb_noun naming pattern with clear, descriptive names. The naming convention is uniform throughout, using snake_case consistently without any deviations or mixed styles.
12 tools is well-scoped for a TypeScript/JavaScript code analysis server, covering a comprehensive range of operations from diagnostics to refactoring. Each tool appears to serve a specific, justified purpose within the domain.
The toolset provides strong coverage for code analysis, refactoring, and diagnostics, but lacks tools for creating or modifying code (e.g., add_symbol, update_file). This minor gap could limit agents in full development workflows, though core analysis tasks are well-covered.
Maintenance
Related MCP Connectors
Managed cloud RSS and Atom feed reader with a remote Model Context Protocol (MCP) endpoint. Zero server setup required — enables AI agents like Claude to instantly subscribe to feeds, search full-text articles, extract readable content, and access curated AI editions ("Your Newspaper") over secure streamable HTTP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Google News search and topics with the full article text in Markdown for LLMs.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseBqualityDmaintenanceA TypeScript implementation of the Model Context Protocol server that enables searching arXiv papers and extracting paper information through standardized client-server communication.217 npmMIT
- -licenseNot gradedqualityNot gradedmaintenanceA TypeScript implementation of a Model Context Protocol server that uses Server-Sent Events for real-time communication and Bearer Token authentication to enable secure interaction with LLM clients like Claude Desktop.-
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server that provides real-time news intelligence using NewsAPI.ai. This server enables LLMs to search articles, track events, and analyze news through natural conversation.598 npm3MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that provides access to global news articles through the News API. It implements a standardized interface for searching news articles, retrieving top headlines, and listing available news sources.312MIT