Skip to main content
Glama
Br0ski777

stock-price

by Br0ski777

Stock Price API

MCP Server x402 License: MIT

实时股票行情 —— 价格、涨跌幅、成交量、市值、公司名称。覆盖美国及国际主要交易所。通过 x402 按次付费(Base L2 上的 USDC),无需 API 密钥、无需注册、无速率限制。

属于 klymax402 市场 —— 面向 AI 智能体的 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速开始 -- MCP

将以下内容添加到你的 MCP 客户端配置(如 Claude Desktop、Cursor、ElizaOS 等):

{
  "mcpServers": {
    "stock-price": {
      "url": "https://stock-price.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Stock Data MCP Server

快速开始 -- HTTP (x402)

curl -X POST "https://stock-price.api.klymax402.com/api/quote" \
  -H "Content-Type: application/json" \
  -d '{"symbol":"BTC"}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何支持 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 402 -> 签名 -> 重试的完整流程。

工具

工具

方法

路径

价格

说明

finance_get_stock_price

POST

/api/quote

$0.005

获取实时股票报价,包含价格、涨跌幅、成交量、市值

finance_get_stock_price

当你需要实时股票报价时使用。以 JSON 格式返回任意股票代码的行情数据。

参数

名称

类型

必填

说明

symbol

string

股票代码(例如 AAPL、TSLA、MSFT、GOOG)

示例响应:

{"symbol":"AAPL","companyName":"Apple Inc.","price":198.45,"change":2.30,"changePercent":1.17,"volume":54200000,"marketCap":3050000000000,"exchange":"NASDAQ","previousClose":196.15,"dayHigh":199.10,"dayLow":196.80}

适用场景: 投资组合监控、财务分析、构建股票仪表盘、价格提醒以及投资研究。

不适用于: 加密货币价格(使用 finance_get_token_price)、货币兑换(使用 finance_convert_currency)、天气数据(使用 data_get_weather)。

示例智能体提示词

  • "实时股票报价"

支付

  • 协议:x402 -- HTTP 原生的按次付费,无需注册、无需 API 密钥

  • 网络:Base L2(eip155:

  • 资产:USDC 协议

  • 支付服务方:Coinbase CDP(主要)、PayAI(备用)

  • 也可通过 ATXP 访问(OAuth 封装的 x402、RFC 9728 受保护资源元数据)

属于 klymax402

面向 AI 智能体的 100 个 x402 微支付 API —— 一个钱包,Base 上的 USDC,零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    F
    maintenance
    Provides real-time stock market data and financial analysis through Yahoo Finance integration. Enables users to get quotes, historical prices, fundamentals, dividends, analyst forecasts, and growth projections for any stock symbol.
    4
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time stock market data through Yahoo Finance without requiring an API key. Get quotes, historical data, company information, financial statements, and ticker search capabilities.
  • F
    license
    A
    quality
    F
    maintenance
    Provides real-time stock price information from Yahoo Finance API for global markets with multi-currency support, market state tracking, and no rate limits.
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time stock price data from global markets, including the US, China, India, and Europe, without requiring API keys. It enables AI systems to retrieve financial information from trusted public sources such as NASDAQ, HKEX, and Morningstar.
    8

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Br0ski777/stock-price-x402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server