# server-google-news

**Author:** ChanMeng666  
**Description:** Model Context Protocol (MCP) server that exposes Google News search (powered by SerpAPI) with automatic topic categorization and multi-language/region support.  
**Stars:** 71  
**Forks:** 15  
**License:** MIT License  
**Category:** Open Source

## Overview

# Transform Augment Code into Your Personal Tech News Assistant

Adding the Google News MCP server to your Augment Code setup turns your AI coding assistant into a powerful research companion that can instantly fetch and analyze current news while you code. Instead of breaking your development flow to manually search for industry updates, competitive intelligence, or technology trends, Augment can now pull relevant news directly into your coding session with intelligent categorization.

## Seamless News Integration for Development Workflows

This MCP server integrates beautifully with Augment Code's capabilities, enabling your AI assistant to search Google News with sophisticated filtering across multiple languages and regions. When you're researching a new framework, investigating a technology decision, or need current market context for a project, simply ask Augment to "find recent news about React 19 features" or "get latest AI regulation news for our compliance review." The server automatically categorizes results into relevant topics like "AI & Technology," "Business," and "Science & Research," so Augment can quickly surface the most pertinent information for your development context.

## Real-Time Context for Better Development Decisions

Whether you're architecting a new system and need to understand current industry trends, investigating security vulnerabilities that just hit the news, or preparing technical documentation that references recent developments, this MCP server gives Augment the ability to provide real-time context that directly impacts your code. Ask Augment to "search for recent news about GraphQL adoption in enterprise" while designing your API, or "find latest news about Python 3.12 performance improvements" when optimizing your application. The multi-language support is particularly valuable for international development teams who need to stay informed about regional tech developments that might affect their global applications.

**Setup:** Add this server to your Augment Code MCP configuration with your SerpAPI key, and suddenly your coding assistant becomes a research powerhouse that keeps you informed without ever leaving your development environment.

## Installation

1. **Prerequisites**  
    • Node.js v18 or later (LTS recommended)  
    • Git  
    • A SerpAPI API key (https://serpapi.com/)

2. **Clone the repository**  
    ```bash  
    git clone https://github.com/ChanMeng666/server-google-news.git  
    cd server-google-news  
    ```

3. **Install dependencies**  
    ```bash  
    npm install        # or: pnpm install / yarn install  
    ```

4. **Environment variables**  
   ```bash  
   cp .env.example .env   # if the example file exists, otherwise create .env manually  
   # Required  
   SERPAPI_API_KEY=your_serpapi_key  
   # Optional (if the server classifies news using an LLM)  
   OPENAI_API_KEY=your_openai_key  
   PORT=3000              # default listen port  
   ```

5. **Build TypeScript (if repository ships TS)**  
    ```bash  
    npm run build          # transpiles src/**/*.ts → dist/  
    ```

6. **Run the MCP server**  
    ```bash  
    # Development (hot-reload)  
    npm run dev  
    # Production  
    npm start              # reads compiled JS from dist/  
    ```

7. **Check it is alive**  
    ```bash  
    curl http://localhost:3000/healthz   # should return {"status":"ok"}  
    ```

8. **Register with an MCP client as a remote tool provider by pointing it to http://localhost:3000.**

### Available Tools  
01. **Google News search**  
   Search Google News via SerpAPI using parameters q (query), gl (country code), hl (language code), topic_token, publication_token, story_token and section_token.  
**License:** MIT License  
**Updated:** 7/30/2025

### Table of Contents
