Model Context Protocol

aitg.pro MCP Server

Give your AI agent access to real-time news from 80+ world sources via MCP.

Connect your AI agent

Public endpoint — no API key, no setup, no downloads:

URL: https://aitg.pro/mcp/mcp

How to connect

Claude Desktop — add to claude_desktop_config.json:

{
  "mcpServers": {
    "aitg-news": {
      "url": "https://aitg.pro/mcp/mcp"
    }
  }
}

Cursor, Windsurf, Cline — add MCP server with URL:

https://aitg.pro/mcp/sse

Python (mcp library):

from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client

async with streamablehttp_client("https://aitg.pro/mcp/mcp") as (read, write, _):
    async with ClientSession(read, write) as session:
        await session.initialize()
        tools = await session.list_tools()
        result = await session.call_tool("search_articles", {
            "query": "AI", "lang": "en", "limit": 5
        })

Self-hosted mode

Clone the repo and run locally for lower latency or customization:

pip install mcp[cli] httpx pydantic

python mcp_server/server.py              # SSE on port 8080
python mcp_server/server.py --port 9000  # custom port

Tools (7)

ToolDescription
search_articlesSearch & filter by query, tags, source, dates
fulltext_searchRelevance-ranked search with boolean operators (+, -, *)
get_articleFull article content by ID
list_tagsHierarchical tag tree (9 categories, 47 subtags)
get_tagTag details with children & article counts
get_tag_articlesArticles filtered by tag slug
list_sourcesAll 80+ RSS feed sources

Resources

URIDescription
aitg://tagsFull tag taxonomy (JSON)
aitg://headlinesLatest 20 headlines
aitg://sourcesAll RSS sources (JSON)

Example prompts after connecting

REST API

The MCP server wraps the aitg.pro REST API (8 endpoints, Swagger UI). No authentication required.

← Back to aitg.pro