You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An MCP server based on [akshare-one](https://github.com/zwldarren/akshare-one), providing interfaces for China stock market data. It offers a set of tools for retrieving financial information including historical stock data, real-time data, news data, financial statements, etc.
10
+
## Overview
11
+
12
+
An MCP server based on [akshare-one](https://github.com/zwldarren/akshare-one), providing comprehensive interfaces for China stock market data. It offers a set of powerful tools for retrieving financial information including historical stock data, real-time data, news data, and financial statements.
- recent_n (number, optional): Number of most recent records to return (default: 10)
56
+
<details>
57
+
<summary>Parameters</summary>
45
58
46
-
### `get_balance_sheet`
59
+
-`symbol` (string, required): Stock code
60
+
-`recent_n` (number, optional): Number of most recent records to return (default: 10)
47
61
62
+
</details>
63
+
64
+
### Financial Statement Tools
65
+
66
+
#### `get_balance_sheet`
48
67
Get company balance sheet data.
49
68
50
-
- symbol (string): Stock code
51
-
- recent_n (number, optional): Number of most recent records to return (default: 10)
69
+
<details>
70
+
<summary>Parameters</summary>
52
71
53
-
### `get_income_statement`
72
+
-`symbol` (string, required): Stock code
73
+
-`recent_n` (number, optional): Number of most recent records to return (default: 10)
54
74
75
+
</details>
76
+
77
+
#### `get_income_statement`
55
78
Get company income statement data.
56
79
57
-
- symbol (string): Stock code
58
-
- recent_n (number, optional): Number of most recent records to return (default: 10)
80
+
<details>
81
+
<summary>Parameters</summary>
82
+
83
+
-`symbol` (string, required): Stock code
84
+
-`recent_n` (number, optional): Number of most recent records to return (default: 10)
59
85
60
-
### `get_cash_flow`
86
+
</details>
61
87
88
+
#### `get_cash_flow`
62
89
Get company cash flow statement data.
63
90
64
-
- symbol (string): Stock code
65
-
- source (string, optional): Data source (default: 'sina')
66
-
- recent_n (number, optional): Number of most recent records to return (default: 10)
91
+
<details>
92
+
<summary>Parameters</summary>
67
93
68
-
### `get_inner_trade_data`
94
+
-`symbol` (string, required): Stock code
95
+
-`source` (string, optional): Data source (default: 'sina')
96
+
-`recent_n` (number, optional): Number of most recent records to return (default: 10)
69
97
98
+
</details>
99
+
100
+
### Analysis & Metrics Tools
101
+
102
+
#### `get_inner_trade_data`
70
103
Get company insider trading data.
71
104
72
-
- symbol (string): Stock code
105
+
<details>
106
+
<summary>Parameters</summary>
73
107
74
-
### `get_financial_metrics`
108
+
-`symbol` (string, required): Stock code
75
109
110
+
</details>
111
+
112
+
#### `get_financial_metrics`
76
113
Get key financial metrics from the three major financial statements.
77
114
78
-
- symbol (string): Stock code
79
-
- recent_n (number, optional): Number of most recent records to return (default: 10)
115
+
<details>
116
+
<summary>Parameters</summary>
117
+
118
+
-`symbol` (string, required): Stock code
119
+
-`recent_n` (number, optional): Number of most recent records to return (default: 10)
80
120
81
-
### `get_time_info`
121
+
</details>
82
122
123
+
#### `get_time_info`
83
124
Get current time with ISO format, timestamp, and the last trading day.
84
125
85
-
## Usage Instructions
126
+
## Installation & Setup
86
127
87
128
### Running Modes
88
129
@@ -93,58 +134,89 @@ The server supports two modes: stdio and streamable-http
93
134
-`--host`: Host to bind to in HTTP mode (default: 0.0.0.0)
94
135
-`--port`: Port to listen on in HTTP mode (default: 8081)
95
136
96
-
**Note:** When using streamable-http mode, the MCP server will be available at `http://{host}:{port}/mcp`. For the default configuration, this would be `http://0.0.0.0:8081/mcp`.
137
+
> **Note:** When using streamable-http mode, the MCP server will be available at `http://{host}:{port}/mcp`. For the default configuration, this would be `http://0.0.0.0:8081/mcp`.
97
138
98
-
### Installing via Smithery
139
+
### Installation Options
99
140
141
+
#### Option 1: Via Smithery
100
142
To install akshare-one-mcp for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@zwldarren/akshare-one-mcp):
101
143
102
144
```bash
103
145
npx -y @smithery/cli install @zwldarren/akshare-one-mcp --client claude
104
146
```
105
147
106
-
### Installing via `uv`
107
-
148
+
#### Option 2: Via `uv`
108
149
Install [uv](<https://docs.astral.sh/uv/getting-started/installation/>) if you haven't already.
109
150
110
-
Add the following configuration:
151
+
Add the following configuration to your MCP Client settings:
0 commit comments