Philippine Stock Exchange data via PSE Edge: EOD quotes, price history, disclosures, financials.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server exposing Philippine Stock Exchange data from the PSE Edge portal β quotes, price history, disclosures, financial reports, and market data β to Claude and any other MCP client.
Unofficial. PSE Edge has no public API; this project speaks to the same endpoints the portal's own pages use. It is not affiliated with or endorsed by the PSE. Data is provided as-is for personal/research use, with no warranty.
client_credentials for headless agents β both opt-in; stdio needs nothing.DATABASE_URL is set.Claude Desktop / Claude Code (stdio):
A hosted deployment (auth on) is a normal OAuth 2.1 protected resource β modern clients need only the URL and drive the whole flow themselves (details below):
Docker (HTTP + Postgres):
Four layers, one direction of dependency. Every read goes through FreezeService.get() with an explicit per-domain policy β no tool ever touches the HTTP client directly. β
marks the invariant the whole design exists to protect, and it guards prices only.
β
Market-boundary freeze β prices only. A cached stock price is never refetched while the market is open (09:30β15:00 Asia/Manila, trading days) β the last close answers, flagged stale. A price nobody has ever asked for is the one exception: fetched once mid-session and served as identity + previous_close only (every session-moving field withheld), with stale: true plus a meta.note saying it is not a realtime value; the settled figures replace it after the close.
| Policy | Applies to | Behaviour |
|---|---|---|
EOD-frozen β
| get_stock_quote, get_price_history | A cached price is never refetched during a session; a never-cached key is fetched once and surfaces only previous_close, labelled not-realtime for the whole session. Also the default policy, so an unlabelled read can only over-protect PSE Edge. |
daily-refresh | Companies, disclosures, profiles, financials, dividends, indices, summary | First ask fetches at any hour β once, deduplicated across concurrent callers; every repeat of the same query answers from storage until the next 15:00 close. |
immutable | Disclosure detail by edge_no, attachment bytes | The object never changes upstream. Fetched once ever; valid_until: null. |
If PSE Edge is unreachable and an expired entry exists, tools serve it flagged meta.stale: true rather than discarding real data for an error. EDGE_UNAVAILABLE means unreachable and nothing cached.
Every data tool returns the same envelope β meta is the freshness contract:
| Tool | Description |
|---|---|
search_companies(query) | Find PSE-listed companies by name or ticker |
validate_symbol(symbol) | Cheap yes/no check that a ticker exists, with its company name and id |
get_stock_quote(symbol) | Latest EOD quote: price, change, 52-wk range, market cap, full field set |
get_price_history(symbol, start_date?, end_date?) | Daily OHLC series from Edge's chart endpoint |
search_disclosures(symbol?, start_date?, end_date?, template?, page?) | Disclosure metadata, market-wide or per company; 50/page with exact totals |
search_disclosure_fulltext(keyword, ...) | Search the text inside disclosure attachments, with snippets |
get_disclosure(edge_no, max_files?) | One disclosure's details plus attachment and body-HTML links; attachments capped at max_files (default 20) with an honest truncation flag. Each attachment carries a resource_uri β read the file's bytes via MCP resources/read (pse-edge://attachment/<file_id>, cached immutably, 10 MB cap) |
get_company_profile(symbol) | Sector, incorporation, auditor, transfer agent, contacts |
get_financial_highlights(symbol) | Annual + quarterly balance sheet and income statement |
get_dividends_and_rights(symbol) | Declared dividends and stock rights, linked to their disclosures |
get_indices() | PSEi and the 7 sector indices, with signed daily change |
get_market_summary() | Index levels plus PSE Edge's homepage disclosure feeds |
get_server_version() | The deployed version of this MCP server itself (matches /health) |
send_email(subject, body) | Email yourself a note (auth-enabled deployments only) |
Beyond tools, the server exposes the attachment resource above, two prompts (market_recap, company_briefing(symbol) β the symbol argument autocompletes from PSE Edge's own lookup), and MCP tool annotations so hosts can auto-approve the read-only tools. It is described for the MCP Registry in server.json.
send_email is the only tool that acts rather than reads. It has no recipient argument: the message always goes to the account that authenticated the session, so it cannot be used as a relay and there is nothing for prompt injection to redirect β which matters because this server returns disclosure text the operator does not control. It appears only on deployments with auth enabled (there is no verified address otherwise), the body is escaped rather than rendered as HTML, and it is capped at 20 messages per user per day.
Disclosure tools return metadata and links only β this server never downloads or parses attachments (beyond the explicit resource read), so your MCP client can fetch the returned URLs itself if it needs the files. Note that Edge's own full-text index is partial (roughly 2023β2025 at last check), so search_disclosure_fulltext is not a substitute for search_disclosures; it reports this limit in its results.
Financial figures are returned exactly as PSE Edge prints them and are never rescaled β Edge's own units labels are inconsistent between its annual and quarterly sections, so each period reports its currency_units for you to check. Index changes are signed here even though Edge prints them unsigned (it shows direction only as a colour and an arrow).
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pse-edge-mcp)<a href="https://allmcps.com/mcp/pse-edge-mcp"><img src="https://allmcps.com/api/badge/pse-edge-mcp?style=directory" alt="Pse Edge MCP on AllMCPs" /></a>