Ryufin
Five plain answers on ~2,400 US stocks from SEC filings: quality, safety, valuation, growth, market.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"stocks": {
"url": "https://ryufin.com/mcp"
}
}
}远程端点
https://ryufin.com/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢search_stocks(query, limit)
Find US-listed companies Ryufin covers by ticker or company name. Returns ticker, name, sector, market value and the Ryufin page.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Ticker or part of the company name",
"minLength": 1
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 20,
"default": 8
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢get_stock_answers(ticker)
Ryufin's five answers for one stock: is the business good, is it safe, is the price fair, is it growing, what is the market doing with it. Each answer has a one-word verdict, a plain sentence, the checks it was read from (with values and dates) and, when it moved recently, what it was before.
输入模式
{
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "US ticker symbol, e.g. NVDA or BRK-B",
"pattern": "^[A-Za-z0-9.-]{1,10}$"
}
},
"required": [
"ticker"
],
"additionalProperties": false
}🟢get_stock_overview(ticker)
Price, market value, P/E, returns, sector, RyuScore (1 to 10 against sector peers) and what the company says it does, verbatim from its latest annual report.
输入模式
{
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "US ticker symbol, e.g. NVDA or BRK-B",
"pattern": "^[A-Za-z0-9.-]{1,10}$"
}
},
"required": [
"ticker"
],
"additionalProperties": false
}🟢get_financial_history(ticker, metric, view, periods)
A reported financial series for one stock from its SEC filings, trailing twelve months or single quarters, newest last. Metrics: pe, revenue, net_income, eps, gross_margin, op_margin, net_margin, roe, roa, roic, fcf.
输入模式
{
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "US ticker symbol, e.g. NVDA or BRK-B",
"pattern": "^[A-Za-z0-9.-]{1,10}$"
},
"metric": {
"type": "string",
"enum": [
"pe",
"revenue",
"net_income",
"eps",
"gross_margin",
"op_margin",
"net_margin",
"roe",
"roa",
"roic",
"fcf"
]
},
"view": {
"type": "string",
"enum": [
"ttm",
"quarterly"
],
"default": "ttm"
},
"periods": {
"type": "integer",
"minimum": 1,
"maximum": 40,
"default": 12
}
},
"required": [
"ticker",
"metric"
],
"additionalProperties": false
}🟢get_company_news(ticker, limit)
The company's own recent current reports (8-K), newest first: the date, what kind of event, the company's own sentence and a link to the filing on sec.gov.
输入模式
{
"type": "object",
"properties": {
"ticker": {
"type": "string",
"description": "US ticker symbol, e.g. NVDA or BRK-B",
"pattern": "^[A-Za-z0-9.-]{1,10}$"
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 12,
"default": 5
}
},
"required": [
"ticker"
],
"additionalProperties": false
}🟢get_answer_changes(limit)
Stocks whose answer to one of the five questions changed in the latest nightly run (for example Safety from Good to Watch), largest companies first.
输入模式
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 25
}
},
"additionalProperties": false
}社区
证据