Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Philippine Stock Exchange data via PSE Edge: EOD quotes, price history, disclosures, financials.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://pse.sakayandgo.com/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"pse-edge": {
"command": "uvx",
"args": [
"pse-edge-mcp"
]
}
}
}在终端中运行这条命令
claude mcp add --transport http pse-edge https://pse.sakayandgo.com/mcpclaude mcp add pse-edge -- uvx pse-edge-mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pse-edge": {
"url": "https://pse.sakayandgo.com/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"pse-edge": {
"command": "uvx",
"args": [
"pse-edge-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"pse-edge": {
"type": "http",
"url": "https://pse.sakayandgo.com/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"pse-edge": {
"type": "stdio",
"command": "uvx",
"args": [
"pse-edge-mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://pse.sakayandgo.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 phdwight 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.19.1)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, FlyDocs
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Spec-driven development workflow: your agent works issues, sessions and the status lifecycle.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
DATABASE_URL is set.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
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.
| 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, BSP rates | 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:
{
"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" } }
| 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/ , 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).
| Layer | Owns | Never |
|---|---|---|
server.py — MCP boundary | Argument 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 layer | One 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 & seams | FreezeService 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 world | Pure 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. | — |
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.
| Repository | Methods → models | Consumes | Policy / note |
|---|---|---|---|
CompanyRepository | search, resolve, try_resolve → CompanyHit | CompanySource | daily-refresh · resolves symbol → company_id for every other repo |
QuoteRepository | quote → StockQuote · history → PriceHistory | QuoteSource | EOD-frozen ★ — the only market-gated domain · bars archived |
DisclosureRepository | search, fulltext, detail, attachment | DisclosureSource | searches daily-refresh; detail/attachment immutable |
| CompanyInfoRepository | profile, `fin
只显示了开头部分;其余内容请在仓库中阅读