MCP.so
ログイン

📰 News AI MCP Server

@Mohammadshahzaib007

📰 News AI MCP Server について

概要はまだありません

基本情報

カテゴリ

その他

ランタイム

python

トランスポート

stdio

公開者

Mohammadshahzaib007

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "news-ai-mcp-server": {
      "command": "uv",
      "args": [
        "run",
        "mcp",
        "install",
        "main.py"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is 📰 News AI MCP Server?

A minimal Python-based MCP server that connects to NewsAPI.org to fetch and summarize the latest top headlines by country, category, and search query. It is built with the Python MCP SDK and uses uv for environment management.

How to use 📰 News AI MCP Server?

Clone the repo, install dependencies with uv, create a .env file with API_KEY from NewsAPI.org, then run uv run mcp install main.py. The server can be tested from any MCP client.

Key features of 📰 News AI MCP Server

  • Fetch top headlines by country code, category, or search query
  • Summarizes news with title, description, author, and source
  • Includes a test greeting resource for verifying server communication
  • Easily integratable into MCP clients
  • Uses dotenv for managing the API key securely

Use cases of 📰 News AI MCP Server

  • Monitor technology news in the US using category and country filters
  • Get daily headlines for a specific country like India
  • Search for breaking stories on any keyword
  • Build a custom news feed inside an MCP‑compatible assistant

FAQ from 📰 News AI MCP Server

What data source does the server use?

It connects to NewsAPI.org, which provides access to news headlines and articles.

How do I set up the API key?

Create a .env file in the project root and add API_KEY=your_newsapi_org_api_key. The server reads it using python-dotenv.

What runtime or dependencies are required?

The server requires Python and the uv package manager. All other dependencies (MCP SDK, dotenv, etc.) are installed automatically via uv.

How was the server tested?

It was tested using a cloud desktop client connected via the MCP protocol.

Does the server require any authentication beyond the API key?

No. The only authentication needed is the NewsAPI.org API key stored in the .env file.

コメント

「その他」の他のコンテンツ