Skip to main content
Glama
NewsData.io MCP Server

NewsData.io MCP Server

by jemondragon

NewsData.io MCP Server

An MCP (Model Context Protocol) server that connects NewsData.io to Claude and other LLM clients. Search latest news, crypto news, market news, historical archives, and browse news sources — all from within your AI assistant.

Features

Tool

Description

newsdata_latest

Latest news from the past 48 hours with full filtering

newsdata_crypto

Cryptocurrency-specific news with coin filtering

newsdata_market

Financial/stock market news (beta) with ticker symbols

newsdata_archive

Historical news search with date ranges (paid plans)

newsdata_sources

Browse available news sources by country/language/category

All tools support: keyword search (AND/OR/NOT), country, language, category, domain, sentiment, pagination, and deduplication filters.

Related MCP server: mcp-newsdata

Prerequisites

  1. Node.js 18+ installed

  2. NewsData.io API key — get one free at newsdata.io

Setup

1. Install dependencies

cd newsdata-mcp-server
npm install
npm run build

2. Set your API key

export NEWSDATA_API_KEY="your_api_key_here"

3. Connect to Claude

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "newsdata": {
      "command": "node",
      "args": ["/path/to/newsdata-mcp-server/dist/index.js"],
      "env": {
        "NEWSDATA_API_KEY": "your_api_key_here"
      }
    }
  }
}

Claude.ai Web (HTTP mode)

Run as an HTTP server:

TRANSPORT=http PORT=3000 NEWSDATA_API_KEY="your_key" node dist/index.js

The MCP endpoint will be available at http://localhost:3000/mcp

Claude Code (stdio mode)

claude mcp add newsdata -- node /path/to/newsdata-mcp-server/dist/index.js

Set the env variable NEWSDATA_API_KEY in your shell before running.

Usage Examples

Once connected, just ask Claude naturally:

  • "What's the latest news about AI?"

  • "Show me crypto news for Bitcoin and Ethereum"

  • "Find market news about AAPL and MSFT"

  • "Search for climate change news from US sources in the last 6 hours"

  • "List top English technology news sources"

  • "Find positive sentiment news about renewable energy"

API Endpoints Covered

Endpoint

Tool

Plan Required

/api/1/latest

newsdata_latest

Free+

/api/1/crypto

newsdata_crypto

Basic+

/api/1/market

newsdata_market

Basic+

/api/1/archive

newsdata_archive

Professional+

/api/1/sources

newsdata_sources

Free+

Environment Variables

Variable

Required

Description

NEWSDATA_API_KEY

Yes

Your NewsData.io API key

TRANSPORT

No

stdio (default) or http

PORT

No

HTTP port (default: 3000)

License

MIT

Available Tools

5 tools
newsdata_archiveNews ArchiveA
Read-onlyIdempotent

Search historical news articles (paid plans only).

Access archived news with date range filtering. Useful for research and historical analysis.

Args:

  • q: Search keywords

  • from_date: Start date (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS)

  • to_date: End date (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS)

  • country, language, category: Standard filters

  • size: Results per page

  • page: Pagination token

Examples:

  • News about Tesla in January 2025: q="tesla", from_date="2025-01-01", to_date="2025-01-31"

  • Historical crypto coverage: q="bitcoin", from_date="2024-01-01", to_date="2024-12-31"

Inputs: q, tag, page, size, +16 more.

newsdata_cryptoCrypto NewsA
Read-onlyIdempotent

Fetch cryptocurrency-specific news articles.

Dedicated endpoint for crypto/blockchain news with coin-specific filtering. Returns articles tagged with cryptocurrency topics from the past 48 hours.

Args:

  • q: Search keywords (e.g., 'bitcoin', 'ethereum defi')

  • coin: Filter by specific coin (e.g., 'BTC,ETH,SOL')

  • country, language, category: Standard filters

  • sentiment: Filter by sentiment

  • timeframe: Lookback in hours (1-48) or minutes

  • size: Results per page

  • page: Pagination token

