Skip to main content

opendart-fss-mcp

Python 3.14+

한국어

MCP server for Korea's DART (Financial Supervisory Service) corporate disclosure API.

What is OpenDART?

DART (Data Analysis, Retrieval and Transfer System) is Korea's equivalent of the SEC's EDGAR system. It is the official electronic disclosure system operated by the Financial Supervisory Service (FSS) where all Korean corporations submit their financial reports, major event disclosures, and shareholding information.

OpenDART provides a public API to access this data programmatically.

Features

  • 85 tools covering 7 categories — disclosure search, financial statements, periodic reports, shareholding, major events, securities registration, and utilities
  • Runs as a stdio or HTTP (Streamable HTTP) MCP server
  • Works with Claude Desktop, Claude Code, and any MCP-compatible client
  • Smart company search — 6-tier search with Korean initial consonant (chosung) matching and fuzzy typo correction
    • "삼성전자" exact match, "삼성" prefix, "전자" substring
    • "ㅅㅅㅈㅈ" chosung → 삼성전자, "ㅅㅅSDI" mixed → 삼성SDI
    • "삼선전자" fuzzy → 삼성전자
  • Built on FastMCP and opendart-fss SDK

Prerequisites

  • Python 3.14+
  • uv (recommended package manager)
  • OpenDART API Key — get one free at opendart.fss.or.kr

Installation

uv pip install opendart-fss-mcp

Or install from source:

git clone https://github.com/hypn4/opendart-fss-mcp.git
cd opendart-fss-mcp
uv sync

Configuration

Copy .env.example to .env and set your values:

cp .env.example .env
Variable Description Default
OPENDART_API_KEY OpenDART API key (required) —
OPENDART_MCP_TRANSPORT Transport protocol: stdio | http stdio
OPENDART_MCP_HOST HTTP bind address 127.0.0.1
OPENDART_MCP_PORT HTTP port 8000
OPENDART_MCP_LOG_LEVEL Log level: DEBUG | INFO | WARNING | ERROR | CRITICAL INFO

Usage

Claude Desktop

Add to your Claude Desktop configuration (claude_desktop_config.json):

From PyPI:

{
  "mcpServers": {
    "opendart": {
      "command": "uvx",
      "args": [
        "--from", "opendart-fss-mcp",
        "opendart-mcp"
      ],
      "env": {
        "OPENDART_API_KEY": "your_api_key_here"
      }
    }
  }
}

From source:

{
  "mcpServers": {
    "opendart": {
      "command": "uv",
      "args": [
        "run",
        "--directory", "/path/to/opendart-fss-mcp",
        "opendart-mcp"
      ],
      "env": {
        "OPENDART_API_KEY": "your_api_key_here"
      }
    }
  }
}

Claude Code

From PyPI:

claude mcp add opendart -e OPENDART_API_KEY=your_api_key_here -- uvx --from opendart-fss-mcp opendart-mcp

From source:

claude mcp add opendart -e OPENDART_API_KEY=your_api_key_here -- uv run --directory /path/to/opendart-fss-mcp opendart-mcp

CLI

# stdio mode (default)
opendart-mcp

# HTTP mode
opendart-mcp --transport http --host 127.0.0.1 --port 8000

FastMCP

fastmcp run src/opendart_fss_mcp/server.py:mcp

Example Prompts

Show me Samsung Electronics' 2024 consolidated financial statements

Compare revenue and operating profit for Samsung, SK Hynix, and LG Electronics in 2023

Who are the largest shareholders of Hyundai Motor?

What dividends did Samsung pay last year?

Search for M&A-related disclosures from January to June 2024

Has Samsung announced any convertible bond issuances recently?

Show me the executive compensation for POSCO Holdings

What is the auditor's opinion on Kakao's financial statements?

Available Tools

85 tools organized into 7 categories:

Category Prefix Tools Description
Disclosure disclosure_ 5 Company search, disclosure list, document viewer
Financial financial_ 7 Financial statements (single/multi account, XBRL)
Report report_ 28 Periodic report key items (compensation, capital, directors, etc.)
Shareholding shareholder_ 2 Major shareholder and executive holdings
Major Events event_ 36 M&A, capital changes, stock events, lawsuits, and more
Registration registration_ 6 Securities registration statement details
Utility utility_ 1 Current date/time (KST)

Development

# Install dev dependencies
uv sync

# Run tests
uv run pytest

# Lint & format
uv run ruff check .
uv run ruff format .

# Type check
uv run pyright

License

MIT

Links

  • OpenDART — Official OpenDART API portal
  • DART — Electronic Disclosure System
  • opendart-fss — Python SDK for OpenDART API

Metadata

Release files for opendart-fss-mcp 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opendart-fss-mcp 0.3.1
File Size Uploaded Provenance
opendart_fss_mcp-0.3.1.tar.gz 69.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for opendart-fss-mcp 0.3.1
File Interpreter ABI Platform
opendart_fss_mcp-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 89.5 kB

Release files / opendart_fss_mcp-0.3.1.tar.gz

Download URL opendart_fss_mcp-0.3.1.tar.gz
Size 69.7 kB
Tags Source
SHA-256 checksum
How to use checksums
752393625a233dff60df2af8113febf7dc35f4cd527bb425949c91d557aa83db
BLAKE2b-256 checksum
How to use checksums
3eb87acbe6e118cf932a118f35ca754b34485d99e9e3409ee7e385182462707f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / opendart_fss_mcp-0.3.1-py3-none-any.whl

Download URL opendart_fss_mcp-0.3.1-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3220c81a88c09442ef6f748de90a20f15adc6cfba21f0d0f43092ed79cd8c16a
BLAKE2b-256 checksum
How to use checksums
9119e87526713140c77ae89f8a4787b731fea3e8c009f6b749c6d7efcf5a8b6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for opendart-fss-mcp 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page