Skip to main content
Glama
trendsmcp-ai

news-sentiment-mcp

by trendsmcp-ai

news-sentiment-mcp

新闻情感 MCP 适用于 Claude 适用于 Cursor

面向 AI 的新闻情感与热度数据 了解新闻如何报道任何话题——以及报道是正面还是负面。情感评分、媒体报道热度趋势以及历史报道数据,专为 AI 分析而构建。

完整文档与在线演示: https://trendsmcp.ai/news-sentiment-data

属于 Trends MCP —— 涵盖 12+ 数据源的实时趋势 MCP 服务器。 查看主仓库: https://github.com/trendsmcp/trends-mcp


快速开始(两步)

第一步:trendsmcp.ai 免费获取 API 密钥 每天 100 次请求,无需信用卡。

第二步: 添加至你的 AI 客户端(替换 YOUR_API_KEY):

+ 一键添加至 Cursor

Cursor / Windsurf / Cline   (~/.cursor/mcp.json 或等效文件)

{
  "mcpServers": {
    "trends-mcp": {
      "url": "https://api.trendsmcp.ai/mcp",
      "transport": "http",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

VS Code / GitHub Copilot   (.vscode/mcp.json

{
  "servers": {
    "trends-mcp": {
      "type": "http",
      "url": "https://api.trendsmcp.ai/mcp",
      "headers": { "Authorization": "Bearer YOUR_API_KEY" }
    }
  }
}

Claude Desktop   (claude_desktop_config.json) 用户 → 设置 → 开发者 → 编辑配置——在 mcpServers 内添加

{
  "mcpServers": {
    "trends-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.trendsmcp.ai/mcp",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Claude.ai(浏览器)   设置 -> 连接器 -> 添加自定义连接器:

https://api.trendsmcp.ai/mcp

Related MCP server: news-sentiment-mcp

示例查询

连接后,向你的 AI 提问:

get_growth(keyword='tesla', source='news sentiment, news volume', percent_growth=['3M'])

可用工具

工具

功能说明

get_trends

该数据源上某个关键词的时间序列数据

get_growth

1 周、1 月、3 月、6 月、1 年周期的增长率百分比

get_top_trends

该数据源当前的热门趋势

get_ranked_trends

按热度排序的热门话题


常见问题

两种信号:新闻热度(某个话题获得多少报道)和新闻情感(报道是偏向正面、中性还是负面)。两者都被归一化并以时间序列形式返回。

情感是如何评分的?

情感源自对新闻文章标题和摘要的 NLP 分析,评分范围为 -1(强烈负面)到 +1(强烈正面)。Trends MCP 将其归一化到 0–100 分,以保持一致性。

能否追踪某公司在财报期间的情感变化?

可以。查询公司名称或股票代码,情感序列将显示媒体语调在财报发布、产品发布或监管事件前后的变化。

包含哪些新闻来源?

主要英语新闻媒体、财经媒体和科技出版物。数据信号跨来源聚合,而非追踪单个媒体。


所有数据源

Trends MCP 一次连接覆盖 12+ 数据源: Google 搜索、YouTube、TikTok、Reddit、亚马逊、维基百科、 新闻情感、网站流量、应用下载量、Steam、npm 等。

浏览全部: https://trendsmcp.ai/data-sources


也可作为 Python 客户端使用

相同的 API 密钥可直接在 Python 中使用,无需 MCP 主机。

pip install news-sentiment-mcp
import os
from news_sentiment_mcp import TrendsMcpClient, SOURCE

client = TrendsMcpClient(api_key=os.environ["TRENDSMCP_API_KEY"])

series  = client.get_trends(source=SOURCE, keyword="your keyword")
growth  = client.get_growth(source=SOURCE, keyword="your keyword", percent_growth=["1M", "3M", "12M"])
top     = client.get_top_trends(type="News Sentiment", limit=10)

Python 完整文档:trendsmcp.ai/docs

许可证

MIT © Trends MCP

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

Maintenance

Maintainers
Response time
Release cycle
1Releases (12mo)
Commit activity

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

  • A
    license
    A
    quality
    B
    maintenance
    Connect AI agents to real-time financial news covering global markets, geopolitics, and company-level events. Search and filter articles by ticker, source, country, and language; every article includes sentiment scores and tagged company entities with tickers and ISINs. Remote server with standard OAuth 2.0, works out of the box with Claude, ChatGPT, Cursor, and any MCP client. Free tier available
    4
    3
    87
    MIT

View all related MCP servers

Related MCP Connectors

  • AI-enriched financial news for AI agents & trading bots: search, trending, insider, scored 1-10.

  • 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/trendsmcp-ai/news-sentiment-mcp'

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