datasinking 0.1.1__tar.gz → 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datasinking
3
- Version: 0.1.1
4
- Summary: Python client for DataSinking — full-text China A-share financial reports as Markdown.
3
+ Version: 0.2.0
4
+ Summary: Python client for DataSinking — full-text Asian financial reports (China, Korea, Japan) as Markdown.
5
5
  Author: DataSinking
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://datasink.ing
8
8
  Project-URL: Documentation, https://datasink.ing/docs
9
9
  Project-URL: Repository, https://github.com/heubme2020/datasinking
10
- Keywords: a-share,china,financial reports,markdown,api,stock
10
+ Keywords: a-share,china,korea,japan,financial reports,markdown,api,mcp,model-context-protocol,rag,llm
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Operating System :: OS Independent
@@ -15,21 +15,23 @@ Classifier: Topic :: Office/Business :: Financial
15
15
  Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
+ Provides-Extra: mcp
19
+ Requires-Dist: mcp>=1.0.0; extra == "mcp"
20
+ Requires-Dist: requests>=2.28; extra == "mcp"
18
21
  Dynamic: license-file
19
22
 
20
23
  # DataSinking
21
24
 
22
25
  [![PyPI version](https://img.shields.io/pypi/v/datasinking.svg)](https://pypi.org/project/datasinking/)
23
26
 
24
- **Full-text A-share financial reports, as clean Markdown.**
27
+ **Full-text financial reports across Asia, as clean Markdown.**
25
28
 
26
- [DataSinking](https://datasink.ing) is a **China stock market data API** that serves
27
- **full-text A-share financial reports** — annual, semi-annual and quarterly — as clean
28
- **Markdown**. Download China A-share financial statements (balance sheet, income statement,
29
- cash flow) by FMP-style symbol (`600519.SS`) or filter by exchange / report period, through a
30
- simple REST API. Raw PDFs are sourced from [cninfo.com.cn](http://www.cninfo.com.cn) (the
31
- officially designated disclosure platform) and parsed into structured Markdown with YAML
32
- frontmatter, preserved headings, paragraphs and tables — ready for LLM reading and analysis.
29
+ [DataSinking](https://datasink.ing) serves **full-text financial reports** — annual, semi-annual
30
+ and quarterly — from **China, Korea and Japan** as clean **Markdown**, ready for LLM reading
31
+ and RAG. Query by FMP-style symbol (`600519.SS`, `005930.KS`, `7203.T`) or filter by exchange,
32
+ report period, or **section** — pull just the MD&A / risk section instead of the whole report.
33
+ Reports are sourced from official disclosure platforms and parsed into structured Markdown with
34
+ YAML frontmatter, preserved headings, paragraphs and tables.
33
35
 
34
36
  ---
35
37
 
@@ -41,8 +43,9 @@ Examples, research and tutorials showing how to work with financial report data,
41
43
  datasinking/
42
44
  ├── examples/ # Example scripts: pull data from the API and analyze it
43
45
  ├── research/ # Research notes / blog posts (reproducing paper-style presentation)
44
- ├── datasinking/ # Python client — pip install datasinking
45
- ├── llm-examples.md # Ask an LLM — no code needed (3 end-to-end examples)
46
+ ├── datasinking/ # Python client + MCP server — pip install "datasinking[mcp]"
47
+ ├── mcp-server.md # How to configure the MCP server (for AI agents: Claude / Cursor / Codex / DeepSeek)
48
+ ├── llm-examples.md # Ask an LLM — no code needed (8 end-to-end examples)
46
49
  ├── api-examples.md # 7 examples × 3 interfaces (curl / Python / LLM)
47
50
  └── README.md
48
51
  ```
@@ -76,7 +79,7 @@ All five functions (curl / Python / LLM): [`api-examples.md`](api-examples.md).
76
79
 
77
80
  Don't want to write code? Point any LLM at [datasink.ing](https://datasink.ing),
78
81
  give it your API key, and ask in plain language. See
79
- [`llm-examples.md`](llm-examples.md) for three end-to-end examples — explore
82
+ [`llm-examples.md`](llm-examples.md) for eight end-to-end examples — explore
80
83
  coverage, list a company's reports, and extract a figure with correct units.
81
84
 
82
85
  ## Examples (`examples/`)
@@ -89,7 +92,7 @@ coverage, list a company's reports, and extract a figure with correct units.
89
92
 
90
93
  Every example pulls from the live API and runs as-is.
91
94
 
92
- > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 130k+ documents). Free keys work too, but fall back to slow per-document fetching (1 req/s + shared daily quota); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
95
+ > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (1 req/s + shared daily quota); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
93
96
 
94
97
  ## Research (`research/`)
95
98
 
@@ -105,16 +108,17 @@ Start from [`research/TEMPLATE.md`](research/TEMPLATE.md).
105
108
 
106
109
  | | |
107
110
  |---|---|
108
- | Coverage | SSE / SZSE / BSE, 5,000+ A-share companies |
111
+ | Coverage | China (SSE / SZSE / BSE) · Korea (KOSPI / KOSDAQ / KONEX) · Japan (TSE) |
109
112
  | Document types | annual / semiannual / q1 / q3 / amendment |
113
+ | Update frequency | Daily — Korea/Japan via official DART/EDINET APIs (new filings within ~24h of publication) |
110
114
  | Format | Full-text Markdown (with YAML frontmatter) |
111
- | API | REST — `GET /documents`, batch download, `with_content=1` for full text |
112
- | Symbols | FMP style: `600519.SS` / `000001.SZ` / `830799.BJ` |
115
+ | API | REST — `GET /documents`, batch download, `with_content=1` for full text, `?section=` + `/sections` for chapter-level access |
116
+ | Symbols | FMP style: `600519.SS` / `005930.KS` / `7203.T` |
113
117
  | Auth | `?apikey=` query parameter (FMP style) |
114
118
 
115
119
  ## Data source
116
120
 
117
- All reports originate from [cninfo.com.cn](http://www.cninfo.com.cn), the officially designated information disclosure platform of China's listed companies.
121
+ Reports are sourced from official regulatory disclosure platforms in each market and converted in-house to clean Markdown.
118
122
 
119
123
  ## License
120
124
 
@@ -2,15 +2,14 @@
2
2
 
3
3
  [![PyPI version](https://img.shields.io/pypi/v/datasinking.svg)](https://pypi.org/project/datasinking/)
4
4
 
5
- **Full-text A-share financial reports, as clean Markdown.**
5
+ **Full-text financial reports across Asia, as clean Markdown.**
6
6
 
7
- [DataSinking](https://datasink.ing) is a **China stock market data API** that serves
8
- **full-text A-share financial reports** — annual, semi-annual and quarterly — as clean
9
- **Markdown**. Download China A-share financial statements (balance sheet, income statement,
10
- cash flow) by FMP-style symbol (`600519.SS`) or filter by exchange / report period, through a
11
- simple REST API. Raw PDFs are sourced from [cninfo.com.cn](http://www.cninfo.com.cn) (the
12
- officially designated disclosure platform) and parsed into structured Markdown with YAML
13
- frontmatter, preserved headings, paragraphs and tables — ready for LLM reading and analysis.
7
+ [DataSinking](https://datasink.ing) serves **full-text financial reports** — annual, semi-annual
8
+ and quarterly — from **China, Korea and Japan** as clean **Markdown**, ready for LLM reading
9
+ and RAG. Query by FMP-style symbol (`600519.SS`, `005930.KS`, `7203.T`) or filter by exchange,
10
+ report period, or **section** — pull just the MD&A / risk section instead of the whole report.
11
+ Reports are sourced from official disclosure platforms and parsed into structured Markdown with
12
+ YAML frontmatter, preserved headings, paragraphs and tables.
14
13
 
15
14
  ---
16
15
 
@@ -22,8 +21,9 @@ Examples, research and tutorials showing how to work with financial report data,
22
21
  datasinking/
23
22
  ├── examples/ # Example scripts: pull data from the API and analyze it
24
23
  ├── research/ # Research notes / blog posts (reproducing paper-style presentation)
25
- ├── datasinking/ # Python client — pip install datasinking
26
- ├── llm-examples.md # Ask an LLM — no code needed (3 end-to-end examples)
24
+ ├── datasinking/ # Python client + MCP server — pip install "datasinking[mcp]"
25
+ ├── mcp-server.md # How to configure the MCP server (for AI agents: Claude / Cursor / Codex / DeepSeek)
26
+ ├── llm-examples.md # Ask an LLM — no code needed (8 end-to-end examples)
27
27
  ├── api-examples.md # 7 examples × 3 interfaces (curl / Python / LLM)
28
28
  └── README.md
29
29
  ```
@@ -57,7 +57,7 @@ All five functions (curl / Python / LLM): [`api-examples.md`](api-examples.md).
57
57
 
58
58
  Don't want to write code? Point any LLM at [datasink.ing](https://datasink.ing),
59
59
  give it your API key, and ask in plain language. See
60
- [`llm-examples.md`](llm-examples.md) for three end-to-end examples — explore
60
+ [`llm-examples.md`](llm-examples.md) for eight end-to-end examples — explore
61
61
  coverage, list a company's reports, and extract a figure with correct units.
62
62
 
63
63
  ## Examples (`examples/`)
@@ -70,7 +70,7 @@ coverage, list a company's reports, and extract a figure with correct units.
70
70
 
71
71
  Every example pulls from the live API and runs as-is.
72
72
 
73
- > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 130k+ documents). Free keys work too, but fall back to slow per-document fetching (1 req/s + shared daily quota); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
73
+ > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (1 req/s + shared daily quota); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
74
74
 
75
75
  ## Research (`research/`)
76
76
 
@@ -86,16 +86,17 @@ Start from [`research/TEMPLATE.md`](research/TEMPLATE.md).
86
86
 
87
87
  | | |
88
88
  |---|---|
89
- | Coverage | SSE / SZSE / BSE, 5,000+ A-share companies |
89
+ | Coverage | China (SSE / SZSE / BSE) · Korea (KOSPI / KOSDAQ / KONEX) · Japan (TSE) |
90
90
  | Document types | annual / semiannual / q1 / q3 / amendment |
91
+ | Update frequency | Daily — Korea/Japan via official DART/EDINET APIs (new filings within ~24h of publication) |
91
92
  | Format | Full-text Markdown (with YAML frontmatter) |
92
- | API | REST — `GET /documents`, batch download, `with_content=1` for full text |
93
- | Symbols | FMP style: `600519.SS` / `000001.SZ` / `830799.BJ` |
93
+ | API | REST — `GET /documents`, batch download, `with_content=1` for full text, `?section=` + `/sections` for chapter-level access |
94
+ | Symbols | FMP style: `600519.SS` / `005930.KS` / `7203.T` |
94
95
  | Auth | `?apikey=` query parameter (FMP style) |
95
96
 
96
97
  ## Data source
97
98
 
98
- All reports originate from [cninfo.com.cn](http://www.cninfo.com.cn), the officially designated information disclosure platform of China's listed companies.
99
+ Reports are sourced from official regulatory disclosure platforms in each market and converted in-house to clean Markdown.
99
100
 
100
101
  ## License
101
102
 
@@ -0,0 +1,119 @@
1
+ # -*- coding: utf-8 -*-
2
+ """DataSinking MCP server (Model Context Protocol).
3
+
4
+ Expose the DataSinking API — full-text financial reports across Asia
5
+ (China, Korea, Japan) as clean Markdown — to AI agents (Claude, Cursor,
6
+ Codex, DeepSeek, Windsurf, …).
7
+
8
+ Install the MCP extra::
9
+
10
+ pip install "datasinking[mcp]"
11
+
12
+ Then run::
13
+
14
+ datasinking-mcp
15
+
16
+ or add to any MCP client with ``command: datasinking-mcp`` (stdio). Requires
17
+ the environment variable ``DATASINK_API_KEY`` (get a free key at
18
+ https://datasink.ing).
19
+ """
20
+
21
+ import os
22
+ from typing import Optional
23
+
24
+ import requests
25
+
26
+ # mcp v1 uses FastMCP; v2 renamed it to MCPServer. Support both.
27
+ try:
28
+ from mcp.server.fastmcp import FastMCP # mcp v1
29
+ except ImportError: # pragma: no cover
30
+ from mcp.server.mcpserver import MCPServer as FastMCP # mcp v2
31
+
32
+ BASE_URL = "https://api.datasink.ing"
33
+ API_KEY = os.environ.get("DATASINK_API_KEY", "")
34
+
35
+ mcp = FastMCP(
36
+ "DataSinking",
37
+ instructions=(
38
+ "DataSinking 提供亚洲(中国/韩国/日本)上市公司财报的全文 Markdown。"
39
+ "symbol 用 FMP 风格:600519.SS(茅台)、005930.KS(三星)、7203.T(丰田)。"
40
+ "要省 token 时用 get_section 只取某一章(如 MD&A),而不是 get_report 拿整篇。"
41
+ ),
42
+ )
43
+
44
+
45
+ def _get(path: str, params: Optional[dict] = None) -> dict:
46
+ """Call the DataSinking API, carrying the API key automatically."""
47
+ if not API_KEY:
48
+ raise RuntimeError("缺少 DATASINK_API_KEY 环境变量(去 datasink.ing 免费拿一个)")
49
+ p = dict(params or {})
50
+ p["apikey"] = API_KEY
51
+ r = requests.get(f"{BASE_URL}{path}", params=p, timeout=90)
52
+ r.raise_for_status()
53
+ return r.json()
54
+
55
+
56
+ @mcp.tool()
57
+ def list_exchanges() -> list:
58
+ """列出 DataSinking 覆盖的交易所代码(sse/szse/bj/ksc/koe/knx/jpx)。"""
59
+ return _get("/exchanges").get("exchanges", [])
60
+
61
+
62
+ @mcp.tool()
63
+ def list_stocks(exchange: str, limit: int = 20) -> dict:
64
+ """列出某交易所的股票(含每家公司的报告数)。
65
+
66
+ Args:
67
+ exchange: 交易所代码,如 sse / szse / ksc / koe / jpx
68
+ limit: 返回前 N 家(默认 20,防止列表过长)
69
+ """
70
+ data = _get("/stocks", {"exchange": exchange})
71
+ return {"exchange": exchange, "total": data.get("total", 0), "items": data.get("items", [])[:limit]}
72
+
73
+
74
+ @mcp.tool()
75
+ def list_reports(symbol: str, doc_type: str = "annual", size: int = 10) -> dict:
76
+ """列出某公司的报告(元数据,不含正文)。
77
+
78
+ Args:
79
+ symbol: FMP 风格代码,如 600519.SS / 005930.KS / 7203.T
80
+ doc_type: annual / semiannual / q1 / q3
81
+ size: 返回条数(默认 10)
82
+ """
83
+ return _get("/documents", {"symbol": symbol, "doc_type": doc_type, "size": size})
84
+
85
+
86
+ @mcp.tool()
87
+ def get_report(document_id: int) -> dict:
88
+ """获取单篇报告的全文(元数据 + Markdown 正文)。
89
+
90
+ Args:
91
+ document_id: 报告 ID,从 list_reports 的 items[].id 拿
92
+ """
93
+ return _get(f"/documents/{document_id}")
94
+
95
+
96
+ @mcp.tool()
97
+ def list_sections(document_id: int) -> dict:
98
+ """列出某报告的所有章节标题(供 get_section 用)。"""
99
+ return _get(f"/documents/{document_id}/sections")
100
+
101
+
102
+ @mcp.tool()
103
+ def get_section(document_id: int, section: str) -> dict:
104
+ """只取报告的某一章(省 token,适合 RAG)。
105
+
106
+ Args:
107
+ document_id: 报告 ID
108
+ section: 章节标题的关键词,如 "管理层讨论与分析" / "MD&A" / "财务报告"
109
+ """
110
+ return _get(f"/documents/{document_id}", {"section": section})
111
+
112
+
113
+ def main() -> None:
114
+ """Entry point for the ``datasinking-mcp`` console script."""
115
+ mcp.run()
116
+
117
+
118
+ if __name__ == "__main__":
119
+ main()
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datasinking
3
- Version: 0.1.1
4
- Summary: Python client for DataSinking — full-text China A-share financial reports as Markdown.
3
+ Version: 0.2.0
4
+ Summary: Python client for DataSinking — full-text Asian financial reports (China, Korea, Japan) as Markdown.
5
5
  Author: DataSinking
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://datasink.ing
8
8
  Project-URL: Documentation, https://datasink.ing/docs
9
9
  Project-URL: Repository, https://github.com/heubme2020/datasinking
10
- Keywords: a-share,china,financial reports,markdown,api,stock
10
+ Keywords: a-share,china,korea,japan,financial reports,markdown,api,mcp,model-context-protocol,rag,llm
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Operating System :: OS Independent
@@ -15,21 +15,23 @@ Classifier: Topic :: Office/Business :: Financial
15
15
  Requires-Python: >=3.8
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
+ Provides-Extra: mcp
19
+ Requires-Dist: mcp>=1.0.0; extra == "mcp"
20
+ Requires-Dist: requests>=2.28; extra == "mcp"
18
21
  Dynamic: license-file
19
22
 
20
23
  # DataSinking
21
24
 
22
25
  [![PyPI version](https://img.shields.io/pypi/v/datasinking.svg)](https://pypi.org/project/datasinking/)
23
26
 
24
- **Full-text A-share financial reports, as clean Markdown.**
27
+ **Full-text financial reports across Asia, as clean Markdown.**
25
28
 
26
- [DataSinking](https://datasink.ing) is a **China stock market data API** that serves
27
- **full-text A-share financial reports** — annual, semi-annual and quarterly — as clean
28
- **Markdown**. Download China A-share financial statements (balance sheet, income statement,
29
- cash flow) by FMP-style symbol (`600519.SS`) or filter by exchange / report period, through a
30
- simple REST API. Raw PDFs are sourced from [cninfo.com.cn](http://www.cninfo.com.cn) (the
31
- officially designated disclosure platform) and parsed into structured Markdown with YAML
32
- frontmatter, preserved headings, paragraphs and tables — ready for LLM reading and analysis.
29
+ [DataSinking](https://datasink.ing) serves **full-text financial reports** — annual, semi-annual
30
+ and quarterly — from **China, Korea and Japan** as clean **Markdown**, ready for LLM reading
31
+ and RAG. Query by FMP-style symbol (`600519.SS`, `005930.KS`, `7203.T`) or filter by exchange,
32
+ report period, or **section** — pull just the MD&A / risk section instead of the whole report.
33
+ Reports are sourced from official disclosure platforms and parsed into structured Markdown with
34
+ YAML frontmatter, preserved headings, paragraphs and tables.
33
35
 
34
36
  ---
35
37
 
@@ -41,8 +43,9 @@ Examples, research and tutorials showing how to work with financial report data,
41
43
  datasinking/
42
44
  ├── examples/ # Example scripts: pull data from the API and analyze it
43
45
  ├── research/ # Research notes / blog posts (reproducing paper-style presentation)
44
- ├── datasinking/ # Python client — pip install datasinking
45
- ├── llm-examples.md # Ask an LLM — no code needed (3 end-to-end examples)
46
+ ├── datasinking/ # Python client + MCP server — pip install "datasinking[mcp]"
47
+ ├── mcp-server.md # How to configure the MCP server (for AI agents: Claude / Cursor / Codex / DeepSeek)
48
+ ├── llm-examples.md # Ask an LLM — no code needed (8 end-to-end examples)
46
49
  ├── api-examples.md # 7 examples × 3 interfaces (curl / Python / LLM)
47
50
  └── README.md
48
51
  ```
@@ -76,7 +79,7 @@ All five functions (curl / Python / LLM): [`api-examples.md`](api-examples.md).
76
79
 
77
80
  Don't want to write code? Point any LLM at [datasink.ing](https://datasink.ing),
78
81
  give it your API key, and ask in plain language. See
79
- [`llm-examples.md`](llm-examples.md) for three end-to-end examples — explore
82
+ [`llm-examples.md`](llm-examples.md) for eight end-to-end examples — explore
80
83
  coverage, list a company's reports, and extract a figure with correct units.
81
84
 
82
85
  ## Examples (`examples/`)
@@ -89,7 +92,7 @@ coverage, list a company's reports, and extract a figure with correct units.
89
92
 
90
93
  Every example pulls from the live API and runs as-is.
91
94
 
92
- > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 130k+ documents). Free keys work too, but fall back to slow per-document fetching (1 req/s + shared daily quota); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
95
+ > `03_download_exchange.py` fetches every report on an exchange (e.g. all of Shenzhen — 150k+ documents). Free keys work too, but fall back to slow per-document fetching (1 req/s + shared daily quota); a **paid (yearly)** key is strongly recommended for full-exchange downloads.
93
96
 
94
97
  ## Research (`research/`)
95
98
 
@@ -105,16 +108,17 @@ Start from [`research/TEMPLATE.md`](research/TEMPLATE.md).
105
108
 
106
109
  | | |
107
110
  |---|---|
108
- | Coverage | SSE / SZSE / BSE, 5,000+ A-share companies |
111
+ | Coverage | China (SSE / SZSE / BSE) · Korea (KOSPI / KOSDAQ / KONEX) · Japan (TSE) |
109
112
  | Document types | annual / semiannual / q1 / q3 / amendment |
113
+ | Update frequency | Daily — Korea/Japan via official DART/EDINET APIs (new filings within ~24h of publication) |
110
114
  | Format | Full-text Markdown (with YAML frontmatter) |
111
- | API | REST — `GET /documents`, batch download, `with_content=1` for full text |
112
- | Symbols | FMP style: `600519.SS` / `000001.SZ` / `830799.BJ` |
115
+ | API | REST — `GET /documents`, batch download, `with_content=1` for full text, `?section=` + `/sections` for chapter-level access |
116
+ | Symbols | FMP style: `600519.SS` / `005930.KS` / `7203.T` |
113
117
  | Auth | `?apikey=` query parameter (FMP style) |
114
118
 
115
119
  ## Data source
116
120
 
117
- All reports originate from [cninfo.com.cn](http://www.cninfo.com.cn), the officially designated information disclosure platform of China's listed companies.
121
+ Reports are sourced from official regulatory disclosure platforms in each market and converted in-house to clean Markdown.
118
122
 
119
123
  ## License
120
124
 
@@ -3,7 +3,10 @@ README.md
3
3
  pyproject.toml
4
4
  datasinking/__init__.py
5
5
  datasinking/client.py
6
+ datasinking/mcp_server.py
6
7
  datasinking.egg-info/PKG-INFO
7
8
  datasinking.egg-info/SOURCES.txt
8
9
  datasinking.egg-info/dependency_links.txt
10
+ datasinking.egg-info/entry_points.txt
11
+ datasinking.egg-info/requires.txt
9
12
  datasinking.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ datasinking-mcp = datasinking.mcp_server:main
@@ -0,0 +1,4 @@
1
+
2
+ [mcp]
3
+ mcp>=1.0.0
4
+ requests>=2.28
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "datasinking"
7
- version = "0.1.1"
8
- description = "Python client for DataSinking — full-text China A-share financial reports as Markdown."
7
+ version = "0.2.0"
8
+ description = "Python client for DataSinking — full-text Asian financial reports (China, Korea, Japan) as Markdown."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
11
11
  license = { text = "MIT" }
12
12
  authors = [{ name = "DataSinking" }]
13
- keywords = ["a-share", "china", "financial reports", "markdown", "api", "stock"]
13
+ keywords = ["a-share", "china", "korea", "japan", "financial reports", "markdown", "api", "mcp", "model-context-protocol", "rag", "llm"]
14
14
  classifiers = [
15
15
  "Programming Language :: Python :: 3",
16
16
  "License :: OSI Approved :: MIT License",
@@ -19,6 +19,12 @@ classifiers = [
19
19
  ]
20
20
  dependencies = []
21
21
 
22
+ [project.optional-dependencies]
23
+ mcp = ["mcp>=1.0.0", "requests>=2.28"]
24
+
25
+ [project.scripts]
26
+ datasinking-mcp = "datasinking.mcp_server:main"
27
+
22
28
  [project.urls]
23
29
  Homepage = "https://datasink.ing"
24
30
  Documentation = "https://datasink.ing/docs"
File without changes
File without changes