MyKIFRS MCP
搜尋韓國會計準則(K-IFRS、K-GAAP、審計、ICFR)及3,669則官方問答,逐段比對,讓AI回答引用確切的段落編號與原文措辭。
託管 MCP 伺服器
npx add-mcp 'https://mykifrs.eocpa.kr/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
MyKIFRS MCP
Full-text search over Korean accounting standards and the official Q&A that interprets them, served as a remote MCP server for accounting professionals.
The corpus covers K-IFRS, K-GAAP (일반기업회계기준), interpretations, the Conceptual Framework, Korean auditing standards, ICFR (내부회계관리제도) standards, SME and non-profit accounting standards, the authoritative Q&A (회계기준원·금융감독원·신속처리질의·IFRS IC agenda decisions), KASB implementation task force (정착지원TF) discussions and audit-firm quality control meetings (품질관리실장 회의), KICPA quality control, review, assurance, ethics and valuation standards (latest editions), regulator-issued standards such as the non-profit (공익법인) and condominium (집합건물) accounting standards, and supporting material — Q&A education, exposure drafts, IASB updates, research reports, and KICPA auditor-disagreement council cases. Standards are stored paragraph by paragraph, and each paragraph carries the Q&A that cite it. Q&A and material that lost force after a standard changed are flagged (validity), together with the source that says so.
Sources are ranked in two tiers, and tier 1 is served by the two core search tools: search_standards returns standard paragraphs together with the KICPA- and regulator-issued standards, and search_qnas returns Q&A together with 정착지원TF and quality control meeting material. search_materials covers tier 2 — supporting material.
- Endpoint:
https://mykifrs.eocpa.kr/mcp(Streamable HTTP, stateless) - Protocol: MCP revision
2026-07-28(per-request metadata,server/discover, no handshake) and2025-11-25and earlier (initialize) are both served on that one endpoint - Credential: an eocpa token from eocpa.kr/token
- Nothing to install: register the URL in claude.ai, Claude Desktop, Claude Code, Cursor, or any Streamable HTTP client
- Landing page (Korean): eocpa.kr/mykifrs
Why
A language model can paraphrase an accounting standard; a practitioner has to cite it. The paragraph number, the exact wording, the conditions in the neighboring paragraphs, and the regulator's answer to the same question are what go into a memo. This server returns them verbatim: search hits point at a unique_key such as 1116-33, get_paragraph returns that paragraph with its surrounding context, and related_qnas lists the Q&A documents that were issued about it.
Tools
| Tool | Input | Returns |
|---|---|---|
search_standards | query, category?, std_num?, limit? | One relevance-ranked list of standard paragraphs (kind: "paragraph" — unique_key, standard title, category, source url, snippet) and KICPA quality control/review/assurance/ethics standards and regulator-issued standards (kind: "assure"·"ext_std" — material_key for get_material); category narrows to one family (K-IFRS, K-GAAP, auditing, SME, …) |
search_qnas | query, limit? | One relevance-ranked list of Q&A (kind: "qna" — qna_key, document number, source url, date, issuing body, related standards; withdrawn or amended Q&A carry validity) and 정착지원TF / quality control meeting material (kind: "tf"·"qc" — material_key for get_material) |
get_paragraph | unique_key, context? | The paragraph text with context neighbors on each side, standard metadata, and related_qnas |
get_qna | doc_number or qna_key | Full text of a Q&A document (an array — a number can appear more than once or be empty; qna_key = {source}:{id} pins one row) |
list_standards | category? | Catalog of standards in the corpus with their std_num |
search_materials | query, board?, limit? | Supporting material — Q&A education, exposure drafts, IASB updates, research reports, KICPA council cases, valuation material (material_key, board, category, date, snippet); material that lost force carries validity |
get_material | material_key, max_chars?, offset_chars? | Full text of one material, including the parsed text of its attachments; long texts continue with offset_chars |
Every tool is read-only, idempotent, and local (SQLite + FTS5). No external call is made while serving a request.
Search behavior
- Every query token must appear (AND, matched as a substring, so two-character terms like 리스 work). A paragraph also matches when a token is in its section heading. Look-alike words are not counted as a match: 리스 does not match inside 리스크 (risk) or 체크리스트 (checklist), 감사 not inside 감사합니다, 공시 not inside 공시지가.
- Results are ranked by a BM25-style relevance over all tokens: section-heading hits and adjacent phrases (리스변경 / 리스 변경) rank higher, and requirement paragraphs rank above Basis for Conclusions and illustrative examples. Paragraph and Q&A text is held in memory for this (loaded at boot).
- Every hit carries a source
url: the section page of the KASB standards viewer for paragraphs, the viewer's Q&A page for current Q&A (nullfor the legacy Q&A series, which the viewer does not show), and the original page for KASB/KICPA material. - Search hits return a snippet with matched terms wrapped in
⟦…⟧. A snippet is a fragment; quoteget_paragraph'scontent_text, never the snippet. unique_keyis{standard number}-{paragraph number}and paragraph numbers are not digits-only (B58,AG12,6.1.1). Pass the value verbatim.
Using the server
1. Get a credential
Request an eocpa token at eocpa.kr/token. Tool calls require it; discovery (initialize, tools/list, ping) works without one, so connector onboarding never fails on authentication.
2. Connect
The credential can travel in any of these slots; the server treats them identically:
| Slot | Example |
|---|---|
| Custom header | x-eocpa-token: <token> (also accepted: x-api-key) |
| Bearer | Authorization: Bearer <token> |
| Query string | https://mykifrs.eocpa.kr/mcp?key=<token> |
claude.ai (web) — the custom connector dialog takes a URL only, so put the token in the query string:
https://mykifrs.eocpa.kr/mcp?key=<token>
Claude Desktop / Claude Code — bridge with mcp-remote so the token stays in a header:
{
"mcpServers": {
"mykifrs": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mykifrs.eocpa.kr/mcp", "--header", "x-eocpa-token:${EOCPA_TOKEN}"],
"env": { "EOCPA_TOKEN": "<token>" }
}
}
}
Clients with a header field (Cursor and others) — enter the endpoint and the x-eocpa-token header directly.
A Claude Code plugin manifest is included at .claude-plugin/plugin.json, and server.json is the manifest for the official MCP Registry.
3. Check
curl https://mykifrs.eocpa.kr/health
curl -X POST https://mykifrs.eocpa.kr/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "x-eocpa-token: <token>" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
A tool call without a credential returns 401; a credential that is present but rejected returns 403 with a message that says so.
PlayMCP channel
https://mykifrs.eocpa.kr/mcp/playmcp is the same server behind the same authentication, with the response contract the PlayMCP platform requires: every tool result stays within 24,000 characters. Results that would exceed it are structurally truncated (array tails and the longest strings are shortened) and flagged with playmcp_truncated: true, a playmcp_truncation_note, and playmcp_text_truncated on any object whose text was cut. The standard /mcp endpoint never truncates.
Data and terms of use
The corpus (data/kasb.sqlite) is not part of this repository. Standards text is the work of the Korea Accounting Standards Board and, for K-IFRS, the IFRS Foundation; the Q&A are publications of KASB and the Financial Supervisory Service. The hosted server is offered for personal reference by accounting practitioners. Redistribution of the full text or turning the corpus into a public service requires the rights holders' permission.
Development
Requires Node.js 22+.
git clone https://github.com/taesueocpa/mykifrs-mcp.git
cd mykifrs-mcp
npm install
npm run build
This repository holds the tools, the search code and a stdio entry point; the hosted service is not part of it. Running locally needs a corpus at data/kasb.sqlite (schema in src/store/kasb-db.ts; another path can be set with KASB_DB), which this repository does not ship. With one in place:
npm start # stdio transport
Layout:
src/main.ts entry point (stdio)
src/tools/ tool registry and tool implementations
src/server/ server assembly and stdio transport
src/store/ SQLite schema, boot-time validation, FTS definition
src/search/ query tokenizer and relevance ranking (pure functions)
Links
- Service page (Korean): eocpa.kr/mykifrs
- Companion MCP services — one eocpa token works for all three:
- MyDART MCP — Korean OpenDART disclosures, financial statements and audit reports (KAM, going concern, ICFR)
- MyFSS MCP — FSS/FSC accounting and disclosure supervision documents
- eocpa.kr — hub and token issuance