Skip to main content
Glama
BACH-AI-Tools

Google News22 MCP Server

Google News22 MCP Server

English | 简体中文 | 繁體中文

用于访问 Google News22 API 的 MCP 服务器。

🚀 使用 EMCP 平台快速体验

EMCP 是一个强大的 MCP 服务器管理平台,让您无需手动配置即可快速使用各种 MCP 服务器!

快速开始:

  1. 🌐 访问 EMCP 平台

  2. 📝 注册并登录账号

  3. 🎯 进入 MCP 广场,浏览所有可用的 MCP 服务器

  4. 🔍 搜索或找到本服务器(bach-google_news22

  5. 🎉 点击 "安装 MCP" 按钮

  6. ✅ 完成!即可在您的应用中使用

EMCP 平台优势:

  • 零配置:无需手动编辑配置文件

  • 🎨 可视化管理:图形界面轻松管理所有 MCP 服务器

  • 🔐 安全可靠:统一管理 API 密钥和认证信息

  • 🚀 一键安装:MCP 广场提供丰富的服务器选择

  • 📊 使用统计:实时查看服务调用情况

立即访问 EMCP 平台 开始您的 MCP 之旅!


Related MCP server: Newsnow MCP Server

简介

这是一个 MCP 服务器,用于访问 Google News22 API。

  • PyPI 包名: bach-google_news22

  • 版本: 1.0.0

  • 传输协议: stdio

安装

从 PyPI 安装:

pip install bach-google_news22

从源码安装:

pip install -e .

运行

方式 1: 使用 uvx(推荐,无需安装)

# 运行(uvx 会自动安装并运行)
uvx --from bach-google_news22 bach_google_news22

# 或指定版本
uvx --from bach-google_news22@latest bach_google_news22

方式 2: 直接运行(开发模式)

python server.py

方式 3: 安装后作为命令运行

# 安装
pip install bach-google_news22

# 运行(命令名使用下划线)
bach_google_news22

配置

API 认证

此 API 需要认证。请设置环境变量:

export API_KEY="your_api_key_here"

环境变量

变量名

说明

必需

API_KEY

API 密钥

PORT

不适用

HOST

不适用

在 Cursor 中使用

编辑 Cursor MCP 配置文件 ~/.cursor/mcp.json:

{
  "mcpServers": {
    "bach-google_news22": {
      "command": "uvx",
      "args": ["--from", "bach-google_news22", "bach_google_news22"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

在 Claude Desktop 中使用

编辑 Claude Desktop 配置文件 claude_desktop_config.json:

{
  "mcpServers": {
    "bach-google_news22": {
      "command": "uvx",
      "args": ["--from", "bach-google_news22", "bach_google_news22"],
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

可用工具

此服务器提供以下工具:

search_by_topic_headlines

This endpoint lets you find the most popular news article for a specific country, language, and topic (like sports or entertainment).

端点: GET /v2/topic-headlines

参数:

  • country (string) 必需: 2-letter ISO 3166-1 code of the country.

  • language (string) 必需: 2-letter ISO 639-1 code of the article language.

  • topic (string) 必需: The topic field specifies the category of interest for the content you are requesting. Access Levels Basic and Pro users can access popular, general topics like: General Entertainment World Business Health Sports Science Technology Ultra and Mega users have access to all available topics, including the more specialized categories: General Autos Beauty Business Cryptocurrency Economy Education Entertainment Finance Gadgets Gaming Health Lifestyle Markets Movies Music Politics Science Soccer Sport

  • date (string): Example value:

  • page (number): Example value:


search_by_keyword

Find articles by keywords and allows you to filter by country, language, source, and date to get specific result.

端点: GET /v2/search

参数:

  • q (string) 必需: Keywords: Enter single or multiple keywords to search for articles containing those terms. Example: q=technology will search for articles related to technology. Phrases: Enclose phrases in double quotes to search for the exact phrase. Example: q=\"climate change\" will search for articles containing the exact phrase "climate change". Boolean Operators: Use boolean operators like AND, OR, and NOT to refine your search. Example: q=education AND technology will search for articles that contai

  • country (string) 必需: 2-letter ISO 3166-1 code of the country.

  • language (string) 必需: 2-letter ISO 639-1 code of the language.

  • source (string): A domain of the news source. Example: cnn.com

  • from (string): Example value:

  • to (string): Example value:

  • limit (number): This parameter controls the maximum number of articles returned on a single page.

  • page (number): Example value:


search_by_geolocation

This endpoint lets you find the most popular news article in a specific geographical location.

端点: GET /v2/geolocation

参数:

  • country (string) 必需: 2-letter ISO 3166-1 code of the country.

  • language (string) 必需: 2-letter ISO 639-1 code of the article language.

  • location (string) 必需: Specify the geographical location for which you want to retrieve news

  • page (number): Example value:


search_by_top_headlines

This endpoint lets you find the most popular news article for a specific country, language.

端点: GET /v2/top-headlines

参数:

  • country (string) 必需: 2-letter ISO 3166-1 code of the country.

  • language (string) 必需: 2-letter ISO 639-1 code of the article language.

  • page (number): Example value:


技术栈

  • 传输协议: stdio

  • HTTP 客户端: httpx

许可证

MIT License - 详见 LICENSE 文件。

开发

此服务器由 API-to-MCP 工具生成。

版本: 1.0.0

Available Tools

4 tools
search_by_geolocationC

This endpoint lets you find the most popular news article in a specific geographical location.

ParametersJSON Schema
NameRequiredDescriptionDefault
countryYes2-letter ISO 3166-1 code of the country.
languageYes2-letter ISO 639-1 code of the article language.
locationYesSpecify the geographical location for which you want to retrieve news
pageNoExample value: 0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. Mentions 'most popular' ranking behavior, but fails to explain pagination (despite 'page' parameter), error handling, or whether it returns single or multiple articles. Does not clarify rate limits or auth requirements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence, appropriately brief. Front-loaded with key action. Minor wordiness with 'This endpoint lets you' rather than direct 'Finds...' construction, but no redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Insufficient for a search tool with 4 parameters and no output schema. Lacks explanation of result structure, pagination behavior, and sorting methodology. Should clarify whether results are ranked by popularity and how the 'page' parameter interacts with result sets.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 100% description coverage (country ISO code, language code, location string, page number). Description adds minimal semantic value beyond schema, only loosely referencing 'geographical location'. Does not explain relationship between 'country' and 'location' parameters or pagination logic.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clear verb ('find') and resource ('news article'), with specific scope ('geographical location'). Distinguishes from siblings by geolocation focus. However, uses implementation terminology ('endpoint') and ambiguously suggests singular result ('article') despite pagination parameter suggesting multiple results.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to select this tool versus siblings (search_by_keyword, search_by_top_headlines, search_by_topic_headlines). No mention of prerequisites or conditions where geolocation search is preferred.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_by_keywordC

Find articles by keywords and allows you to filter by country, language, source, and date to get specific result.

ParametersJSON Schema
NameRequiredDescriptionDefault
qYesKeywords: Enter single or multiple keywords to search for articles containing those terms. Example: q=technology will search for articles related to technology. Phrases: Enclose phrases in double quotes to search for the exact phrase. Example: q=\\\"climate change\\\" will search for articles containing the exact phrase \"climate change\". Boolean Operators: Use boolean operators like AND, OR, and NOT to refine your search. Example: q=education AND technology will search for articles that contai
countryYes2-letter ISO 3166-1 code of the country.
languageYes2-letter ISO 639-1 code of the language.
sourceNoA domain of the news source. Example: cnn.com
fromNoExample value:
toNoExample value:
limitNoThis parameter controls the maximum number of articles returned on a single page.
pageNoExample value: 0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must carry the full burden of behavioral disclosure. However, it fails to mention whether the operation is read-only (implied but not stated), pagination behavior, result limits, or what happens when no articles match. It only states the tool 'allows you to filter' without explaining the filtering logic (AND/OR behavior).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence that front-loads the primary action ('Find articles by keywords'). It is slightly awkward ('allows you to... to get specific result') and ends with vague filler ('specific result'), but remains appropriately brief for the tool's complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with 8 parameters and no output schema or annotations, the description covers the core functionality (keyword search) and major filter categories. However, it omits pagination behavior (page/limit parameters) and provides no hints about the return format or result structure, leaving significant gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the schema already documents all 8 parameters including detailed query syntax for the 'q' parameter and ISO codes for country/language. The description adds marginal value by confirming the filterable fields but does not provide syntax guidance beyond what the schema already contains, warranting the baseline score.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool 'Find[s] articles by keywords' and lists the available filters (country, language, source, date). This distinguishes it from sibling tools like search_by_geolocation and search_by_top_headlines by emphasizing the keyword-based search mechanism, though it does not explicitly name the alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus its siblings (search_by_geolocation, search_by_top_headlines, search_by_topic_headlines). There are no prerequisites, exclusions, or conditional usage scenarios mentioned.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_by_top_headlinesC

This endpoint lets you find the most popular news article for a specific country, language.

ParametersJSON Schema
NameRequiredDescriptionDefault
countryYes2-letter ISO 3166-1 code of the country.
languageYes2-letter ISO 639-1 code of the article language.
pageNoExample value: 0

TDQS

C2.8/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. Mentions 'most popular' suggesting ranking, but omits pagination behavior (despite 'page' parameter), result set size, temporal scope (current vs. historical), and error handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Single sentence is efficient but contains filler words ('This endpoint lets you'). Information is front-loaded, though singular/plural confusion ('article' vs 'headlines') creates minor ambiguity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a search tool with 3 parameters and no output schema or annotations, the description is insufficient. Missing: return format, pagination details, rate limiting, and differentiation from sibling search tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, establishing baseline. Description mentions country and language constraints, aligning with schema. However, it doesn't clarify the 'page' parameter's role in pagination or explain that results are filtered by the required country/language codes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States specific action (find) and resource (news article) with scope (most popular). However, uses singular 'article' when 'headlines' implies multiple results, and doesn't differentiate from siblings like search_by_topic_headlines or search_by_keyword.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus the three sibling search tools (search_by_geolocation, search_by_keyword, search_by_topic_headlines). No mention of prerequisites or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_by_topic_headlinesC

This endpoint lets you find the most popular news article for a specific country, language, and topic (like sports or entertainment).

ParametersJSON Schema
NameRequiredDescriptionDefault
countryYes2-letter ISO 3166-1 code of the country.
languageYes2-letter ISO 639-1 code of the article language.
topicYesThe topic field specifies the category of interest for the content you are requesting. Access Levels Basic and Pro users can access popular, general topics like: General Entertainment World Business Health Sports Science Technology Ultra and Mega users have access to all available topics, including the more specialized categories: General Autos Beauty Business Cryptocurrency Economy Education Entertainment Finance Gadgets Gaming Health Lifestyle Markets Movies Music Politics Science Soccer Sport
dateNoExample value:
pageNoExample value: 0

TDQS

C2.9/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full disclosure burden but provides minimal behavioral context. It mentions 'most popular' (ranking behavior) but omits access tier restrictions, pagination behavior (despite the page parameter), date filtering logic, rate limits, or what happens when no results exist. The schema reveals access levels that the description should highlight.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no wasted words, though 'This endpoint lets you find' is slightly passive compared to direct action verbs like 'Finds' or 'Retrieves'. The parenthetical examples are appropriately concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 5 parameters (2 optional), no annotations, and no output schema, the description provides minimum viable context for basic invocation but leaves gaps. It does not explain the optional date/page parameters' behavior, the access tier limitations visible in the schema, or the return format (e.g., whether it returns full articles or just headlines).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 100% schema description coverage, the baseline is 3. The description mentions the three required parameters (country, language, topic) aligning with the schema, but adds no semantic detail beyond the schema for the optional date and page parameters (which have empty example values in the schema). It does not explain the ISO code formats or pagination syntax.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool finds 'the most popular news article' (specific verb+resource) filtered by country, language, and topic. It distinguishes from siblings by explicitly mentioning 'topic' (contrasting with geolocation, keyword, and top_headlines variants), though the singular 'article' slightly mismatches the plural 'headlines' in the tool name.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides topic examples ('like sports or entertainment') which imply usage, but offers no explicit guidance on when to prefer this tool over search_by_keyword or search_by_top_headlines. It fails to mention the access level restrictions (Basic/Pro/Ultra/Mega) detailed in the topic parameter schema, which is critical for usage decisions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 4 tool updatesv1.0.0
    • First observedsearch_by_geolocation
    • First observedsearch_by_keyword
    • First observedsearch_by_top_headlines
    • First observedsearch_by_topic_headlines

TDQS

B3.2/5.0
Disambiguation3/5

The tools have overlapping purposes as they all search for news articles, but descriptions help differentiate them by specifying distinct search criteria (geolocation, keyword, top headlines, topic headlines). However, there is some ambiguity between 'search_by_top_headlines' and 'search_by_topic_headlines' since both target popular articles by country and language, with the latter adding a topic filter.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with 'search_by_' prefix, using snake_case uniformly. This predictable naming scheme makes it easy for agents to understand and select tools based on their search parameters.

Tool Count4/5

With 4 tools, the count is reasonable for a news search server, covering key search methods. It is slightly under-scoped as it lacks tools for managing or retrieving specific articles beyond searches, but the core functionality is well-represented without being overwhelming.

Completeness3/5

The server provides a focused set of search tools but has notable gaps in coverage. It lacks CRUD operations (e.g., no tools to save, list, or delete articles) and does not support retrieving detailed article information or user preferences, which limits agent workflows to basic searches without follow-up actions.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables searching news articles and retrieving top headlines from the GNews API with support for filtering by topic, language, and country.
    -
  • A
    license
    C
    quality
    D
    maintenance
    Enables access to news from multiple sources including Google News and DuckDuckGo, supporting queries by location, category, site, date range, and providing top news headlines with detailed information.
    7
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Provides tools to search and retrieve news across various categories including business, technology, science, and sports via the Google News API. It supports keyword searches, autocomplete suggestions, and region-specific news across multiple languages.
    11
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to global news articles from over 60,000 sources through the GNews API. Supports keyword search, category browsing, and language customization.
    2
    13
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BACH-AI-Tools/bachai-google-news22'

If you have feedback or need assistance with the MCP directory API, please join our Discord server