Skip to main content
Glama

Agent Toolbelt

面向 AI 智能体的股票研究工具。 提供实时金融数据 + Claude 合成的分析,以 7 种专注工具的形式呈现,而非原始的 OHLCV 数据。此外还有 20 种用于智能体日常工作的实用工具。

生产环境 API: https://agent-toolbelt-production.up.railway.app


快速入门

# Get a free API key (1,000 calls/month, no credit card)
curl -X POST 'https://agent-toolbelt-production.up.railway.app/api/clients/register' \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}'

# Generate a Motley Fool-style investment thesis for any ticker
curl -X POST https://agent-toolbelt-production.up.railway.app/api/tools/stock-thesis \
  -H "Authorization: Bearer atb_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ticker": "NVDA", "timeHorizon": "3-5 years"}'

返回:看涨/中性/看跌结论、论点段落、主要优势、主要风险、估值解读、内部人士解读、分析师共识解读,以及下一份财报中需要关注的内容。


Related MCP server: agent-utils-mcp

股票研究工具 (7)

基于来自 Polygon.io、Finnhub 和 Financial Modeling Prep 的实时金融数据,由 LLM 合成分析。

工具

功能

价格

stock-thesis

完整的 Motley Fool 风格投资论点:结论 + 论点段落 + 优势 + 风险 + 估值解读

$0.05/次

earnings-analysis

每股收益 (EPS) 超出/未达预期历史、营收趋势、长期盈利一致性解读、即将到来的财报日期

$0.05/次

insider-signal

Form 4 解读 — 区分有意义的公开市场购买与常规销售/奖励。信号强度 + 置信度

$0.05/次

valuation-snapshot

市盈率 (P/E)、市销率 (P/S)、企业价值倍数 (EV/EBITDA)、自由现金流收益率 (FCF yield)、净资产收益率 (ROE)、利润率 → 便宜/合理/昂贵结论 + 具体买入区间

$0.05/次

bear-vs-bull

经过严密论证的 3 个看涨/3 个看跌案例,包含具体数据、净结论、关键辩论问题

$0.05/次

compare-stocks

2-3 个股票代码的直接对比。胜出者 + 各股票的优势/担忧 + ifYouValue 映射(成长/价值/质量)

$0.05/次

moat-analysis

巴菲特风格的竞争护城河评估(品牌/转换成本/网络/规模/知识产权/成本)。宽/窄/无 + 持久性

$0.05/次

每个股票工具都会返回一个 dataSources 块,包含 fetchedAt 和各数据源的成功标志,以便您确切了解支持该分析的数据来源。


实用工具 (20)

通用的智能体基础设施。基于规则的工具收费为 $0.0001–$0.001/次;基于 LLM 的工具收费为 $0.005–$0.10/次。

工具

功能

价格

text-extractor

从文本中提取电子邮件、URL、电话、日期、货币、地址、姓名

$0.0005/次

token-counter

统计 15 种 LLM 模型的 Token 数量并估算成本

$0.0001/次

schema-generator

从纯英文生成 JSON Schema / TypeScript / Zod 验证器

$0.001/次

csv-to-json

将 CSV 转换为带类型的 JSON,支持自动分隔符识别和类型转换

$0.0005/次

markdown-converter

HTML ↔ Markdown 转换

$0.0005/次

url-metadata

从任何 URL 获取标题、OG 标签、favicon、作者

$0.001/次

web-summarizer

获取并总结 URL 的关键点

$0.02/次

regex-builder

自然语言 → 正则表达式,提供 JS/Python/TS 代码片段

$0.0005/次

cron-builder

调度描述 → Cron 表达式,并预览下一次运行时间

$0.0005/次

address-normalizer

美国地址 → USPS 格式,包含组件解析

$0.0005/次

color-palette

带有 WCAG 评分和 CSS 变量的配色方案

$0.0005/次

brand-kit

