zwldarren/akshare-one-mcp
MCP server that provides access to Chinese stock market data using akshare-one
c6300f444a46akshare-one-mcp0.5.3 in pyproject.tomlai.smithery/zwldarren-akshare-one-mcp io.github.zwldarren/akshare-one-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 10 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
get_balance_sheet, get_cash_flow, get_financial_metrics, get_hist_data, get_income_statement, get_news_data and 1 moreNo tool was seen to: start other programs on the machine; read or write files; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Requests whose address comes from the tool's input: the agent decides where they go.
get_hist_data1 callget_realtime_data1 callget_news_data1 callget_balance_sheet1 callget_income_statement1 callget_cash_flow1 callget_financial_metrics1 call
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses7 tools · get_balance_sheet, get_cash_flow, get_financial_metrics +4
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (10: 10 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
get_balance_sheettool Get company balance sheet data.Networkoutside text
Get company balance sheet data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_cash_flowtool Get company cash flow statement data.Networkoutside text
Get company cash flow statement data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_financial_metricstool Get key financial metrics from the three major financial statements.Networkoutside text
Get key financial metrics from the three major financial statements.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_hist_datatool Get historical stock market data. 'eastmoney_direct' support all A,B,H sharesNetworkoutside text
Get historical stock market data. 'eastmoney_direct' support all A,B,H shares
With fallback on, the sources are tried as 'eastmoney', 'eastmoney_direct',
'sina' and 'ths', starting with the requested one.get_income_statementtool Get company income statement data.Networkoutside text
Get company income statement data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_inner_trade_datatool Get company insider trading data.
Get company insider trading data.
get_news_datatool Get stock-related news data.Networkoutside text
Get stock-related news data.
With fallback on, the sources are tried as 'eastmoney' and 'ths', starting
with the requested one.get_realtime_datatool Get real-time stock market data. 'eastmoney_direct' support all A,B,H sharesNetworkoutside text
Get real-time stock market data. 'eastmoney_direct' support all A,B,H shares
With fallback on, the sources are tried as 'eastmoney_direct', 'eastmoney',
'xueqiu' and 'ths', starting with the requested one.get_time_infotool Get current time with ISO format, timestamp, and the last trading day.
Get current time with ISO format, timestamp, and the last trading day.
get_valuationtool Get daily valuation history: PE (TTM and static), PB, PEG, price/cash,
Get daily valuation history: PE (TTM and static), PB, PEG, price/cash,
price/sales, share counts and market cap.
The upstream is Eastmoney's per-stock valuation series, called through
akshare rather than akshare-one: akshare-one has no valuation domain yet, so
there is no ako.get_valuation to route through and nothing in providers.py
to fall back over. Every other data tool goes through that layer, and this
one should move onto it as soon as upstream gains the domain.
No other source publishes the same daily panel, so there is no source or
fallback parameter: a failure surfaces instead of being answered from a
series with different fields.
Unlike the other tools, the records keep the upstream's Chinese field names
verbatim (数据日期, PE(TTM), ...), because akshare-one's English vocabulary
does not cover this domain and inventing one here would pre-empt it.Text the model reads (10)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get_hist_data tool
Get historical stock market data. 'eastmoney_direct' support all A,B,H shares
With fallback on, the sources are tried as 'eastmoney', 'eastmoney_direct',
'sina' and 'ths', starting with the requested one.get_realtime_data tool
Get real-time stock market data. 'eastmoney_direct' support all A,B,H shares
With fallback on, the sources are tried as 'eastmoney_direct', 'eastmoney',
'xueqiu' and 'ths', starting with the requested one.get_news_data tool
Get stock-related news data.
With fallback on, the sources are tried as 'eastmoney' and 'ths', starting
with the requested one.get_balance_sheet tool
Get company balance sheet data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_income_statement tool
Get company income statement data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_cash_flow tool
Get company cash flow statement data.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_inner_trade_data tool
Get company insider trading data.
get_financial_metrics tool
Get key financial metrics from the three major financial statements.
With fallback on, the sources are tried as 'sina' and 'eastmoney_direct',
starting with the requested one.get_valuation tool
Get daily valuation history: PE (TTM and static), PB, PEG, price/cash,
price/sales, share counts and market cap.
The upstream is Eastmoney's per-stock valuation series, called through
akshare rather than akshare-one: akshare-one has no valuation domain yet, so
there is no ako.get_valuation to route through and nothing in providers.py
to fall back over. Every other data tool goes through that layer, and this
one should move onto it as soon as upstream gains the domain.
No other source publishes the same daily panel, so there is no source or
fallback parameter: a failure surfaces instead of being answered from a
series with different fields.
Unlike the other tools, the records keep the upstream's Chinese field names
verbatim (数据日期, PE(TTM), ...), because akshare-one's English vocabulary
does not cover this domain and inventing one here would pre-empt it.get_time_info tool
Get current time with ISO format, timestamp, and the last trading day.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 10 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 10 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 10 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 10 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 10 tool handlers traced
- Tools that start processesNot seen in the traced code of 10 capabilities; 10 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 10 capabilities; 10 more call code the scanner could not follow, where it may happen
- Tools that call the network7 of 10 capabilities call the network; 3 more call code the scanner could not follow, where it may happen
Where the code is: 10 handlers in 1 file at commit c6300f444a46
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionfastmcp >=2.11.3
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 10 capabilities; 10 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package. A hosted version is also offered: https://server.smithery.ai/@zwldarren/akshare-one-mcp/mcp not assessed a code scan covers the repository, not what runs on the vendor's servers |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| MCP SDK | fastmcp >=2.11.3 |
| Servers in the code | 1 (akshare-one-mcp) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-12 |
| Signed releases | not checked yet |
Where it is published
| MCP Registry | ai.smithery/zwldarren-akshare-one-mcp io.github.zwldarren/akshare-one-mcp |
|---|---|
| Hosted endpoint | https://server.smithery.ai/@zwldarren/akshare-one-mcp/mcp |
| Listed in | 6 catalogs (awesome_tensorblock, github_search, glama, mcp_registry, mcp_toplist, mcpservers_org) |
| License | MIT |
| Created | 2025-04-08 |
| Topics | akshare mcp mcp-server stock-data |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.