ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Pse Edge MCP

โดย phdwightรุ่น 0.19.1i★ –iบนเครื่องหรือคลาวด์
ชื่อใน registryio.github.phdwight/pse-edge-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Philippine Stock Exchange data via PSE Edge: EOD quotes, price history, disclosures, financials.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: บนเครื่องหรือคลาวด์
  • ช่องทาง (transport): stdio, Streamable HTTP
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • รันบนคลาวด์ไม่ต้องลงโปรแกรมเพิ่ม ต่อผ่านอินเทอร์เน็ตได้เลย
  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:

  1. เปิด Settings → Connectors
  2. กด Add custom connector
  3. วางที่อยู่ด้านล่างแล้วกด Add
  4. ถ้าให้ล็อกอิน ให้ล็อกอินกับผู้ทำ
SettingsConnectors1+ Add2https://…3
https://pse.sakayandgo.com/mcp

หรือรันในเครื่องคุณ

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "pse-edge": {
      "command": "uvx",
      "args": [
        "pse-edge-mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add --transport http pse-edge https://pse.sakayandgo.com/mcp

หรือรันในเครื่องคุณ

claude mcp add pse-edge -- uvx pse-edge-mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "pse-edge": {
      "url": "https://pse.sakayandgo.com/mcp"
    }
  }
}

หรือรันในเครื่องคุณ

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "pse-edge": {
      "command": "uvx",
      "args": [
        "pse-edge-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "pse-edge": {
      "type": "http",
      "url": "https://pse.sakayandgo.com/mcp"
    }
  }
}

หรือรันในเครื่องคุณ

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "pse-edge": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pse-edge-mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:

  1. เปิด ChatGPT บนเว็บ → Settings → Connectors (Apps)
  2. กด Create หรือ Add (บางแพ็กเกจต้องเปิด Developer mode ใน Advanced ก่อน)
  3. วางที่อยู่ด้านล่าง ตั้งชื่อ แล้วบันทึก
  4. ถ้าให้ล็อกอิน ให้ล็อกอินกับผู้ทำ
SettingsConnectors1+ Create2https://…3
https://pse.sakayandgo.com/mcp

ชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub phdwight ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    endpoint ตอบ

    ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป

  • … ยังไม่ตรวจ

    ล็อกอินแบบ OAuth

    ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32531 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 23% ของอีก 32531 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32531 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Pse Edge MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.19.1) เข้า registry 3 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Reelsaw

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

Reelsaw

โดย osbytes

Drive a self-hosted Reelsaw: turn long videos into vertical clips, edit, re-render and export them.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

pse-edge-mcp

An MCP server exposing Philippine Stock Exchange data from the PSE Edge portal — quotes, price history, disclosures, financial reports, and market data — plus Bangko Sentral ng Pilipinas (central bank) key rates, to Claude and any other MCP client.

Unofficial. PSE Edge and BSP have no public API; this project speaks to the same endpoints their own pages use. It is not affiliated with or endorsed by the PSE or the BSP. Data is provided as-is for personal/research use, with no warranty.

Contents

  • Features
  • Quick start
  • Design: end-of-day prices, fetch-once everything else
  • Tools, resources, prompts
  • Architecture
  • Golden path: one request traced
  • Connecting to a hosted server
  • Run with Docker Compose
  • Configuration
  • Container image
  • Production
  • Development
  • Contributing
  • License

Features

  • 15 read tools + 1 action tool covering quotes, price history, disclosures (metadata, full-text, and detail), company profiles, financials, dividends, indices, market summary, and BSP (central bank) key rates — plus an attachment resource, two prompts with symbol completion, and tool annotations.
  • Deliberately gentle on PSE Edge: every unique query hits it at most once per day, and prices follow a strict market-boundary freeze.
  • OAuth 2.1 + passkeys for humans (no passwords anywhere), `client_credentials` for headless agents — both opt-in; stdio needs nothing.
  • Postgres optional: zero-config in-memory for local stdio, or a shared cache + an ever-deepening EOD archive when DATABASE_URL is set.
  • Loud on drift: a nightly canary validates live pages against the real models and alerts only on failure; a restyled page raises an error, never partial data.
  • Multi-arch container image (amd64 + arm64), gated on necessity — the image contains exactly the runtime dependency closure and nothing else.

