tdx-finance-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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 buildAlready 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-toolboxclaude plugin marketplace add ./dist/claude-code
claude plugin install awesome-tdx-finance-toolbox@tdx-toolboxdsh 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-toolboxInstall the project's Node dependencies with npm ci, then link the checkout.
openclaw plugins install . --link
openclaw plugins inspect tdx-finance-mcpFor 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
Related MCP server: Stock SDK MCP Server
Research skills
Ask your assistant | Skill |
“What is Ping An Bank's main business? Its Shenzhen stock code is 000001.” | |
“Show me the latest available cash flow statement for Kweichow Moutai (600519).” | |
“Using five-minute bars, how did volume change during today's session for 601600?” |
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 |
| Securities and market codes matching a name or alias |
| Quote snapshots, price changes and five levels of order-book depth |
| Historical OHLC bars, with period and price-adjustment options |
| F10 company profiles, financials, shareholders, dividends and trading activity |
| Securities matching a natural-language screen |
| Financial indicators matching a query |
| Offline · 100 major indices, filterable by group |
| 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:packagesThe 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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
China A-share market data over MCP: 22 tools for quotes, K-line, financials, money flow, top-trader boards, sectors, macro, convertible bonds and factor screening. Five tools need no API key, so you can connect and try it immediately.
China A-share market data for research, backtesting and AI agents via MCP.
Provide access to Chinese stock market data including historical prices, real-time data, news, and…
China A-share data for AI agents: 57 read-only tools plus 6 tools for your own watchlist.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables MCP clients like Claude to query Chinese A-share market data, including K-line charts with forward/backward adjustment, limit-up and limit-down pools, per-stock fund flows, index quotes, and stock news, with automatic symbol normalization and retry handling for throttled data sources.6MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to access real-time and historical market data for A-shares, Hong Kong, US stocks, funds, futures, and options, calculate technical indicators, analyze sectors, screen stocks, and monitor portfolios through MCP tools, prompts, and skills.159 npmISC
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants and MCP-compatible clients to access real-time and historical market data across A-shares, Hong Kong, US equities, funds, futures, and options, along with technical indicators, sector analysis, screening, prompts, and resources.159 npmISC
- FlicenseNot gradedqualityAmaintenanceEnables AI agents and backends to query A-share, US equity, ETF, index, and crypto market data, compute technical indicators, retrieve fundamentals, news, filings, money flow, and export CSV/JSON for code workflows through MCP tools and HTTP APIs.-
