MCP server for analyzing sentiment of news headlines
MCP server for analyzing sentiment of news headlines. That is what the headline vibes mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
Headline Vibes is a Model Context Protocol server that analyzes investor sentiment in US news headlines fetched from EventRegistry (newsapi.ai). It supports daily and monthly analysis modes, produces structured outputs with diagnostics, and runs over stdio or HTTP (Railway-ready).
The server publishes 2 tools. What each one is for:
analyze_headlines — Daily sentiment snapshot for a single day. Arguments: { "input": string }. - Accepts natural language or YYYY-MM-DD. - Returns investor/generalanalyze_monthly_headlines — Monthly aggregation between two months. Arguments: { "startMonth": "YYYY-MM", "endMonth": "YYYY-MM" }. - Outputs per-month political sentimentsConfiguration is passed through the environment: NEWS_API_KEY, TRANSPORT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
npm on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Headline Vibes's toolset — analyze_headlines, analyze_monthly_headlines — is a fair guide to whether it matches your workflow. It is maintained by fred-em; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| analyze_headlines | Daily sentiment snapshot for a single day. Arguments: { "input": string }. - Accepts natural language or YYYY-MM-DD. - Returns investor/general scores, synopses, distributions, sample headlines, and diagnostics. |
| analyze_monthly_headlines | Monthly aggregation between two months. Arguments: { "startMonth": "YYYY-MM", "endMonth": "YYYY-MM" }. - Outputs per-month political sentiments, headline counts, and token/sampling diagnostics. |
{
"mcpServers": {
"headline-vibes": {
"command": "npx",
"args": ["-y", "npm"],
"env": {
"NEWS_API_KEY": "your-value",
"TRANSPORT": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| NEWS_API_KEY | Credential the server authenticates with. | Yes |
| TRANSPORT | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.