Skip to main content
Glama
mcp-server-fss-dart

mcp-server-fss-dart

by holon521

mcp-server-fss-dart

A Model Context Protocol (MCP) server for FSS Open DART (금융감독원 전자공시시스템) with token-efficient footnote parsing, financial anomaly detection, and historical stock price correlation.

Features

This MCP server equips AI Agents (like Claude Code, Cursor, Windsurf, or Gemini) with the following tools to audit Korean companies:

  1. get_corporate_details: Resolves a corporate name or stock ticker to its DART corporate code.

  2. get_financial_anomalies: Evaluates primary accounting metrics (Debt-to-Equity ratio, Current ratio, Net Income) and flags potential accounting red-flags.

  3. get_footnote_section: Semantic footnote query that unzips and extracts relevant report chunks matching keywords like "litigation" (소송), "debt guarantee" (지급보증), or "related party" (특수관계자) to prevent token bloat.

  4. get_stock_chart: Fetches historical stock price trends and Simple Moving Averages (SMA) from Yahoo Finance to correlate financial anomalies with market activity.


Related MCP server: korean-dart-mcp

설치 및 설정 (Installation)

Prerequisites

1. Installation

Clone this repository and install the dependencies:

git clone https://github.com/<your-username>/mcp-server-fss-dart.git
cd mcp-server-fss-dart
pip install .

2. Configuration for Claude Desktop

Add the following block to your Claude Desktop configuration file (e.g. ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "fss-dart": {
      "command": "python3",
      "args": ["-m", "mcp_server_fss_dart.server"],
      "env": {
        "DART_API_KEY": "YOUR_40_DIGIT_DART_API_KEY_HERE"
      }
    }
  }
}

한국어 안내 (Korean Guide)

본 프로젝트는 AI 에이전트가 금융감독원 Open DART API를 통해 한국 기업의 공시자료와 감사보고서 주석을 분석할 수 있도록 돕는 MCP(Model Context Protocol) 서버입니다.

특징

  • 토큰 효율적 주석 분석: 대용량 감사보고서 주석 중에서 "소송", "보증", "특수관계자" 등 핵심 악재 키워드 매칭 문맥만 핀포인트로 파싱하여 AI 에이전트에 공급합니다.

  • 이상징후 사전 탐지: 부채비율 200% 초과, 유동비율 100% 미만, 당기순이익 적자 등의 재무적 위험 신호를 자동으로 계산하여 감지 플래그로 반환합니다.

  • 실시간 주가 차트 연동: 야후 파이낸스(Yahoo Finance)를 통해 실시간 주가 추이와 이동평균선(SMA5, SMA20)을 가져와 기업의 공시 리스크와 주가 변동의 연관 관계를 분석합니다.

실행 방법

상기 설정(Configuration)을 완료한 후, Claude Desktop 또는 MCP 지원 클라이언트를 실행하면 대화창에서 AI에게 다음과 같이 지시할 수 있습니다.

"카카오(035720)의 재무 상태를 분석하고, 2025년도 감사보고서 주석에서 소송 관련 내용이 있는지 찾아줘. 그리고 최근 주가 차트도 요약해 줘."

License

This project is licensed under the MIT License.

Available Tools

4 tools
get_corporate_detailsB

Look up a Korean corporate name or 6-digit stock ticker code to find its DART corp_code and basic profile.

Inputs: query (required). Returns: result

get_financial_anomaliesB

Analyze key financial metrics (Debt ratio, current ratio, operating profit trend) and scan for potential accounting anomalies or distressed patterns for a given year (e.g. 2025).

Inputs: year (required), corp_name_or_code (required). Returns: result

get_footnote_sectionB

Query the corporate audit footnotes and extract relevant sections matching specific risk keywords (e.g. '소송', '보증', '특수관계자', '담보') to identify hidden liabilities.

Inputs: year (required), keyword (required), corp_name_or_code (required). Returns: result

get_stock_chartA

Fetch historical stock price chart information and simple moving averages (SMA) from Yahoo Finance to correlate financial anomalies with market movements. Use ticker format: '035720.KS' (KOSPI) or '060720.KQ' (KOSDAQ). If suffix is missing, the tool will try both formats automatically.

Inputs: ticker (required), range_str. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a clearly distinct aspect: company lookup, financial anomaly analysis, footnote extraction, and stock chart data. No overlapping functionality.

    Naming Consistency5/5

    All tool names follow a consistent 'get_' prefix and snake_case pattern, making them predictable and easy to distinguish.

    Tool Count5/5

    Four tools is well-scoped for a specialized financial analysis server, covering key areas without being too sparse or bloated.

    Completeness4/5

    The set covers the core workflow from company details to anomaly detection, footnote mining, and market correlation. Minor gaps exist (e.g., no direct financial statement extraction) but the surface is largely complete for its stated purpose.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to query Korean listed companies' financial statements, public disclosures, executive information, and shareholder structures in real-time using the DART API.
      2
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to analyze Korean financial disclosures (DART) with insider trading signals, accounting risk scores, Buffett-style quality checklists, and automatic conversion of HWP/PDF attachments to markdown.
      15
      3
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to access Korean corporate disclosure data from DART, allowing natural language queries about companies, financial statements, and disclosures.
      54 npm
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables LLM agents to access Korean stock market data including DART disclosures, financial statements, and KOSPI/KOSDAQ prices, with an English-first interface designed for non-Korean speaking analysts.
      6
      26 PyPI
      MIT