完整的品牌工具包 — 颜色、排版、CSS/Tailwind Token

$0.001/次

image-metadata-stripper

为隐私保护去除 EXIF/GPS/IPTC/XMP 元数据

$0.001/次

meeting-action-items

从会议记录中提取行动项、决策和摘要

$0.05/次

prompt-optimizer

评分并重写 LLM 提示词

$0.05/次

document-comparator

两个文档版本之间的语义差异对比

$0.05/次

contract-clause-extractor

从合同中提取关键条款 + 风险标记

$0.10/次

api-response-mocker

根据 JSON Schema 生成真实的模拟数据

$0.0005/次

dependency-auditor

通过 OSV 数据库对 npm/PyPI 包进行 CVE 扫描

$0.005/次

context-window-packer

将内容打包到 Token 预算内以适应 LLM 上下文

$0.001/次


npm SDK + LangChain

npm install agent-toolbelt

类型化客户端

import { AgentToolbelt } from "agent-toolbelt";

const client = new AgentToolbelt({ apiKey: process.env.AGENT_TOOLBELT_KEY! });

// Stock research
const thesis = await client.stockThesis({ ticker: "NVDA", timeHorizon: "3-5 years" });
const moat = await client.moatAnalysis({ ticker: "AAPL" });
const compare = await client.compareStocks({ tickers: ["NVDA", "AMD"] });

// Utility
const tokens = await client.tokenCounter({ text: myDocument });
const contacts = await client.textExtractor({
  text: emailBody,
  extractors: ["emails", "phone_numbers", "addresses"],
});

LangChain 集成

import { AgentToolbelt } from "agent-toolbelt";
import { createLangChainTools } from "agent-toolbelt/langchain";
import { createReactAgent } from "@langchain/langgraph/prebuilt";
import { ChatOpenAI } from "@langchain/openai";

const client = new AgentToolbelt({ apiKey: process.env.AGENT_TOOLBELT_KEY! });
const tools = createLangChainTools(client); // 27 ready-to-use DynamicStructuredTools

const agent = createReactAgent({
  llm: new ChatOpenAI({ model: "gpt-4o" }),
  tools,
});

Claude MCP

通过 agent-toolbelt-mcp 包,直接在 Claude Desktop 或 Claude Code 中使用股票研究工具(以及工具带中的其他工具)。

Claude Desktop — 添加到 claude_desktop_config.json:

{
  "mcpServers": {
    "agent-toolbelt": {
      "command": "npx",
      "args": ["-y", "agent-toolbelt-mcp"],
      "env": {
        "AGENT_TOOLBELT_KEY": "atb_your_key_here"
      }
    }
  }
}

Claude Code — 一条命令:

claude mcp add agent-toolbelt -e AGENT_TOOLBELT_KEY=atb_your_key_here -- npx -y agent-toolbelt-mcp

安装完成后,您可以向 Claude 询问诸如 “给我一份 NVDA 的全面分析——包括论点、盈利质量、内部人士活动,以及它现在是否便宜” 之类的问题,它将并行调用这些工具。


以编程方式发现工具

智能体可以在运行时自动发现所有 27 种工具:

curl https://agent-toolbelt-production.up.railway.app/api/tools/catalog

定价

层级

价格

每月调用次数

速率限制

免费版

$0/月

1,000

10/分钟

按量付费

预付额度

无限制

60/分钟

入门版

$29/月

50,000

60/分钟

专业版

$99/月

500,000

300/分钟

企业版

定制

5,000,000

1,000/分钟


集成

  • npm SDK — npm install agent-toolbelt — 类型化客户端 + LangChain 工具

  • MCP — npx -y agent-toolbelt-mcp — 适用于 Claude Desktop 和 Claude Code

  • OpenAI GPT Actions — OpenAPI 规范位于 /openapi/openapi-gpt-actions.json

  • RapidAPI — 已在 RapidAPI 市场列出

  • Smithery, Glama, PulseMCP, MCP registry — 可在 MCP 目录中发现


许可证

MIT

Available Tools

25 tools
audit_dependenciesDependency AuditorA

Audit npm and PyPI packages for known CVEs using the OSV database (GitHub Dependabot's source). Pass packages directly or paste package.json / requirements.txt content.

Inputs: packages, manifest, manifestType, includeDevDependencies, +1 more.

bear_vs_bullBear vs BullA

Generate a structured bull vs. bear case for any stock. Steelmans both sides with specific data, then delivers a net verdict and the key question investors need to answer before buying.

Inputs: ticker (required).

build_cronCron Expression BuilderA

Convert natural language schedule descriptions into cron expressions. Examples: 'every weekday at 9am', 'first Monday of each month at noon', 'every 5 minutes'. Returns the expression, human-readable confirmation, and next 5 run times.

Inputs: description (required), timezone.

build_regexRegex Builder & TesterA

Build and test regular expressions from natural language descriptions. Supports emails, URLs, phones, dates, IPs, colors, UUIDs, and 15+ more patterns. Returns the pattern, code snippets in JS/Python/TS, and optional test results.

Inputs: description (required), testStrings, flags.

compare_documentsDocument ComparatorA

Compare two versions of a document and produce a semantic diff with additions, deletions, and modifications. Works with contracts, READMEs, policies, essays, or any text. Powered by Claude.

Inputs: original (required), revised (required), mode, context.

convert_markdownMarkdown ConverterA

Convert HTML to clean Markdown, or Markdown to HTML. Use HTML→Markdown when you've fetched a web page and need readable text for an LLM — strips tags, preserves headings, lists, code blocks, links, and tables. Use Markdown→HTML when rendering content in a web context.

Inputs: content (required), from (required), to (required).

count_tokensToken CounterA

Count tokens for any text across multiple LLM models and get per-model cost estimates. Use before sending text to an LLM to check context window usage or compare costs across models. Supports GPT-4o, GPT-4, GPT-3.5-turbo, Claude 3.5 Sonnet, Claude 3 Opus, and 10+ more.

Inputs: text (required), models.

csv_to_jsonCSV to JSONA

Convert CSV data to typed JSON. Auto-detects delimiters, uses the first row as headers, and casts values to proper types (numbers, booleans, nulls). Use when processing spreadsheet exports or any CSV-formatted data.

Inputs: csv (required), delimiter, hasHeader, typeCast, +1 more.

earnings_analysisEarnings AnalysisB

Analyze a stock's earnings track record — EPS beat/miss history, revenue trend, and what it means for long-term investors. Returns verdict, beat rate, revenue trajectory, last quarter summary, and what to watch next.

Inputs: ticker (required).

extract_contract_clausesContract Clause ExtractorB

Extract key clauses from a contract — parties, payment terms, termination, liability, IP ownership, confidentiality, and more. Optionally flags risky or one-sided clauses with severity ratings. Powered by Claude.

Inputs: contract (required), clauses, flagRisks.

extract_from_textText ExtractorA

Extract structured data from raw text: emails, URLs, phone numbers, dates, currencies, addresses, names, or JSON blocks. Useful for parsing documents, emails, web content, or any unstructured text into clean structured data.

Inputs: text (required), extractors (required), deduplicate.

extract_meeting_action_itemsMeeting Action ItemsA

Extract structured action items, decisions, and a summary from meeting notes or transcripts. Identifies task owners, deadlines, and priorities. Powered by Claude.

Inputs: notes (required), format, participants.

fetch_url_metadataURL MetadataA

Fetch a URL and extract its metadata: title, description, Open Graph tags (og:image, og:type), Twitter card tags, favicon, canonical URL, author, and publish date. Use to enrich links with context or understand what a page is about without reading the full content.

Inputs: url (required), timeout.

generate_brand_kitBrand Kit GeneratorA

Generate a complete brand kit from a company name, industry, and aesthetic keywords. Returns a color palette with WCAG accessibility scores, curated typography pairings, and design tokens in JSON, CSS, or Tailwind format.

Inputs: name (required), industry, vibe, format.

generate_color_paletteColor Palette GeneratorA

Generate a color palette from a description, mood, industry, or hex seed color. Accepts moods (calm, energetic, luxurious), industries (fintech, healthcare, fashion), nature themes (sunset, ocean, forest), or a specific hex color. Returns hex/RGB/HSL values, WCAG accessibility scores, and CSS custom properties.

Inputs: description (required), count, format, includeShades.

generate_schemaSchema GeneratorA

Generate a JSON Schema, TypeScript interface, or Zod validation schema from a natural language description of a data structure. Examples: 'a user profile with name, email, and signup date', 'a product listing with title, price, and inventory count'.

Inputs: description (required), format, strict.

insider_signalInsider SignalA

Interpret insider trading activity for any stock. Classifies open-market purchases vs. routine sales/awards, identifies cluster buying, and explains whether the activity is a meaningful signal. Returns signal strength (strong_buy → strong_sell) and a plain-English verdict.

Inputs: ticker (required).

list_toolsList Available ToolsA

List all tools available in the Agent Toolbelt API catalog, including descriptions and pricing.

Inputs: no named parameters.

mock_api_responseAPI Response MockerA

Generate realistic mock API responses from a JSON Schema. Supports nested objects, arrays, string formats (email, uuid, date-time, url), field-name heuristics, enums, and min/max constraints. Set seed for reproducible output. Returns 1–100 records.

Inputs: schema (required), count, seed.

normalize_addressAddress NormalizerA

Normalize a US mailing address to USPS standard format. Expands abbreviations (st→ST, ave→AVE), standardizes directionals, converts state names to codes. Returns parsed components and a confidence score (high/medium/low).

Inputs: address (required), includeComponents.

optimize_promptPrompt OptimizerA

Analyze and improve an LLM prompt. Scores clarity, specificity, structure, and completeness. Returns an optimized rewrite with a summary of what changed and why. Powered by Claude.

Inputs: prompt (required), model, task, mode.

pack_context_windowContext Window PackerA

Pack content chunks into a token budget for an LLM context window. Selects the best subset of chunks that fits within the token limit using priority, greedy, or balanced strategies. Use when you have more content than fits in the context window.

Inputs: chunks (required), tokenBudget (required), model, strategy, +3 more.

stock_thesisStock Investment ThesisA

Generate a long-term investment thesis for any stock. Pulls live financials, valuation metrics, insider trades, and analyst ratings, then synthesizes them into a Motley Fool-style research note. Returns a bullish/neutral/bearish verdict, thesis paragraphs, key strengths, risks, and valuation read. Use when you want fundamental analysis of a stock for long-term investing.

Inputs: ticker (required), timeHorizon.

strip_image_metadataImage Metadata StripperA

Strip EXIF, GPS, IPTC, XMP, and ICC metadata from an image for privacy. Use before uploading or sharing images to remove sensitive embedded data like GPS coordinates, camera model, timestamps, and editing history. Accepts base64-encoded JPEG, PNG, WebP, or TIFF. Returns cleaned base64 image with a removal report.

Inputs: image (required), format, quality.

valuation_snapshotValuation SnapshotA

Assess whether a stock is cheap, fair, or expensive. Pulls P/E, P/S, EV/EBITDA, FCF yield, ROE, and margins, then synthesizes them into a verdict with a specific buy zone price level.

Inputs: ticker (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 25 tools

    Disambiguation4/5

    Tools are mostly distinct despite the large set. The five financial analysis tools (bear_vs_bull, earnings_analysis, insider_signal, stock_thesis, valuation_snapshot) target different aspects of stock research, though an agent might briefly confuse stock_thesis with bear_vs_bull. Text extraction tools are well-differentiated by scope (general entities vs. contracts vs. meetings).

    Naming Consistency3/5

    Approximately 80% of tools follow a consistent verb_noun pattern (e.g., extract_contract_clauses, generate_schema, normalize_address). However, the financial analysis cluster breaks convention with noun_noun naming (earnings_analysis, insider_signal, stock_thesis, valuation_snapshot) or noun_vs_noun (bear_vs_bull), creating a mixed convention that reduces predictability.

    Tool Count3/5

    With 25 tools, this sits at the upper bound of 'borderline heavy' per the rubric. While each tool serves a distinct utility purpose (text extraction, stock analysis, data conversion), the breadth covers many unrelated domains (finance, cron syntax, image metadata, address normalization), making it a 'kitchen sink' collection that risks selection paralysis without being completely unmanageable.

    Completeness4/5

    For a general agent utility belt, the surface covers the targeted domains reasonably well. The financial cluster provides fundamental analysis capabilities (thesis, valuation, earnings, insider activity, bull/bear cases). Text extraction covers general entities, contracts, and meetings. Missing minor operations like json_to_csv or additional image processing don't create critical dead ends given the toolset's utility-focused nature.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    • Pay-per-use agent tools: screenshots, web to Markdown, PDF tables, OCR, UK company checks

    • 214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.

      https://aicharged.io/api/v1/mcp
    • AgentReady Tools is a searchable catalog of more than 250 APIs, MCP servers and developer tools that AI agents can use, each with agent-readiness checks (docs, auth, OpenAPI, MCP support). Search by task, get tool details and related tools, and read or share field notes from other agents in the Agent Community. Remote MCP endpoint: https://agentready-tools.com/mcp

      https://agentready-tools.com/mcp
    • 111 tools for AI assistants, so an answer comes from a rule instead of a guess. 84 deterministic utilities. IBAN and VAT validation, cron parsing, regex testing, hashing, JWT decoding, conversion between JSON, CSV, XML and YAML, units, number bases, timezones and date arithmetic. Eleven of them encode Dutch rules that a model tends to get wrong: AOW pension age, inheritance and gift tax, unemployment benefit duration, notice period, severance, the 30 percent ruling, holiday allowance, mileage allowance, and public and school holidays. Five more generate test data that is structurally valid and belongs to nobody: BSN, IBAN, BRP person records, UPA pension files and document numbers. 14 render tools that return a hosted file. HTML or a live URL to PDF, full page screenshots, QR codes, PDF merge and split, images to PDF, image resize, convert and compress, metadata stripping, PDF to DOCX and back. Plus read_page, which returns the readable content of a JavaScript rendered page as Markdown. 4 memory tools give an agent key-value state that survives between sessions, scoped to its own API key. 3 workflow tools list and run saved multi-step workflows on the caller's account. 6 AI tools for the jobs where a model is the right instrument rather than the wrong one: check a message for scam patterns, write a spreadsheet formula, turn a question into SQL, translate code between languages, improve a prompt, draft an email. Utilities and memory are free. Renders and AI tools have a free tier and credit packs. Workflows need an API key, because a workflow belongs to an account rather than to a key. Streamable HTTP at https://toolforte.com/api/mcp

      https://toolforte.com/api/mcp

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Swiss-army-knife utility MCP server for AI agents. 18 tools for JSON validation/formatting, base64 encode/decode, hash generation, UUID generation, URL parsing, regex testing, markdown↔HTML conversion, text stats, slug generation, datetime conversion, cron parsing, text diffing, CSV↔JSON conversion, and JWT decoding. Zero API Key required
      18
      5
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Multi-tool MCP server for AI agents with 29 tools across web scraping, SEO analysis, screenshot and PDF generation, domain intelligence, content extraction, multi-chain EVM blockchain queries, and security toolkit. Free tier available with no auth required.
      39 npm
      1
      MIT