PSX MCP Gateway
PSX MCP Gateway
面向 Pakistan Stock Exchange 数据的远程 MCP 网关,专为 Vercel/Next.js 和兼容 ChatGPT 的 MCP 主机而设计。
工具
get_quote
get_market_snapshot
get_market_watch
get_symbols
get_eod_history
get_intraday
get_announcements
get_payouts
Related MCP server: PSX MCP Server
部署
推送到 GitHub。
导入到 Vercel。
设置 Node.js 20+。
添加
MCP_SECRET作为一长串随机密钥。部署。
健康检查:
https://YOUR-DOMAIN.vercel.app/api/healthMCP 端点:
https://YOUR-DOMAIN.vercel.app/api/mcp
当前代码期望在 Authorization: Bearer <MCP_SECRET> 或 x-api-key 中携带密钥。如果您的账户可用的 ChatGPT 应用 UI 无法提供静态 API 密钥,请在公开暴露之前添加 OAuth 层。
本地
npm install
cp .env.example .env.local
npm run dev
数据
使用公共 PSX Data Portal 端点:/market-watch、/symbols、/timeseries/eod/{SYMBOL}、/timeseries/int/{SYMBOL}、/announcements、/payouts。
这是非官方的研究基础设施。数据可能延迟或不准确,且不构成投资建议。不包含任何经纪商或订单执行。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
33 pay-per-call market and news data tools over MCP with free discovery and x402 payments.
Unofficial Market Data App MCP — wraps the Market Data App API (marketdata.app)
Real-time crypto market data: candles, tickers, orderbooks across 13+ exchanges via MCP.
Hosted MCP server for Indian market quotes, option-chain Greeks and multi-broker telemetry.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server that exposes Pakistan Stock Exchange data (quotes, dividends, announcements, indices) as LLM-callable tools, enabling conversational market queries in plain English.922 PyPI5MIT
- AlicenseNot gradedqualityDmaintenanceProvides 12 tools to scrape and access Pakistan Stock Exchange market data, including current prices, historical data, intraday, sector search, and volume analysis.6MIT
- AlicenseAqualityDmaintenanceProvides live Pakistan Stock Exchange data including quotes, intraday and end-of-day history, indices, company fundamentals, dividends, and announcements via the Model Context Protocol, with no API key required.102MIT
- FlicenseNot gradedqualityDmaintenanceProvides live US stock quotes and historical price data via MCP tools.-