Skip to main content
Glama
ynasir86-crypto

PSX MCP Gateway

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

  1. Push to GitHub.

  2. Import into Vercel.

  3. Set Node.js 20+.

  4. Add MCP_SECRET as a long random secret.

  5. Deploy.

  6. Health: https://YOUR-DOMAIN.vercel.app/api/health

  7. MCP 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.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    MCP server that exposes Pakistan Stock Exchange data (quotes, dividends, announcements, indices) as LLM-callable tools, enabling conversational market queries in plain English.
    4
    9
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides 12 tools to scrape and access Pakistan Stock Exchange market data, including current prices, historical data, intraday, sector search, and volume analysis.
    5
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Provides 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.
    1
    MIT

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/ynasir86-crypto/psx-mcp-gateway'

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