MCP.Market

PSX MCP server

by revolutionarybukhari·io.github.revolutionarybukhari/psx-mcp·v0.1.1·4 stars

Pakistan Stock Exchange in plain English — quotes, dividends, announcements, and indices.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
Growing

4 stars16 downloads/wk

Reviews

Write one

Nobody has reviewed PSX MCP yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

PSX MCP tools (9, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • get_announcements

    Get recent corporate announcements from PSX.

  • get_buy_deadlinewrite action

    For a symbol with an upcoming dividend, return the last day you can buy and still be entitled to the dividend (T+2 settlement applied).

  • get_dividend_history

    Get historical dividend payouts for a symbol.

  • get_indices

    Get current values for major PSX indices: KSE100, KSE30, ALLSHR, KMI30, KMIALLSHR, PSXDIV20, BKTI, OGTI, MII30.

  • get_market_status

    Is PSX open right now? Returns OPEN / PRE_OPEN / CLOSED_TODAY / WEEKEND plus the next market open in PKT.

  • get_quote

    Get the current price quote for a PSX-listed symbol.

  • get_upcoming_dividends

    List upcoming dividend payouts on PSX.

  • screen_dividend_stocks

    Screen the upcoming-payouts table by payout size.

  • search_symbols

    Fuzzy search PSX symbols and company names.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan8 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 147 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How PSX MCP compares

Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 73% of 1,761 Finance servers
Tools
9
the typical Finance server has 8
Tools that change things
11%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
4
more than 85% of 946 Finance servers
Downloads a week
16
more than 3% of 421 Finance servers with a package

What its tools let an agent do: 8 read · 1 change

Install PSX MCP in Claude Code, Cursor or VS Code

claude mcp add psx-mcp -- uvx psx-mcp
Add to Cursor

What the publisher says

From the PSX MCP repository's README, as published. We do not edit it. Read it on GitHub

psx-mcp

<!-- mcp-name: io.github.revolutionarybukhari/psx-mcp --> mcp-name: io.github.revolutionarybukhari/psx-mcp

Talk to the Pakistan Stock Exchange in plain English.

psx-mcp is a Model Context Protocol server that exposes PSX market data — quotes, dividends, announcements, indices — as tools any MCP-compatible AI client can call. Connect it to Claude Desktop, Cursor, ChatGPT, or your own agent, and ask questions like:

"What are the upcoming dividends on PSX with payouts above 100%?"

"Should I buy MEBL today to collect the dividend?"

"Pull recent announcements for OGDC and summarize anything material."

"How has FFC's dividend history looked over the past 5 years?"

The LLM picks the right tools automatically and answers in your language.

Why MCP?

Existing PSX tools are libraries — you import them, write code, get data. MCP servers are tools an LLM calls for you. You ask in English, the model invokes getquote, getupcomingdividends, getdividend_history, and synthesizes an answer. No Python required for the end user.

This is also the first PSX MCP server published. If you're building agents, financial copilots, or AI-augmented research workflows for Pakistani markets, this gives them eyes.

What's exposed

Tools (LLM-callable)

Resources (read-only context)

  • psx://market-status
  • psx://indices
  • psx://upcoming-dividends

Prompts (templated workflows)

  • analyzedividendplay(symbol) — full dividend-trade analysis
  • portfolio_review(symbols) — review a holdings list
  • finddividendopportunities(minpayoutpct) — screener + per-name analysis

Install

Requires Python 3.10+.

# From PyPI (once published)
pip install psx-mcp

# Or with uv (recommended)
uv tool install psx-mcp

# From source
git clone https://github.com/revolutionarybukhari/psx-mcp
cd psx-mcp
pip install -e .

Connect to Claude Desktop

Edit your Claude Desktop config:

  • macOS: ~/Library/Application Support/Claude/claudedesktopconfig.json
  • Windows: %APPDATA%\Claude\claudedesktopconfig.json
{
  "mcpServers": {
    "psx": {
      "command": "uvx",
      "args": ["psx-mcp"]
    }
  }
}

Restart Claude Desktop. You should see the PSX tools listed in the connection icon. Try:

"What dividends are coming up this week on PSX?"

Connect to Cursor

Settings → MCP → add server:

{
  "mcpServers": {
    "psx": {
      "command": "psx-mcp",
      "args": []
    }
  }
}

Run as remote HTTP server

For shared/team use or hosted agents:

psx-mcp --transport http --host 0.0.0.0 --port 8000

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

PSX MCP: common questions

Is PSX MCP server safe?
Mostly: it is graded B (82/100). Read the PSX MCP safety report
How do I install PSX MCP?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does PSX MCP need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is PSX MCP maintained?
The last commit was 185 days ago (2026-05-03). The latest release is v0.1.1.
What can I use instead of PSX MCP?
Servers from other publishers that do the same job: TickDB Market Data MCP server, Tapetide - Indian Stock Market MCP server and HKEx Filings MCP server.
How does PSX MCP compare with other Finance MCP servers?
safety score 82/100 (higher than 73% of 1,761 Finance servers); tools 9 (the typical Finance server has 8); tools that change things 11% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to PSX MCP

Same job from other publishers: the closest match first, then the best rated.

  • TickDB Market Data
    Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes
    B
  • Tapetide - Indian Stock Market MCP
    48 tools for ~8,000 NSE & BSE stocks: quotes, screener, financials, filings, FII/DII, options
    A
  • HKEx Filings
    Live HKEx (Hong Kong Stock Exchange) regulatory filings for AI agents.
    A
  • Hood
    Robinhood Chain data + guarded trading for AI agents: Stock Token quotes, portfolios, launches
    B
  • Yahoo Finance
    Access Yahoo Finance stock data, news, screeners, options, financials, and charts through MCP.
    A