Skip to main content

MCP server for Korean stock market analysis (DART disclosures + KRX prices). English-first, drop-in for Claude Desktop / Cursor.

Project description

Korea Stock Insight MCP

mcp-name: io.github.yjhann33-design/korea-stock-insight-mcp

PyPI License: MIT

MCP server for Korean stock market analysis. Drop-in for Claude Desktop, Cursor, Cline, and any MCP-compatible client. English-first tool descriptions for global LLM analysts researching Korean equities.

What you get

Tool What it does
get_today_date Today in KST/UTC (YYYYMMDD) — call before any date-range query
get_corp_code Resolve Korean company name or 6-digit ticker → DART corp_code
get_disclosure_list Recent DART filings (date, title, type, receipt no.)
get_disclosure Filing metadata + canonical viewer URL
get_financial_statement Full XBRL financial statements (consolidated/separate, quarterly/annual)
get_stock_quote Daily OHLCV from KOSPI/KOSDAQ (via yfinance, no key required)

DART (전자공시시스템) is South Korea's electronic disclosure system — the SEC EDGAR equivalent, operated by the Financial Supervisory Service (FSS).

Why this server?

  • English-first tool descriptions — built for global LLM analysts, no Korean fluency required
  • DART + KRX in one place — disclosures, financials, and prices through a single MCP
  • No vendor lock-in — runs locally via stdio with your own free DART API key
  • MIT licensed, no telemetry, no account required

Quick start (Claude Desktop)

1. Get a free DART API key

Register at opendart.fss.or.kr and grab your API key from the user page. Instant, free, no credit card.

2. Add to your Claude Desktop config

Edit claude_desktop_config.json (location: macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\):

{
  "mcpServers": {
    "korea-stock-insight": {
      "command": "uvx",
      "args": ["korea-stock-insight-mcp"],
      "env": {
        "DART_API_KEY": "YOUR_DART_KEY_HERE"
      }
    }
  }
}

If you don't have uvx, install uv first (one-liner on macOS/Linux/Windows), or use pipx:

{
  "mcpServers": {
    "korea-stock-insight": {
      "command": "pipx",
      "args": ["run", "korea-stock-insight-mcp"],
      "env": {"DART_API_KEY": "YOUR_DART_KEY_HERE"}
    }
  }
}

3. Restart Claude Desktop and try

"What were Samsung Electronics' most recent disclosures? Pull their last quarter's revenue and operating profit."

Claude will chain get_corp_code("Samsung Electronics")get_disclosure_list("005930")get_financial_statement(corp_code, 2025, "FY") automatically.

Sample queries

  • "Compare the Q1 2025 operating margins of Samsung Electronics, SK Hynix, and LG Energy Solution."
  • "Show me all M&A-related disclosures for Naver in the last 60 days."
  • "What's KODEX 200's price trend over the past 3 months?"
  • "Pull Kakao's most recent annual report."

Roadmap

  • v0.2 — Full disclosure body extraction (zipped XBRL → plain text)
  • v0.3 — Multi-company batch queries, sector aggregations
  • Future — Optional hosted tier with English-summarized disclosures and webhook push (no ETA; track progress in GitHub Issues)

License

MIT. See LICENSE.

Acknowledgments

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

korea_stock_insight_mcp-0.1.3.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

korea_stock_insight_mcp-0.1.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file korea_stock_insight_mcp-0.1.3.tar.gz.

File metadata

  • Download URL: korea_stock_insight_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for korea_stock_insight_mcp-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5f8ff43fed2726fa99e6eea8a6256cfccdfc7be7676ade2fbe1f63386701bbdb
MD5 5c7925e3b7d95f60b116c724812fc6a7
BLAKE2b-256 743e62cbea11faa5ec531596dab3e80e34f133563bab0af9fa88dfa4fc1c654c

See more details on using hashes here.

File details

Details for the file korea_stock_insight_mcp-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for korea_stock_insight_mcp-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 09f959c7bd82e164e923cddc87bd444e06fa96ce32ac6e6f8f2aa6831267e386
MD5 d7e633cdc764208f1beac8fd3d1a2232
BLAKE2b-256 b6391476f68f4e0aebf1a8909a301ecfe52f8127ef7fd01046a55620133fe665

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page