tempo-insights
Tempo Insights MCP
一个无依赖的 Model Context Protocol (MCP) 服务器,用于 Tempo.co 的公开报道。它支持获取文章、Tempo 搜索、文章级研究简报,以及跨持续发展故事的比较。
工具
tempo_search— 查找查询的公开 Tempo 链接。tempo_article— 返回规范化的文章元数据、干净文本,以及相关的视频/嵌入元数据(如果存在)。tempo_insights— 生成包含主张、实体、日期、量化信号、不确定性和相关视频上下文的抽取式简报。tempo_compare— 对比两到五篇文章,找出重复的实体、主张和时间线信号。tempo_auth_status— 报告是否配置了可选的订阅者身份验证,而不暴露机密。
分析工具不独立验证报道。它们明确将输出标记为从获取来源中提取的信号。
Related MCP server: Real Time News Data MCP Server
相关视频上下文
如果 Tempo 文章包含相关视频,服务器会尝试从公开文章 HTML 中可用的内容提取可用上下文:
JSON-LD
VideoObject、Clip或MediaObject元数据。OpenGraph 视频 URL。
嵌入的视频 iframe,如 YouTube、Vimeo 或其他播放器嵌入。
原生 HTML 视频源和字幕轨道链接。
转录文本(当页面在结构化元数据中公开时)。
tempo_insights 将该视频元数据或转录文本合并到 related_video_context 下的简报中。它不会自行下载视频、绕过播放器或转录音频;如果 Tempo 仅嵌入视频而没有字幕、转录、标题或描述,则洞察将仅限于嵌入元数据。
在 MCP 客户端中安装
添加以下服务器定义,如果您的检出位于其他位置,请替换绝对路径:
{
"mcpServers": {
"tempo-insights": {
"command": "node",
"args": ["/Users/yudistryanizharkamil/Documents/ChatGPT/Personal/src/index.js"]
}
}
}无需 npm install 步骤。使用 npm start 手动运行。
订阅者访问
Tempo.co 似乎没有为第三方文章访问公开 OAuth 流程。Tempo 使用 REMP:登录用户令牌位于 n_token cookie 中,也作为 Authorization: Bearer <n_token> 发送。Hotjar _hjSession_* 或 _ga 等分析 cookie 不是登录凭据。
对于已订阅的账户,MCP 支持通过环境变量进行身份验证获取:
TEMPO_COOKIE— 一个 Cookie 头,或一个裸n_token值。跟踪 cookie 会被剥离;裸令牌会规范化为n_token=...。TEMPO_COOKIE_FILE— 包含该 cookie 的文本文件的路径。每次请求都会重新读取该文件。TEMPO_AUTHORIZATION— 可选的覆盖项。如果省略,MCP 会从 cookie 派生Bearer <n_token>。
这不会绕过 Tempo Plus。它只允许 MCP 获取您的账户已被允许访问的内容。MCP 永远不会打印 cookie 值。
从 Chrome 导出正确的 cookie
在 Chrome 中登录 Tempo,然后运行:
npm run cookie:export该辅助程序从您的本地配置文件中读取 Chrome 的 Tempo cookie,仅保留 n_token、we_userid、status_user、remp_session_id、remp_session_referer 和 browser_id,并将它们写入 ~/.cursor/tempo.cookie。除非您运行它,否则它不会抓取 cookie。
然后将 Cursor 指向该文件并重新加载 MCP:
{
"mcpServers": {
"tempo-insights": {
"command": "node",
"args": ["/Users/yudistryanizharkamil/Documents/ChatGPT/Personal/src/index.js"],
"env": {
"TEMPO_COOKIE_FILE": "/Users/yudistryanizharkamil/.cursor/tempo.cookie"
}
}
}
}使用 tempo_auth_status 确认 n_token_present 和 subscribed_cookie_present。如果 Chrome 使用 v20 应用绑定加密,请从 DevTools 中复制您已能阅读的 Tempo Plus 文章上的 Cookie 头,将其保存到同一文件,然后重新运行。
数据处理和限制
仅接受主机名为 tempo.co 或 Tempo 子域的 HTTPS 链接。响应在内存中缓存五分钟,以活动身份验证头的短哈希为键,因此匿名、静态 cookie 和 cookie 文件获取不会冲突。服务器使用类似浏览器的 User-Agent,源获取在 15 秒后超时,并将提取的文章文本限制在 35,000 个字符。
Tempo 的页面标记可能会变化。文章提取器首先使用 JSON-LD 获取元数据,使用 __NEXT_DATA__ 和文章正文回退获取文本,并使用媒体回退获取相关视频上下文;如果页面发生变化,请更新 src/index.js 中的 extractBody 或 relatedMedia。
Available Tools
5 toolstempo_articleA
Fetch one public Tempo.co article and return clean text plus normalized metadata. Use this before requesting a deep insight for a particular URL.
Inputs: url (required), include_body, include_media.
tempo_auth_statusA
Report whether optional subscriber authentication headers are configured for Tempo fetches. Does not expose secrets.
Inputs: no named parameters.
tempo_compareA
Compare 2–5 Tempo.co articles. Highlights shared entities, repeated facts, differing framing, chronology, and reporting gaps. Useful for tracking a developing story.
Inputs: urls (required), focus.
tempo_insightsB
Turn a Tempo.co article into a research brief: executive summary, key claims, named entities, timeline signals, numbers, uncertainties, and questions to investigate. It is extractive and explicitly separates reported facts from inferred themes.
Inputs: url (required), focus, include_source_text.
tempo_searchA
Search Tempo.co reporting by a query. Returns article candidates with title, URL, date, description, and section when available.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose: search, fetch, generate insights, compare, and check auth status. No overlap or ambiguity exists between them, making tool selection straightforward for an agent.
All tools share the 'tempo_' prefix and use snake_case, but there's a mix of verb-led names (tempo_search, tempo_compare) and noun-led names (tempo_article, tempo_insights, tempo_auth_status). Minor inconsistency, but the pattern is still predictable and readable.
With exactly 5 tools, the set is well-scoped and each tool earns its place in the news analysis workflow. This falls comfortably within the ideal range for a specialized server.
The core workflow of searching, fetching, analyzing, and comparing articles is covered, plus a useful auth status check. Minor gaps like bulk fetching or topic discovery exist, but they are not critical to the server's purpose and can be worked around.
Related MCP Connectors
Give your AI assistant access to the world’s news. Search articles in any language, track coverage over time, and research companies and events.
Give your AI today's internet: live web search, real-time breaking news, full articles and papers.
Authenticated public evidence search, verification, research jobs, exports, and webhooks.
Official Perigon news API: articles, stories, companies, journalists, monitors, and stats.
Related MCP Servers
AlicenseNot gradedqualityBmaintenanceEnables access to comprehensive news data through the Perigon API, including searching for articles, stories, journalists, sources, people, companies, topics, and Wikipedia content with advanced filtering capabilities.6Apache 2.0- AlicenseBqualityDmaintenanceEnables access to real-time news articles through search, topic headlines, full story coverage, and geo-based local news across multiple countries and languages using the Real Time News Data API.7MIT
- FlicenseNot gradedqualityDmaintenanceEnables searching news, fetching top headlines, listing sources, and generating tech briefings via NewsAPI, with an optional browser frontend.-
- FlicenseNot gradedqualityDmaintenanceEnables fetching top headlines, searching news articles across 150,000+ sources, and listing available news sources via NewsAPI.-