Praesentire Mcp

io.github.Etha0916由 GitHub 账号 Etha0916 发布v0.1.2更新于 Oct 24, 2026

Bilingual financial news sentiment (English + Traditional Chinese) scored by Claude.

概览

AI 生成的概览

让助手获取股票代码的财经新闻情绪汇总评分,并支持英文与繁体中文情绪对比。

可以做什么
提供三个由 Praesentire API 支持的工具。get_sentiment 返回单个股票代码的 -1 到 +1 汇总情绪评分、置信度、看涨/看跌分布以及最近三篇文章及其理由。get_sentiment_batch 可在一次调用中处理最多 50 个股票代码。compare_languages 并排返回英文与繁体中文情绪及分歧分数。数据来源包括路透社、彭博、雅虎财经、CNBC 以及中文财经媒体,每 10 分钟更新。
适用场景
适合需要快速了解上市公司新闻情绪、批量查看自选股列表,或比较英文与中文报道差异的场景。
运行要求
通过 npx 在本地以 stdio 方式运行,需要 Node.js。需要 Praesentire API 密钥,通过环境变量 PRAESENTIRE_API_KEY 提供;提供每天 100 次请求的免费额度。可选环境变量 PRAESENTIRE_BASE_URL 可覆盖 API 地址。需要访问 Praesentire API 的网络连接。
安装前请注意
API 密钥属于机密信息,通过 PRAESENTIRE_API_KEY 传入,不应写入共享配置文件。用量按请求计费:每次工具调用算一次请求,批量调用 N 个股票代码算 N 次请求,付费套餐会产生费用。股票代码查询会发送给第三方 Praesentire 服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Praesentire Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

praesentire-mcp

MCP server for Praesentire — bilingual financial news sentiment as a Claude tool.

What Claude gets

Three tools, one API:

ToolWhat it does
get_sentimentAggregated -1 to +1 sentiment score + confidence + bull/bear distribution + latest 3 articles with rationale, for one ticker.
get_sentiment_batchSame aggregates for up to 50 tickers in one call. Each ticker bills as one request.
compare_languagesEnglish vs Traditional Chinese sentiment side-by-side + divergence score. Designed for cross-market arbitrage signals.

Sources: Reuters, Bloomberg, Yahoo Finance, CNBC (English) + 經濟日報, 工商時報, Anue 鉅亨 (繁中). Updated every 10 minutes.

Install

You need a Praesentire API key. Sign up free — 100 req/day forever, no credit card.

Claude Code

Add to .mcp.json in your project root:

json
{  "mcpServers": {    "praesentire": {      "command": "npx",      "args": ["-y", "praesentire-mcp"],      "env": {        "PRAESENTIRE_API_KEY": "pr_your_key_here"      }    }  }}

Then claude and ask: "What's the sentiment on NVDA?"

Claude Desktop / Cowork

Edit your Claude Desktop config (%APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on Mac):

json
{  "mcpServers": {    "praesentire": {      "command": "npx",      "args": ["-y", "praesentire-mcp"],      "env": {        "PRAESENTIRE_API_KEY": "pr_your_key_here"      }    }  }}

Restart Claude Desktop. The three tools will appear in the connectors list.

Local test

bash
PRAESENTIRE_API_KEY=pr_your_key npx praesentire-mcp# Server starts on stdio. Press Ctrl+C to stop.

Example prompts

Once installed, Claude can answer things like:

"What's the news sentiment on NVDA right now?" → Calls get_sentiment("NVDA"), returns aggregated score + the 3 articles driving it.

"Compare English vs Chinese sentiment on TSMC — is there divergence?" → Calls compare_languages("TSM"), returns side-by-side plus divergence score. If |divergence| > 0.3, that's a notable cross-market signal.

"Sentiment on my watchlist: NVDA, AMD, AVGO, TSM, ASML, INTC, MU." → Calls get_sentiment_batch(["NVDA","AMD",...]), returns all at once.

"Why is NVDA down today? Pull sentiment + latest articles." → Calls get_sentiment("NVDA") and Claude summarises the rationales.

Pricing

Praesentire's pricing (the API behind this MCP):

TierRequests / dayPrice
Free100$0 forever
Hobby1,000$19 / mo
Pro10,000$99 / mo
Business100,000$499 / mo

Each tool call = 1 request. get_sentiment_batch with N tickers = N requests.

Configuration

Env vars:

VarDefaultDescription
PRAESENTIRE_API_KEY(required)Your API key (pr_...). Get one at https://praesentire.com/dashboard.
PRAESENTIRE_BASE_URLhttps://praesentire.com/api/v1Override if self-hosting / testing against staging.

Error handling

The MCP server maps Praesentire's HTTP errors to LLM-friendly messages:

  • 401 → "API key invalid or revoked. Create a new one at praesentire.com/dashboard."
  • 429 → "Daily limit reached for tier X. Upgrade at praesentire.com/pricing or wait for reset."
  • 400 → Specific validation error (invalid ticker, bad params).
  • 5xx → "Praesentire API error N. Try again."

Links

License

MIT

来源:README.md,提交 5879230

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.2最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分