Google News integration with automatic topic categorization, multi-language support, and comprehensive search capabilities including headlines, stories, and related topics through SerpAPI.
Claude Desktop config.json'a ekle
{
"mcpServers": {
"chanmeng666-server-google-news": {
"command": "node",
"args": [
"~/.mcp/server-google-news/index.js"
]
}
}
} Kaynak kodu al ve yerel olarak çalıştır
git clone https://github.com/ChanMeng666/server-google-news.git ~/.mcp/server-google-news
cd ~/.mcp/server-google-news A Model Context Protocol (MCP) server implementation that provides Google News search capabilities via SerpAPI integration. Automatically categorizes news results and supports multiple languages and regions.
https://github.com/user-attachments/assets/1cc71c27-f840-4c94-9ab5-460d84ba4779
Comprehensive search capabilities including query-based search, topic search, publication filtering and story coverage.
Supports multiple languages and regions through configurable language and country codes.
Automatically categorizes news results into topics like AI & Technology, Business, Science & Research, and Healthcare.
Handles various news result types including headlines, stories, related topics and menu links.
Comprehensive error handling for API failures and invalid inputs, with helpful error messages.
Automatic fallback to English for unsupported language codes with appropriate user notifications.
Before getting started, you’ll need to obtain a SerpApi key. Here’s how:
Visit SerpApi website and create an account
After registration, go to your Dashboard:
API Usage Details:
Usage Limits:
Click to view my configuration solution 👉 https://github.com/modelcontextprotocol/servers/issues/76
npm install
npm run build
claude_desktop_config.json with the following content (adjust paths according to your system): "google-news": {
"command": "D:\\Program\\nvm\\node.exe",
"args": [
"D:\\github_repository\\path_to\\dist\\index.js"
],
"env": {
"SERP_API_KEY": "your-api-key"
}
}
npm start
claude_desktop_config.jsonThe evals package loads an mcp client that then runs the index.ts file, so there is no need to rebuild between tests. You can load environment variables by prefixing the npx command. Full documentation can be found here.
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.ts
To install Google News for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @chanmeng666/google-news-server --client claude
npx @michaellatman/mcp-get@latest install @chanmeng666/google-news-server
If you are using an old version of Windows PowerShell, you may need to run
Set-ExecutionPolicy Bypass -Scope Processbefore this command.
@chanmeng666/google-news-server
# Using npm
npm i @chanmeng666/google-news-server
# or
npm install @chanmeng666/google-news-server
# Using yarn
yarn add @chanmeng666/google-news-server
# Using pnpm
pnpm add @chanmeng666/google-news-server
The server implements the Model Context Protocol and exposes a Google News search tool with the following parameters:
q: Search query stringgl: Country code (e.g., ‘us’, ‘uk’)hl: Language code (e.g., ‘en’, ‘es’)topic_token: Token for specific news topicspublication_token: Token for specific publishersstory_token: Token for full coverage of a storysection_token: Token for specific sections# Run in development mode with hot reload
npm run dev
# Run linting
npm run lint
# Run tests
npm run test
This project is MIT licensed.
Created and maintained by Chan Meng.
This MCP server is optimized for AI agent usage with comprehensive instructions and structured data.
{
"tool": "google_news_search",
"parameters": {
"q": "artificial intelligence latest developments",
"gl": "us",
"hl": "en"
}
}
The server returns categorized news with the following structure:
This server includes comprehensive monitoring and optimization for AI agent usage.
interface GEOMonitoringConfig {
trackingEnabled: boolean;
metricsEndpoint: string;
reportingInterval: number; // minutes
alertThresholds: {
errorRate: number;
responseTime: number;
successRate: number;
satisfactionScore: number;
};
}
For technical implementation details, see src/geo-metrics.ts.
This server provides comprehensive structured data for AI agents and search engines.
The server includes structured data following Schema.org standards:
google_news_searchFor complete structured data, see structured-data.json.
A hosted deployment is available on Fronteir AI.
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.
Search ArXiv research papers
Discover, extract, and interact with the web - one interface powering automated access across the public internet.
Web search using free multi-engine search (NO API KEYS REQUIRED) — Supports Bing, Baidu, DuckDuckGo, Brave, Exa, and CSDN.
Web search using DuckDuckGo
Web search capabilities using Brave's Search API