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.
This server cannot be deployed
Maintenance
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…
A Model Context Protocol server exposing real-time and historical Colombo Stock Exchange (CSE) data to AI agents and LLM applications. Provides quotes and OHLCV price history, full financial statements (income, balance sheet, cash flow), pre-computed technicals (moving averages, RS ratings, volume signals), macroeconomic indicators, corporate actions, and rule-based screening across CSE stocks and sector indices, everything needed to build CSE-aware trading assistants, research tools, and market-analysis agents. This is the official MCP server of www.ceyloncharts.com
Related MCP Servers
- 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
- FlicenseCqualityDmaintenanceEnables AI assistants to access National Stock Exchange of India (NSE) data, including live quotes, market status, indices, option chains, corporate actions, and historical data, through natural language.241-
- AlicenseAqualityCmaintenanceEnables AI assistants to retrieve live Dhaka Stock Exchange data, including prices for all listed shares, top gainers/losers, and market summary, through natural language queries.41MIT