Skip to main content
Glama
enciyo

KAP MCP Tools

by enciyo

KAP MCP 工具

该项目包含用于访问公共披露平台 (KAP) 数据的 MCP (模型控制协议) 工具。

特征

  • 公司列表和详细信息

  • 公司财务报告

  • KAP 公告

  • 股票市场指数

  • 行业信息

Related MCP server: FonParam MCP

安装

  1. 安装 Python 3.11 或更高版本

  2. 创建虚拟环境:

python -m venv .venv
source .venv/bin/activate  # Unix/macOS
# or
.venv\Scripts\activate  # Windows
  1. 安装依赖项:

pip install -r requirements.txt

用法

要启动应用程序:

python main.py

API 函数

  • get_companies() :返回所有公司的列表

  • get_company(company_code) :返回特定公司的详细信息

  • get_company_info(company_code) :返回公司的详细信息

  • get_financial_report(company_code, year) :返回公司的财务报告

  • get_indices() :返回所有索引的列表

  • get_announcements_by_company(company_code) :返回特定公司的公告

  • get_announcements() :返回所有公告的列表

  • get_sectors() :返回所有扇区的列表

错误处理

所有 API 调用都受到 try-catch 块的保护并返回有意义的错误消息。

执照

该项目已获得 MIT 许可。

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    MCP server that provides AI assistants access to stock market data including financial statements, stock prices, and market news through a Model Context Protocol interface.
    11
    2,299
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that enables Claude Desktop to access investment fund data in Turkey through the FonParam API, allowing users to list, compare, and analyze funds, view company statistics, and get inflation data.
    15
    46 npm
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that enables models to access SEC EDGAR filings, filing text, and XBRL financial facts with caching, rate limiting, and iXBRL stripping.
    8
    MIT