Quick start

Claude Desktop / Claude Code (stdio):

uvx pse-edge-mcp
{

"mcpServers": { "pse-edge": { "command": "uvx", "args": ["pse-edge-mcp"] } } }

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):

{

"mcpServers": { "pse-edge": { "url": "https://your-host.example.com/mcp" } } }

Docker (HTTP + Postgres):

cp .env.example .env   # set POSTGRES_PASSWORD

docker compose up --build

Design: end-of-day prices, fetch-once everything else

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.

flowchart TD

C["MCP client"] -- "tool call" --> S[" server.py · MCP boundary validate args · delegate · shape reply"] S --> R[" repositories.py · one per domain cache key · freeze read · parse · endpoint routing"] R --> F[" service.py · FreezeService ★ 3 policies · miss → fetch once"] F --> P[" client.py · PseEdgeClient throttled HTTPS · single-flight · 2 dialects"] P --> E["PSE Edge edge.pse.com.ph"]

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

PolicyApplies toBehaviour
EOD-frozen ★get_stock_quote, get_price_historyA 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-refreshCompanies, disclosures, profiles, financials, dividends, indices, summary, BSP ratesFirst 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.
immutableDisclosure detail by edge_no, attachment bytesThe 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:

{

"data": { /* …StockQuote… */ }, "meta": { "as_of": "2026-08-06T15:00:00+08:00", // ISO-8601, Asia/Manila "valid_until": "2026-08-07T15:00:00+08:00", // null when immutable "from_cache": false, "stale": false, // true = not a settled EOD value "data_policy": "EOD-frozen", // "daily-refresh" / "immutable" elsewhere "note": null // freshness caveat, e.g. "not a realtime value" } }

Tools, resources, prompts

ToolDescription
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/ , 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_bsp_key_rates()The Bangko Sentral ng Pilipinas (central bank) Key Rates dashboard: policy, facility and auction rates, headline inflation, and the USD peso reference
get_bsp_policy_rate()The BSP policy rate (Target RRP) and the overnight lending/deposit corridor around it
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).

Architecture

The layers
LayerOwnsNever
server.py — MCP boundaryArgument validation, delegation, reply shaping. Error mapping happens once in reply(); action tools go through act() (no freshness meta).Domain logic, cache keys, parsing, endpoint choices
repositories.py — domain layerOne repository per data domain: the cache key, the freeze read, the parse, the Pydantic model. Endpoint routing lives here.Depending on the concrete client — only on the protocols below
service.py / sources.py — policy & seamsFreezeService enforces the per-read policy and wraps every result in Served[T] (value + as_of, valid_until, from_cache, stale). sources.py declares the five narrow per-domain source protocols; FrozenCache is the cache seam.—
client.py / parsers.py — edge of the worldPure HTTP, MCP-agnostic: token-bucket throttle, single-flight, retries; two request dialects (JSON-body POST for chart .ax endpoints, form-encoded POST returning HTML fragments for search.ax). Parsers turn HTML/JSON into dicts; any shape drift raises EndpointChangedError — loud, never partial.—
Core class map

Five repositories cover the whole tool surface. Each consumes a narrow source protocol — the concrete client satisfies all five, but no repository knows that, so each is testable with a few-line fake and no HTTP mocking.

RepositoryMethods → modelsConsumesPolicy / note
CompanyRepositorysearch, resolve, try_resolve → CompanyHitCompanySourcedaily-refresh · resolves symbol → company_id for every other repo
QuoteRepositoryquote → StockQuote · history → PriceHistoryQuoteSourceEOD-frozen ★ — the only market-gated domain · bars archived
DisclosureRepositorysearch, fulltext, detail, attachmentDisclosureSourcesearches daily-refresh; detail/attachment immutable

| CompanyInfoRepository | profile, `fin

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx