English · 简体中文 · Quick start
TongDaXin data for AI-assisted A-share research
Look up a quote, read a company's cash flow statement or follow a stock through the trading day in Codex, Claude Code, DeepSeek Harness or Antigravity CLI. The tools fetch market data, and the skills guide your assistant through each research question.
List the first three indices in the TDX broad-market group (
宽基规模). Include their exchange codes.
The assistant can answer this one offline. The first lines returned by tdx_index_list with {"group":"宽基规模"} are shown below.
主要指数清单: 50/100 个(分组: 宽基规模)
999999.SH 上证指数 [宽基规模]
399001.SZ 深证成指 [宽基规模]
399330.SZ 深证100 [宽基规模]
Quick start
To build the plugins from source, use Node.js 22.16 or newer.
git clone https://github.com/matrevi/awesome-tdx-finance-toolbox.git
cd awesome-tdx-finance-toolbox
npm ci
npm run build
Already have an archive containing dist/? Start in the extracted directory. Choose your host below and run its commands there. Keep local marketplace directories in place after installation.
codex plugin marketplace add ./dist/codex
codex plugin add awesome-tdx-finance-toolbox@tdx-toolbox
Claude Codeclaude plugin marketplace add ./dist/claude-code
claude plugin install awesome-tdx-finance-toolbox@tdx-toolbox
DeepSeek Harness (DSH)dsh plugin --profile web add "$PWD/dist/dsh-tdx-finance-toolbox-1.0.0.tgz"
For a headless session, use --profile headless.
agy plugin install ./dist/antigravity/plugins/awesome-tdx-finance-toolbox
OpenClawInstall the project's Node dependencies with npm ci, then link the checkout.
openclaw plugins install . --link
openclaw plugins inspect tdx-finance-mcp
Other MCP clients or a single skillFor a client with an mcpServers configuration, install dependencies with npm ci in the checkout, then point the client at the stdio entry. Replace the path with your absolute path. On Windows you can use forward slashes, for example C:/projects/awesome-tdx-finance-toolbox/mcp-stdio.mjs.
{
"mcpServers": {
"tdx-finance-mcp": {
"command": "node",
"args": ["/absolute/path/to/awesome-tdx-finance-toolbox/mcp-stdio.mjs"]
}
}
}
For a standalone installation, run npm install --global ./dist/tdx-tdx-finance-mcp-1.0.0.tgz and configure the client to launch tdx-finance-mcp. To add an individual skill, copy its entire folder from dist/skills/ into your host's skills directory. Skills that query TDX also need the MCP server connected.
Check the connection. Open a new session and try the index question above. The tool should report 50 matches from the 100-index catalog, and the assistant can show the first three. No TDX token is needed for this check. Host verification guide
Research skills
| Ask your assistant | Skill |
|---|---|
| “What is Ping An Bank's main business? Its Shenzhen stock code is 000001.” | Company profile |
| “Show me the latest available cash flow statement for Kweichow Moutai (600519).” | Financial statements |
| “Using five-minute bars, how did volume change during today's session for 601600?” | Intraday tracking |
The company profile skill requests the business overview through tdx_api_data. The stock code is a string to preserve its leading zeros.
{"entry":"TdxSharePCCW.tdxf10_gg_zxts","code":"000001","fixedTag":"gsgy"}
The catalog includes Chinese trigger phrases, tool dependencies and workflows for all 48 skills. Scripted strategies such as OBV/MA and first-to-second limit-up screening have additional Python requirements. Their local TQ modes also need a running Windows TDX terminal. Browse the skill catalog
Tool reference
| Tool | What you can look up |
|---|---|
tdx_lookup_stock |
Securities and market codes matching a name or alias |
tdx_quotes |
Quote snapshots, price changes and five levels of order-book depth |
tdx_kline |
Historical OHLC bars, with period and price-adjustment options |
tdx_api_data |
F10 company profiles, financials, shareholders, dividends and trading activity |
tdx_screener |
Securities matching a natural-language screen |
tdx_indicator_select |
Financial indicators matching a query |
tdx_index_list |
Offline · 100 major indices, filterable by group |
tdx_industry_list |
Offline · 503 industry groups across three levels |
The two offline tools use bundled snapshots. The other six query TDX over the network. Try a live query anonymously first. If a route requires a credential, set TDX_API_TOKEN in the stdio server's environment (TDX_API_KEY is the fallback). OpenClaw reads the plugin setting tdxApiToken or the environment variable TDX_API_KEY. API and data dictionary · F10 route catalog
Development
After npm ci, run the offline checks from the repository root.
npm run check
npm test
npm run build
npm run test:packages
The package tests start the server from installed artifacts. For live upstream checks, node tests/run-tests.mjs contacts TDX and writes reports under tests/. Test guide · Architecture · Contributor guide
The toolbox starts at 1.0.0. If you have a legacy 3.x installation, explicitly install the 1.0.0 artifact for your host. The MCP service ID remains tdx-finance-mcp. Versioning and migration · Changelog · MIT license

No comments yet. Be the first to write one.