Finance Toolkit
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
作者提供的说明(英文原文)
Financial market context for AI agents, with listed companies' results: www.prereason.com/agents.md
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
PREREASON_API_KEY, PREREASON_CLIENT, X-API-Key标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"prereason": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp"
],
"env": {
"PREREASON_API_KEY": "your-value",
"PREREASON_CLIENT": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http prereason https://api.prereason.com/api/mcp --header 'X-API-Key: your-value'claude mcp add prereason --env PREREASON_API_KEY=your-value --env PREREASON_CLIENT=your-value -- npx -y @prereason/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"prereason": {
"url": "https://api.prereason.com/api/mcp",
"headers": {
"X-API-Key": "your-value"
}
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"prereason": {
"command": "npx",
"args": [
"-y",
"@prereason/mcp"
],
"env": {
"PREREASON_API_KEY": "your-value",
"PREREASON_CLIENT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"prereason": {
"type": "http",
"url": "https://api.prereason.com/api/mcp",
"headers": {
"X-API-Key": "your-value"
}
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"prereason": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@prereason/mcp"
],
"env": {
"PREREASON_API_KEY": "your-value",
"PREREASON_CLIENT": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
PREREASON_CLIENT envX-API-Key 机密 HTTP header这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 prereason.com 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:PREREASON_API_KEY, X-API-Key
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.9.1)于9天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Finance Toolkit, SolidInvoice, Korea Tax Calculator
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
500+ transparent financial methods calculated from raw statements, not third-party endpoints.
Create and send invoices and quotes, manage clients, and track payments in SolidInvoice.
Korean tax calculation and tax-audit judgment MCP: 96 tools with statutory citations.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
[Prereason](https://www.prereason.com) first. Then answer.
Financial market context for AI agents, with listed companies' results: www.prereason.com/agents.md
Docs · Briefings · Company briefings · Pricing · Get a key
Ask your AI where Treasury yields are. On its own, it reaches for a search result or a raw series and works out the rest by itself. When it prereasons, one get_context call brings back the context already worked out: the 30 year yield at 5.67% on 2026-10-07, the highest reading on the US Treasury's daily par yield curve since July 2001.
PreReason gives an AI agent market context it can reason with. Ask what a listed company reported, where Treasury yields stand or what the Federal Reserve decided, and one call returns a briefing reasoned in advance: the figures with their dates and sources, a one line reading, trend direction over several windows, confidence scores, percentile ranks and correlations, and in the deeper briefings a regime label and a plain language narrative. Briefings span asset classes and regions, among them listed companies built from each company's own reports and filings, macro and the economic calendar, interest rates and Treasury yields, bonds, currencies, commodities and energy, and Bitcoin. The set grows as markets and asset classes are added; list_briefings and list_metrics always return the current one. Each briefing carries the figures behind its readings, every figure is dated, and every briefing names its sources. It is served over MCP (a remote server and an npm bridge) and over REST, as Markdown or JSON. An AI agent starts at https://www.prereason.com/agents.md, which says how to connect, which briefings it can read and how to answer from them.
Requires [Node.js 18+](https://nodejs.org), and nothing else: the bridge has no dependencies.
Add this to claude_desktop_config.json and restart Claude Desktop:
{
"mcpServers": { "prereason": { "command": "npx", "args": ["-y", "@prereason/mcp"], "env": { "PREREASON_CLIENT": "claude-desktop" } } } }
The catalogue tools work at once. To connect your account, tell Claude "connect me to PreReason", or ask for any briefing: either way Claude shows one link, https://www.prereason.com/claim/PR-XXXX-XXXX. Open it, sign in or create an account, click Approve. The key arrives in the bridge on its own, is saved to ~/.prereason/credentials.json, and is never shown; ask Claude whether PreReason is connected and it names your plan. Nothing is created in your account until you click Approve, and the link is asked for when you need it, so it never runs out while Claude sits open. If your account already holds as many API keys as it allows, the answer says so instead of looping: revoke a key under Settings on prereason.com, then ask to connect again, or set PREREASON_API_KEY to a key you already have.
Config file location:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.jsonAlready have a key? Add it to the env block as "PREREASON_API_KEY": "pr_live_..." and the bridge never asks.
Clients that hold their own config can call the endpoint directly, with the key as a header:
# Claude Code
claude mcp add --transport http prereason https://api.prereason.com/api/mcp --header "Authorization: Bearer YOUR_API_KEY"
{
"mcpServers": { "prereason": { "type": "http", "url": "https://api.prereason.com/api/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }
Windsurf uses serverUrl instead of url; Gemini CLI uses httpUrl; Codex uses url plus bearer_token_env_var in config.toml. No key yet? Point the client at the endpoint without a header to browse the catalogue, then create a key on the website (below) and add the header.
Claude's Free plan allows one custom connector at a time. On a Claude Team or Enterprise plan, an owner adds connectors for the organization, then each person clicks Connect.
Three ways. The hosted server never hands out a key inside a session and never asks for one.
Through this bridge. Run it with no key set: when you ask your assistant to connect PreReason, or an answer needs a key, it asks PreReason for access on your behalf and shows one approve_url, in its log and in the answer. Open it, sign in or create your account, click Approve, and the bridge saves the key, attached to your account and named Agent: .
From code, for an agent with no browser. POST https://api.prereason.com/api/agent/claims (no auth), show the human the approve_url, then poll GET https://api.prereason.com/api/agent/claims/{claim_code} with Authorization: Bearer until status is approved. Docs: prereason.com/docs#agent-access.
On the website. Sign up at prereason.com/signup, then Dashboard > Settings > API Keys. Keys start with pr_live_.
| Tool | Auth | Description |
|---|---|---|
list_briefings | Open | List all pre-reasoned market briefings with tier requirements; with search, only those that match a question, and the covered companies it names, each with the entity to pass |
list_metrics | Open | List every available metric across the bitcoin, macro, calculated and eth categories |
get_health | Open | API health check, version, account tier |
get_context | Required | Fetch a pre-reasoned market briefing (markdown or JSON); for a company briefing, entity names the company and block reads one of its parts (see Company Briefings) |
get_metric | Required | Fetch a single metric with trend/signal/percentile |
get_changes | Required (Basic and above) | What changed since your last call: change events after a cursor, no values |
get_news | Required | Dated records of what companies filed and what federal agencies and the Federal Reserve published, newest first, each with its source, its date or time and a link; it states records, not reasons |
The npm bridge and the Claude Desktop extension add one tool of their own, connect_account, which the bridge answers itself and the remote server does not offer: with no key yet it returns the one link to approve, and once approved it says the account is connected and on which plan. It never shows a key and never asks for one.
| Briefing | Description |
|---|---|
macro.snapshot | Fed balance, M2, treasury yields, dollar strength, net liquidity |
macro.liquidity | Liquidity indicators with momentum analysis |
macro.auctions | Treasury auction demand: who bought at the latest auction of each note and bond maturity, against that maturity's own prior 12 auctions, with the auctions announced and scheduled next |
macro.calendar | The scheduled dates ahead of the main US releases, the FOMC and ECB decisions, the FOMC minutes and the Treasury coupon auctions ahead (the week's, or the next one), each from its publisher's own calendar, with the latest US jobs report, CPI and weekly jobless claims as published and what each release revised |
macro.rates | Treasury par yield curve at every maturity, 1M to 30Y, breakeven inflation, 5y5y forward, Germany 10Y |
bonds.context | Who holds US Treasuries, in short: foreign investors' net purchases (Treasury's TIC), primary dealers' 13 week change in positions (the New York Fed) and speculators' 10 year note futures position (the CFTC), each against its own history, with the 10 year yield and three bond funds |
| bonds.full | Who holds US Treasuries: foreign investors, primary dealers and speculators, each against its own history, with the Fed's own Treasury holdings, debt held by the public, the largest foreign holders, what would change each reading and the next reports
只显示了开头部分;其余内容请在仓库中阅读