Examples:

  • Bitcoin news: q="bitcoin" or coin="BTC"

  • DeFi news in English: q="defi", language="en"

  • Negative crypto sentiment: sentiment="negative"

Inputs: q, tag, coin, page, +16 more.

newsdata_latestLatest NewsA
Read-onlyIdempotent

Fetch the latest news articles from the past 48 hours worldwide.

Supports keyword search, country/language/category filtering, sentiment analysis, and pagination. Returns up to 50 articles per request (10 for free plans).

Args:

  • q: Search keywords (supports AND/OR/NOT operators)

  • qInTitle: Search in titles only

  • country: Filter by country codes (e.g., 'us,gb')

  • category: Filter by category (e.g., 'business,technology')

  • language: Filter by language (e.g., 'en')

  • sentiment: Filter by sentiment (positive/negative/neutral)

  • timeframe: Lookback in hours (1-48) or minutes (e.g., '120m')

  • size: Results per page (1-50)

  • page: Pagination token from previous response

Examples:

  • Latest US tech news: q="technology", country="us"

  • Breaking news last 2 hours: timeframe=2

  • Positive AI news: q="artificial intelligence", sentiment="positive"

Inputs: q, tag, page, size, +15 more.

newsdata_marketMarket NewsB
Read-onlyIdempotent

Fetch financial and stock market news (beta endpoint).

Get real-time market news including stock analysis, financial sentiment, and business mergers. Returns articles from the past 48 hours.

Args:

  • q: Search keywords (e.g., 'AAPL', 'stock market')

  • symbol: Stock ticker symbols (e.g., 'AAPL,MSFT,GOOGL')

  • country, language: Standard filters

  • sentiment: Filter by financial sentiment

  • timeframe: Lookback in hours (1-48) or minutes

  • size: Results per page

  • page: Pagination token

Examples:

  • Apple stock news: symbol="AAPL"

  • Market crash coverage: q="market crash", sentiment="negative"

  • Tech earnings: q="earnings report", category="business"

Inputs: q, page, size, image, +15 more.

newsdata_sourcesNews SourcesA
Read-onlyIdempotent

List available news sources with filtering options.

Browse and discover news sources indexed by NewsData.io, filtered by country, language, or category.

Args:

  • country: Filter sources by country code (e.g., 'us')

  • language: Filter sources by language (e.g., 'en')

  • category: Filter sources by category (e.g., 'technology')

  • prioritydomain: Filter by source priority tier

  • domainurl: Search for specific domain

Examples:

  • English tech sources: language="en", category="technology"

  • US news sources: country="us"

  • Top-tier sources: prioritydomain="top"

Inputs: country, category, language, domainurl, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct news domain or time range: latest (general recent), crypto, archive (historical), market (financial), and sources (directory). Descriptions clearly differentiate them, and filters are tailored to each use case.

    Naming Consistency5/5

    All tool names follow the consistent `newsdata_<resource>` pattern, making the set predictable and easy to navigate. No mixed conventions or vague verbs.

    Tool Count5/5

    Five tools is well-scoped for a news API, covering the core functionalities of fetching recent, specialized, and historical news, plus source discovery. It is neither thin nor bloated.

    Completeness4/5

    The set covers the primary news retrieval workflows (latest, crypto, market, archive) and source browsing. Minor gaps exist, such as a dedicated article-by-ID lookup or trending topics, but these do not significantly impede typical use cases.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Get access to real-time and historical news data including top headlines from global sources via AllNewsAPI. Supports multiple filter options including keyword search, category, language and more
      3
      78 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Wraps the NewsData.io global news API, enabling AI agents to access and query global news data through natural language.
      362 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Fetches up-to-date news articles from newsdata.io, supporting queries by country, language, category, and keyword.
      42 npm
      3
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables LLM agents to discover news sources, list articles, parse and extract article text, search news, and perform NLP analysis such as keyword extraction and summarization.
      MIT