news-monitor-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@news-monitor-mcpShow me the top headlines from Germany today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π¨π Part of the Swiss Public Data MCP Portfolio
π° news-monitor-mcp
MCP server for global news monitoring, media analysis and sentiment tracking via WorldNewsAPI β full-text search across 150+ countries, German/English sentiment analysis, top headlines, GL briefings, newspaper front pages and geo-search. API key required.
Overview
news-monitor-mcp transforms any AI assistant into a proactive media intelligence agent. The server connects LLMs like Claude with global news data: from Swiss institutional reputation monitoring to weekly leadership briefings and trend detection across categories.
Source: WorldNewsAPI (worldnewsapi.com) β the only freely available news API with German-language sentiment analysis.
API key required. Get a free key at worldnewsapi.com/console (1,000 calls/month free tier).
Anchor demo query: "How has the Schulamt ZΓΌrich been portrayed in the media over the last 30 days, and what is the overall sentiment?"
Related MCP server: MarketAuxMcpServer
Features
π Full-text search β 150+ countries, 50+ languages, Boolean queries and exact phrase matching
π Sentiment analysis β German and English only (WorldNewsAPI unique feature); scores from β1 (negative) to +1 (positive)
π° Top headlines β clustered by country and language, ranked by number of sources reporting
π Media briefing β multi-topic weekly report with sentiment overview for GL / leadership updates
ποΈ Newspaper front pages β digital covers from 6,000+ publications in 125 countries
π‘ Trend radar β category-based trend detection (politics, technology, education, β¦) per country
π Geo-search β location-specific news (ZΓΌrich, Bern, Basel, Kanton ZΓΌrich, β¦)
βοΈ Dual transport β stdio for Claude Desktop, Streamable HTTP for cloud deployment
# | Tool | Description |
1 |
| Full-text news search in 150+ countries |
2 |
| Top headlines by country and language |
3 |
| Sentiment analysis for entity or topic |
4 |
| Multi-topic weekly briefing report |
5 |
| Fetch full article by ID |
6 |
| Find available news sources by name/country |
7 |
| Digital newspaper front pages |
8 |
| Category-based trend detection per country |
9 |
| Location-specific news search |
10 |
| Create a persistent alert (sentiment / volume / keyword) |
11 |
| List configured alerts with status |
12 |
| Evaluate alerts against current data |
13 |
| Permanently remove an alert |
14 |
| Cache hit-rate and entries by type |
15 |
| Clear cache (entirely or per tool type) |
Demo

