kosis-api

kosis-api is a skill for Claude Code, Codex from seolcoding/korean-stat-mcp. It costs 90 tokens per session (456 once invoked), scanned A, original, MIT.

A toolkit for retrieving official statistics from South Korea's KOSIS, the Korean Statistical Information Service, through its OpenAPI.

In plain words
What is it for?
Use it to retrieve and process KOSIS statistics, create charts or reports, and work with large responses. Live requests require a KOSIS API key.
Why use it?
It provides a reusable way to search statistical tables, inspect their definitions, and fetch data while handling API-specific details.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/seolcoding/korean-stat-mcp/kosis-api
Any agent
npx skills add seolcoding/korean-stat-mcp --skill kosis-api
Clone the repo
git clone --depth 1 https://github.com/seolcoding/korean-stat-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kosis-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/seolcoding/korean-stat-mcp/kosis-api.svg)](https://agentmods.dev/skills/seolcoding/korean-stat-mcp/kosis-api)
Your own site
<a href="https://agentmods.dev/skills/seolcoding/korean-stat-mcp/kosis-api"><img src="https://agentmods.dev/badge/skills/seolcoding/korean-stat-mcp/kosis-api.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00090 $0.00456
Opus 5 $0.00045 $0.00228
Sonnet 5 $0.00018 $0.00091
Haiku 4.5 $0.00009 $0.00046

Measured 4d ago against content hash cf12c489b43b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

kosis-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/kosis_call.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/kosis-api/SKILL.md · 39 lines

What it actually says

KOSIS API

Use this skill to work with KOSIS OpenAPI through the local Python client modules in this repository. Prefer direct Python module calls over starting the MCP server.

Default Workflow

  1. Identify the KOSIS task: search, metadata inspection, data fetch, large data, explanation, key indicator, transform, chart, or report.
  2. Load only the reference file needed for that task.
  3. Use src/kosis_tools/ clients directly.
  4. Require KOSIS_API_KEY before live KOSIS calls.
  5. Search or inspect metadata before fetching data.
  6. Fetch a small bounded slice first, then expand.
  7. Report table id, organization id, period, unit, endpoint, and limits.

Reference Routing

  • For available official API groups, limits, and source URLs, read references/official-api-index.md.
  • For ordinary statistics data calls and period/classification parameters, read references/statistics-data.md.
  • For which repository module to reuse, read references/repo-client-map.md.

Add or read more reference files only when the task needs them. Keep official manual details in references, not here.

Scripts

  • Use scripts/kosis_call.py for a quick authenticated raw API check.
  • Prefer repository modules for production work; the script is a smoke-test and debugging helper.

Constraints

  • Do not use the MCP server layer unless the user explicitly asks for MCP behavior.
  • Do not browser-scrape KOSIS pages when an OpenAPI endpoint or official PDF reference is sufficient.
  • Do not load the full official PDF into context. Extract or open only the relevant reference section.
  • Treat older deployment URLs and production-status claims in repository docs as stale until verified.
Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 39 lines · 90 tokens per session scan A cf12c489b43b

Subscribe to this mod's changes

kosis-api is a skill published in the GitHub repository seolcoding/korean-stat-mcp (1 stars, last pushed 4mo ago), licensed MIT. It adds 90 tokens to every session and 456 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mcp-server-architect

Comprehensive MCP server development guide covering FastMCP 2.14.3 features, Anthropic standards, ecosystem integration, and production deployment across all agentic IDEs.

sandraschi/inkscape-mcp · 40 tokens

anti-gambling-trader

分析台股 / 台股ETF / 台指期選擇權 / 美股 / 加密貨幣 / 外匯的交易紀錄 (CSV / JSON / Excel),用統計學判斷使用者的獲利是「可重複的優勢」還是 「運氣 + 倖存者偏差(賭博)」,不適合長期投資會明確勸退。內建反詐工具: 掃描群組對話的詐騙話術(scan-text)、檢驗老師宣稱的績效(guru-check)、 鑑識假對帳單(forensics)、倖存者偏差示範(survivorship)。可模擬爆倉 風險(risk-sim)、偵測優勢衰退(trend)、輸出可傳給家人的 HTML 報告與 分享圖卡,並產生 14 種券商選項的交易程式腳架(預設紙上模擬)。…

mars-tw/anti-gambling-trader-tw · 318 tokens

writing-release-notes

Use when preparing, refreshing, backfilling, or redrafting a release-notes page under docs/releases/ before opening a normal review pull request.

pvliesdonk/markdown-vault-mcp · 35 tokens

pr-alignment-loop

Iterate a PR to its final form by running two opposing reviewer droids (reviewer-robustness and reviewer-minimalist) in a bounded back-and-forth loop. The main orchestrator synthesizes their feedback, makes edits, runs tests, and stops when both approve, on stagnation, or after 3 rounds. Use when the user asks to…

nikships/skills-registry · 122 tokens

skills

Generate a complete SVG file from a natural language description using SEP-1577 multi-step sampling.

sandraschi/inkscape-mcp · 0 tokens

vault-workflow

Use when the user asks you to search, read, or reason about notes in their markdown vault — guides when to use which vault tool and how to chain them for good results.

pvliesdonk/markdown-vault-mcp · 40 tokens