mcp-newsapi

mcp-newsapi

3.3

If you are the rightful owner of mcp-newsapi and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP News API Server provides programmatic access to news data via the Model Context Protocol, utilizing endpoints from the News API.

The MCP News API Server is a specialized server that allows users to access and retrieve news articles programmatically using the Model Context Protocol (MCP). It interfaces with the News API, providing endpoints to search for news articles and fetch top headlines. This server is designed to facilitate easy integration with MCP-compatible clients, enabling developers to incorporate news data into their applications seamlessly. The server requires Node.js and an API key from News API for operation. It supports various query parameters to refine searches, such as keywords, sources, domains, and language, making it a versatile tool for accessing global news content.

Features

  • Programmatic access to news articles via MCP.
  • Supports searching articles and fetching top headlines.
  • Configurable with various query parameters for refined searches.
  • Error handling with detailed messages based on News API responses.
  • Extensible to include additional News API endpoints.

Tools

  1. search_articles

    Searches for news articles using the News API 'Everything' endpoint.

  2. get_top_headlines

    Fetches top news headlines using the News API 'Top Headlines' endpoint.