Model Context Protocol

News Data for AI Agents & LLMs

Connect Claude, Copilot, Cursor, and any MCP-compatible AI to real-time and historical news from 244 countries — with a single config line.

mcp-config.json
{
  "mcpServers": {
    "allnewsapi": {
      "command": "npx",
      "args": ["allnewsapi-mcp@latest", "--apikey", "YOUR_API_KEY"]
    }
  }
}

Built for LLMs

Everything your AI agent needs to search, filter, and understand news from around the world.

Comprehensive News Search

Search millions of articles with advanced keyword filtering, boolean operators, and date ranges.

Real-Time Headlines

Get the latest top headlines from around the world, ranked and curated in real time.

LLM-Optimized Output

Clean, structured responses designed for easy consumption by language models — no parsing headaches.

Advanced Filtering

Filter by country, language, category, region, publisher, and date range in a single request.

244 Countries Covered

Access news from every corner of the globe in 22 languages across 29 categories.

Zero Setup Required

Run instantly with npx — no installation, no build step. Just add your API key and go.

Available MCP Tools

Two powerful tools that give your AI agent full access to the AllNewsAPI.

headlines
read-only

Get Top Headlines

Fetch the latest top headlines with optional filtering by country, category, and language. Perfect for staying current with breaking news.

countrycategorylangmax

Works with Your Favorite Tools

Add AllNewsAPI to any MCP-compatible client in under a minute.

Claude Desktop
VS Code
Cursor
Windsurf
1

Get your API key

Create a free account on AllNewsAPI and grab your API key from the dashboard.

Get Free API Key
2

Add to your MCP client

Use the standard config below or run the server directly via npx.

npx allnewsapi-mcp@latest --apikey YOUR_API_KEY
3

Start asking questions

Your AI agent can now search news, fetch headlines, and filter by country, language, or category — all in natural language.

Ask Anything About the News

Natural language queries your AI agent can answer using the AllNewsAPI MCP server.

Get me the latest technology news from the US

Find news articles about climate change from European sources

Show me top business headlines from the past week

Search for cryptocurrency news in English from the last month

Get sports headlines from Canada and Australia

What are the top stories in Japan right now?

Give Your AI Agent a News Feed

Free to get started. No credit card required. Works with Claude, Copilot, Cursor, Windsurf, and more.