AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified ISC Self-run

World News Api Mcp

mcp-ddsky-world-news-api-mcp · by ddsky

World News API MCP Server

No reviews yet
0 installs
15 views
0.0% view→install

Install

$ agentstack add mcp-ddsky-world-news-api-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-ddsky-world-news-api-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of World News Api Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

World News API MCP Server

A Model Context Protocol (MCP) server that provides access to the World News API. This server enables AI assistants to search for news, get top headlines, extract articles, retrieve newspaper front pages, and more through the MCP protocol.

[](https://www.npmjs.com/package/world-news-api-mcp) [](https://www.npmjs.com/package/world-news-api-mcp) [](https://opensource.org/licenses/ISC)

Features

  • News Search: Search and filter news by text, date, location, category, language, and more
  • Top Headlines: Get top news from any country in any language
  • Newspaper Front Pages: Retrieve front pages of newspapers from around the world
  • Article Extraction: Extract full articles from news URLs
  • News Links Discovery: Extract news links from websites
  • Source Search: Find monitored news sources
  • Location Coordinates: Get geo-coordinates for location-based filtering
  • Content Analysis: Extract entities, detect sentiment, and more

Quick Start

Installation

npm install -g world-news-api-mcp

Setup

  1. Get a World News API key (free at https://worldnewsapi.com/register)
  1. Set your API key as an environment variable:

```bash # Windows (PowerShell) $env:WORLDNEWSAPIKEY="yourapikeyhere"

# macOS/Linux export WORLDNEWSAPIKEY="yourapikeyhere" ```

Usage with MCP Clients

Add this configuration to your MCP client (Claude Desktop, etc.):

{
  "servers": {
    "world-news-api": {
      "command": "world-news-api-mcp",
      "env": {
        "WORLD_NEWS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Test the Installation

# Set your API key
export WORLD_NEWS_API_KEY="your_key_here"

# Test the server
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | world-news-api-mcp

Available Tools

search_news

Search and filter news by text, date, location, category, language, and more.

Parameters:

  • text (string, optional): Text to match in news content (min 3 chars)
  • source-country (string, optional): ISO 3166 country code (e.g., "us", "gb")
  • language (string, optional): ISO 6391 language code (e.g., "en", "es")
  • min-sentiment / max-sentiment (number, optional): Sentiment range [-1,1]
  • earliest-publish-date / latest-publish-date (string, optional): Date range (YYYY-MM-DD HH:MM:SS)
  • news-sources (string, optional): Comma-separated list of sources
  • authors (string, optional): Comma-separated list of authors
  • categories (string, optional): Categories (politics, sports, business, technology, etc.)
  • entities (string, optional): Filter by entities (ORG:Tesla,PER:Elon Musk)
  • location-filter (string, optional): "latitude,longitude,radius_km"
  • sort (string, optional): Sorting criteria (publish-time)
  • sort-direction (string, optional): ASC or DESC
  • offset (number, optional): Number of results to skip
  • number (number, optional): Number of results to return (1-100, default: 10)

get_top_news

Get the top news from a country in a language for a specific date.

Parameters:

  • source-country (string, required): ISO 3166 country code
  • language (string, required): ISO 6391 language code
  • date (string, optional): Date (YYYY-MM-DD), defaults to current day
  • headlines-only (boolean, optional): Return only basic info (default: false)

retrieve_newspaper_front_page

Get front pages of newspapers from around the world.

Parameters:

  • source-country (string, optional): ISO 3166 country code
  • source-name (string, optional): Publication identifier (e.g., "herald-sun")
  • date (string, optional): Date (YYYY-MM-DD), earliest: 2024-07-09

retrieve_news_articles

Retrieve detailed information about specific news articles by their IDs.

Parameters:

  • ids (string, required): Comma-separated list of news IDs

extract_news

Extract a news article from a website to a well-structured JSON object.

Parameters:

  • url (string, required): URL of the news article
  • analyze (boolean, optional): Analyze content (entities, sentiment, etc.)

extract_news_links

Extract news links from a news website.

Parameters:

  • url (string, required): URL of the news website
  • analyze (boolean, optional): Analyze extracted content

search_news_sources

Search whether a news source is monitored by the World News API.

Parameters:

  • name (string, required): (Partial) name of the source

get_geo_coordinates

Get latitude and longitude of a location for use in location-filter.

Parameters:

  • location (string, required): Address or location name

Usage Examples

Search for recent news about AI

{
  "name": "search_news",
  "arguments": {
    "text": "artificial intelligence",
    "language": "en",
    "categories": "technology",
    "number": 5
  }
}

Get top news from the US

{
  "name": "get_top_news",
  "arguments": {
    "source-country": "us",
    "language": "en"
  }
}

Extract an article from URL

{
  "name": "extract_news",
  "arguments": {
    "url": "https://www.bbc.com/news/world-us-canada-59340789",
    "analyze": true
  }
}

Search for news near a location

{
  "name": "search_news",
  "arguments": {
    "text": "earthquake",
    "location-filter": "35.6762,139.6503,50",
    "language": "en"
  }
}

Development

To run in development mode:

npm run dev

To build:

npm run build

To test:

npm test

API Rate Limits

The World News API has different rate limits based on your subscription:

  • Free Plan: 150 requests per day
  • Paid Plans: Higher limits available

Check the World News API pricing for details.

Error Handling

The server handles common API errors:

  • 401 Unauthorized: Invalid API key
  • 402 Payment Required: API quota exceeded
  • 429 Too Many Requests: Rate limit exceeded

License

ISC

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Related

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.