Skip to main content
Glama
AndyTheFactory

newspaper-mcp

Official

newspaper-mcp

Ein MCP-Server, der die Fähigkeiten von newspaper4k zum Auffinden und Extrahieren von Nachrichtenartikeln als Werkzeuge für LLM-Agenten bereitstellt. Erstellen mit dem offiziellen MCP Python SDK v2.

Werkzeuge

Werkzeug

Beschreibung

parse_article

Einen einzeneen Artikel herunterladen und parsen (Titel, Autoren, Text, Bilder, NLP).

parse_articles

Mehrere Artikel-URLs, die gleichzeitig herunterladen und parsen.

discover_source

Die Startseite einer Nachrichtenwebsite nach Markeninformationen, Kategorien, Feeds und Artikeln durchsuchen.

list_source_articles

Die Artikel-URLs/-titel, die Seiten einer Quelle mit Paginerung auflisten.

search_news

Google News nach Stichwort/Thema/Web/Standort suchen (erfordert gnews).

extract_article_text

Schnell, reine Text-Extraktion aus rohem HTML oder einer URL, ohne Metadaten/NLP.

analyze_article

Download + NLP: Keywords with Bewertungen und extrakktive Zusammenfassung.

get_source_categories

Die Kategori-URLs oder Sektionen einer Quelle auflisten.

get_source_feeds

Die RSS/Atom-Feed-URLs einer Quelle auflisten.

Related MCP server: AllNewsAPI MCP

Setup

Dieses Paket hängt vom lokalen newspaper4k-Checkout im Repository-Wurverzeichnis ab (über tool.uv.sources in pyproject.toml) und verwendet stuft die Entwicklungsversion der Bibliothek.

cd newspaper_mcp
uv sync

Aus­führen

uv run newspaper-mcp          # stdio transport (default)
uv run mcp dev src/newspaper_mcp/server.py   # MCP Inspector

Um das Server einem MCP-Host (z. B. Claude Code, Claude Desktop) hinzututuhfen, weisen Sie den Host auf uv run --directory /path/to/newspaper_mcpnewspaper-macp` als stdio-Server.

Notes

  • search_news erfordert das optionale Paket gnews, das bereits über das in pyproject.toml deklarierte Extra newspaper4k[gnews] eingebunden ist.

  • NLP-Funktionen (nlp(), Keyword-Extraktion, Zusammenfassung) erfordern nltk, das via das Extra newspaper4k[nlp] geliebt wird. Bei der ersten Verwendung muss nltk die punkt-Tokeniser-Daten möglicherweise her unterladen.

  • Alle Werkzeuge führen Live-Netzwerkabfragen zu den Ziel-Nachrichtenwebsites durch. Es gibt kein Caching zwischen den Nachrichten.

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides AI agents access to news aggregation from 80,000+ sources via the NewsAPI. Supports both authenticated access with API keys and pay-per-use via HTTP 402 protocol with blockchain payment verification.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables LLMs to search for news articles, get top headlines, and access comprehensive news data with advanced filtering options through AllNewsAPI.
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search news articles, get top headlines, and browse sources via the NewsAPI.org service.
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables fetching top headlines and searching news archives from NewsAPI.org, allowing AI agents to access current and historical news data.
    MIT

View all related MCP servers

Related MCP Connectors

  • Real-time corroborated news events + 5-year archive, for agents. Free tier, no key.

  • Real-time financial news for AI agents: search by ticker and source, with sentiment and entities.

  • Real-time curated crypto news for AI agents with sentiment, recaps, and search.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AndyTheFactory/newspaper4k-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server