"Create a media briefing for: AI in education, Volksschule ZΓΌrich, school digitalisation"
Data Sources
Source | API Type | Content |
WorldNewsAPI | REST JSON | 150+ countries, 50+ languages, full text, sentiment |
Prerequisites
Python 3.11+
uvorpipAPI key from worldnewsapi.com/console (free tier available)
Installation
# Recommended: uvx (no install step needed)
uvx news-monitor-mcp
# Alternative: pip
pip install news-monitor-mcpQuickstart
# Start the server (stdio mode for Claude Desktop)
WORLD_NEWS_API_KEY=your-key uvx news-monitor-mcpTry it immediately in Claude Desktop:
"Show me the top news from Switzerland today" "How is the Schulamt ZΓΌrich covered in German-language media this month?" "Create a media briefing on: Volksschule ZΓΌrich, AI in education, school digitalisation"
Configuration
Environment Variables
Variable | Default | Description |
| β | Required. API key from worldnewsapi.com |
|
| Transport: |
|
| HTTP bind host. Use |
|
| Port for HTTP transport |
| β | Required in |
| β | Optional CSV allowlist for the |
|
| Log level: |
|
| Directory that holds |
| β | (Back-compat) explicit path to the alerts file. Same symlink check applies. Prefer |
|
| Alerts older than this many days are deleted on server start (Privacy default per |
|
| Maximum cache entries per tool type. When exceeded, the least-recently-used entry of that type is evicted. Set to |
|
| Interval for the background task that removes TTL-expired entries from the cache. Set to |
Claude Desktop Configuration
{
"mcpServers": {
"news-monitor": {
"command": "uvx",
"args": ["news-monitor-mcp"],
"env": {
"WORLD_NEWS_API_KEY": "your-api-key-here"
}
}
}
}Config file locations:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
After restarting Claude Desktop, all tools are available. Example queries:
"Show me the top Swiss news today"
"What is the media sentiment on AI in education this month?"
"Create a weekly briefing for: Schulamt ZΓΌrich, Volksschule, KI Bildung"
"Find all German-language articles about school digitalisation in the last 14 days"
"Show me the front pages of Swiss newspapers today"
Cloud Deployment (Streamable HTTP)
For use via claude.ai in the browser (e.g. on managed workstations without local software):
Authentication is mandatory. The HTTP transport refuses any request without a valid Authorization: Bearer <token> header. Generate a token once and keep it secret:
python -c "import secrets; print(secrets.token_urlsafe(32))"Render.com (recommended):
Push/fork the repository to GitHub
On render.com: New Web Service β connect GitHub repo
Set the following environment variables in the Render dashboard:
WORLD_NEWS_API_KEYβ your WorldNewsAPI keyMCP_BEARER_TOKENβ the token generated aboveMCP_HOST=0.0.0.0β bind on all interfaces inside the containerMCP_ALLOWED_ORIGINS=https://claude.ai(optional, recommended)
In claude.ai under Settings β MCP Servers, add the URL
https://your-app.onrender.com/mcpand configure the Bearer token as the auth header.
# Local HTTP mode (binds 127.0.0.1 by default)
WORLD_NEWS_API_KEY=your-key \
MCP_BEARER_TOKEN=$(python -c "import secrets; print(secrets.token_urlsafe(32))") \
news-monitor-mcp --http --port 8000
# Verify auth is enforced
curl -i http://127.0.0.1:8000/mcp # β 401
curl -i -H "Authorization: Bearer $MCP_BEARER_TOKEN" http://127.0.0.1:8000/mcpScaling notes
This server is currently single-process / single-replica:
The TTL cache lives in process memory (
NewsCache). If you run multiple Render or Kubernetes replicas, each replica has its own cache β hit-rates drop linearly with the replica count.Alerts persist to a local
alerts.json(defaults to/datainside the container). Multiple replicas mounting the same persistent volume serialize viafcntl.flock, but for true cluster operation a shared store (Redis / Postgres) is needed β see the open findingSCALE-STATEFUL.On Render Free Tier, the container sleeps after ~15 minutes of inactivity and loses non-persistent state. Attach a Persistent Disk for
/dataif you need alerts to survive restarts. For Render Free + alerts you must accept that the cache is lost on every wake-up.
The MCP_CACHE_MAX_PER_TYPE cap (default 1000 entries / type) and the background sweep (MCP_CACHE_SWEEP_SECONDS, default 5 min) prevent the in-process cache from growing without bound.
Container image
A non-root multi-stage Dockerfile is included and built on every CI run. Inside the container the server defaults to --http, binds 0.0.0.0:8000, persists alerts under /data, and refuses to start if MCP_BEARER_TOKEN is missing.
docker build -t news-monitor-mcp .
docker run --rm -p 8000:8000 \
-e WORLD_NEWS_API_KEY=your-key \
-e MCP_BEARER_TOKEN=$(python -c "import secrets; print(secrets.token_urlsafe(32))") \
-e MCP_ALLOWED_ORIGINS=https://claude.ai \
-v news-monitor-data:/data \
news-monitor-mcpArchitecture
βββββββββββββββββββ ββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββ
β Claude / AI ββββββΆβ News Monitor MCP ββββββΆβ WorldNewsAPI β
β (MCP Host) βββββββ (MCP Server) βββββββ REST JSON API β
βββββββββββββββββββ β β β 150+ countries β
β 9 Tools β β 50+ languages β
β Stdio | Streamable HTTP β β Sentiment DE/EN β
ββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββProject Structure
news-monitor-mcp/
βββ src/
β βββ news_monitor_mcp/
β βββ __init__.py
β βββ server.py # All 9 tools
βββ tests/
β βββ __init__.py
β βββ test_server.py # 20 tests (unit + live)
βββ pyproject.toml
βββ CHANGELOG.md
βββ CONTRIBUTING.md
βββ LICENSE
βββ README.md # This file (English)
βββ README.de.md # German versionTesting
# Unit tests (no API key required)
PYTHONPATH=src pytest tests/ -m "not live"
# Integration tests (live API calls, API key required)
PYTHONPATH=src pytest tests/ -m "live"Example Use Cases
Schulamt / Institutional Communication
"How has the Schulamt ZΓΌrich been portrayed in media over the last 30 days?"
β news_sentiment_monitor(entity="Schulamt ZΓΌrich", language="de", days_back=30)
"Create a weekly media briefing for leadership"
β news_media_briefing(topics=["Volksschule ZΓΌrich", "KI Bildung", "Schuldigitalisierung"])
"What are Swiss media reporting on school digitalisation?"
β news_search(query="Schuldigitalisierung", language="de", source_country="ch")KI-Fachgruppe / AI Working Group
"What are the current tech trends in Swiss press this week?"
β news_trend_radar(category="technology", source_country="ch", language="de")
"How are AI developments in education covered internationally?"
β news_search(query="AI education classroom", language="en", number=20)
"Compare Swiss and German media coverage of AI regulation"
β news_search(query="KI Regulierung", source_country="ch", language="de")
β news_search(query="KI Regulierung", source_country="de", language="de")City Administration / Location Research
"What is being reported about ZΓΌrich school infrastructure?"
β news_geo_search(location="ZΓΌrich", query="Schule")
"Show today's front pages of Swiss newspapers"
β news_front_pages(source_country="ch")β More use cases by audience β
Sentiment Analysis
WorldNewsAPI offers German-language sentiment analysis β rare among news APIs:
Score | Label | Meaning |
> 0.3 | positiv π | Positive coverage |
β0.3 to 0.3 | neutral π | Neutral / factual coverage |
< β0.3 | negativ π | Critical / negative coverage |
β οΈ Sentiment is only available for German (de) and English (en).
Safety, Limits & Responsible Use
Read-Only Operation
12 of the 15 tools carry readOnlyHint: true. All 9 monitoring tools (search,
headlines, sentiment, briefing, article, sources, front_pages, trend, geo) are
fully read-only and issue GET requests to WorldNewsAPI only. The 3 exceptions
are local-only operations: news_alert_create and news_alert_delete (write/
delete ~/.news-monitor-mcp/alerts.json) and news_cache_clear (clears
in-memory cache). None of the 15 tools modify any external data source.
API Rate Limits
Constraint | WorldNewsAPI Free Tier | Paid Plans |
Calls/month | 1,000 | Up to 1M |
Articles/call | 10 | Up to 100 |
Historical depth | 30 days | Extended |
Timeout per call | 30 seconds | 30 seconds |
The TTL cache (v0.2+) reduces redundant calls by up to 80%.
Data Privacy
No personal data stored: The server holds no persistent user data. Cache entries are in-memory and reset on server restart.
No profiling: The server retrieves publicly published journalism only. It is not designed for surveillance or personal profiling.
Alert data: Alert configurations are stored locally in
~/.news-monitor-mcp/alerts.jsonβ on your machine only, never transmitted.
Responsible Use
Query public news only β do not use as a profiling tool for individuals.
Sentiment scores reflect algorithmic analysis of journalistic tone, not verified editorial judgements.
Results depend on WorldNewsAPI's indexing; Swiss regional media may be less well-covered than national outlets.
Terms of Service
Users must comply with:
This MCP server is an independent open-source project and is not affiliated with WorldNewsAPI.
Synergies with Other MCP Servers
news-monitor-mcp can be combined with other servers in the portfolio:
Combination | Use Case |
| Law meets discourse: legal framework + media coverage |
| OECD stats + current media context |
| Swiss public media + international news comparison |
| Environmental data + media reporting |
| BFS statistics + current media narrative |
| City data + local media coverage |
Changelog
See CHANGELOG.md
Security & Compliance
Report vulnerabilities privately: see SECURITY.md
Swiss public-sector deployment: see
docs/isds-klassifikation.mdfor the ISDS / SchutzbedarfsfeststellungSwiss data protection (revDSG) β duties, profiling, retention, drittlandtransfer:
docs/privacy-dsg.mdAudit history:
audits/
License
MIT License β see LICENSE
Author
Hayal Oezkan Β· malkreide
Credits & Related Projects
Data: WorldNewsAPI β global news data with sentiment analysis
Protocol: Model Context Protocol β Anthropic / Linux Foundation
Related: swiss-culture-mcp β MCP server for Swiss cultural heritage data
Related: srgssr-mcp β MCP server for SRG SSR Swiss public media
Portfolio: Swiss Public Data MCP Portfolio
Installation
Run via uv's uvx β no clone or manual install needed. Add to your MCP client config (mcpServers for Claude Desktop, Cursor and Windsurf; use a top-level servers key for VS Code in .vscode/mcp.json):
{
"mcpServers": {
"news-monitor-mcp": {
"command": "uvx",
"args": [
"news-monitor-mcp"
]
}
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/malkreide/news-monitor-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server