Skip to main content

OpenDART FSS MCP Server

Project description

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

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

opendart_fss_mcp-0.3.1.tar.gz (69.7 kB view details)

Uploaded Source

Built Distribution

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

opendart_fss_mcp-0.3.1-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

Details for the file opendart_fss_mcp-0.3.1.tar.gz.

File metadata

  • Download URL: opendart_fss_mcp-0.3.1.tar.gz
  • Upload date:
  • Size: 69.7 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for opendart_fss_mcp-0.3.1.tar.gz
Algorithm Hash digest
SHA256 752393625a233dff60df2af8113febf7dc35f4cd527bb425949c91d557aa83db
MD5 5f2e493e8486ffb63adb9adedfa6d3e2
BLAKE2b-256 3eb87acbe6e118cf932a118f35ca754b34485d99e9e3409ee7e385182462707f

See more details on using hashes here.

File details

Details for the file opendart_fss_mcp-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: opendart_fss_mcp-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for opendart_fss_mcp-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3220c81a88c09442ef6f748de90a20f15adc6cfba21f0d0f43092ed79cd8c16a
MD5 aa34b7c83d362d8cfed6876382770eb6
BLAKE2b-256 9119e87526713140c77ae89f8a4787b731fea3e8c009f6b749c6d7efcf5a8b6a

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