PSX MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PSX MCPWhat's the current KSE-100 index value?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PSX MCP — Cloudflare Workers
Real-time Pakistan Stock Exchange data for Claude — market summaries, stock quotes, history, sector breakdowns, and more.
Quick Start (no setup needed)
A live instance is already running. Just add it to Claude Desktop:
Open Claude Desktop
Click + → Connectors → Add custom connector
Name:
PSXURL:
https://psx-mcp.moizwasti.workers.dev/mcpClick Add
Done. Now ask Claude things like:
"What's the KSE-100 at right now?"
"Give me OGDC's latest price"
"Show LUCK's last 30 days of history"
"Search for cement companies on PSX"
"How are the banking and energy sectors doing?"
Related MCP server: PSX MCP Server
Self-host (optional)
Prerequisites
Node.js 18+
A free Cloudflare account → https://dash.cloudflare.com/sign-up
Install dependencies
npm installLogin to Cloudflare
npx wrangler loginThis opens your browser — log in and authorize Wrangler.
Deploy
npm run deployWrangler will output something like:
✅ Deployed to: https://psx-mcp.YOUR-ACCOUNT.workers.devYour MCP endpoint is: https://psx-mcp.YOUR-ACCOUNT.workers.dev/mcp
Tools
Tool | What it does |
| All index values + daily change (KSE-100, KSE-30, KMI-30...) |
| Latest EOD price for any ticker |
| OHLCV history, up to 365 trading days |
| Search companies by name or ticker |
| Sector-wise performance breakdown |
Data & Disclaimer
Data from dps.psx.com.pk — PSX's own public data portal.
End-of-day only (not real-time intraday).
For personal/educational use. Not financial advice.
Related MCP Connectors
9,900+ US equities, 64 years of prices, financials, technicals, and earnings. Ask in plain English.
Fetch current stock prices and key data for symbols across global markets. Look up companies like…
Look up the latest stock prices by ticker symbol across global markets. Get current price and esse…
Provide access to Chinese stock market data including historical prices, real-time data, news, and…
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.494MIT
- 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
- FlicenseAqualityCmaintenanceEnables real-time and historical Indian stock market data retrieval, including prices, news, recommendations, and top gainers/losers.11-
- AlicenseAqualityBmaintenanceProvides 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