PSX MCP Gateway
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
PSX MCP Gateway
Remote MCP gateway for Pakistan Stock Exchange data, designed for Vercel/Next.js and ChatGPT-compatible MCP hosts.
Tools
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
Deploy
Push to GitHub.
Import into Vercel.
Set Node.js 20+.
Add
MCP_SECRETas a long random secret.Deploy.
Health:
https://YOUR-DOMAIN.vercel.app/api/healthMCP endpoint:
https://YOUR-DOMAIN.vercel.app/api/mcp
The current code expects the secret in Authorization: Bearer <MCP_SECRET> or x-api-key. If the ChatGPT app UI available to your account cannot supply a static API key, add an OAuth layer before exposing it.
Local
npm install
cp .env.example .env.local
npm run dev
Data
Uses public PSX Data Portal endpoints: /market-watch, /symbols, /timeseries/eod/{SYMBOL}, /timeseries/int/{SYMBOL}, /announcements, /payouts.
This is unofficial research infrastructure. Data can be delayed/inaccurate and is not investment advice. No broker or order execution is included.
Related MCP Connectors
33 pay-per-call market and news data tools over MCP with free discovery and x402 payments.
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 MT4 and MT5: read accounts, prices and candles, and place or close orders.
Related MCP Servers
- AlicenseAqualityCmaintenanceMCP server that exposes Pakistan Stock Exchange data (quotes, dividends, announcements, indices) as LLM-callable tools, enabling conversational market queries in plain English.495MIT
- 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.101MIT
- FlicenseNot gradedqualityDmaintenanceProvides live US stock quotes and historical price data via MCP tools.-