#37 · Primary category: Financial Data & Analytics Platforms

stock-api

browser mcp nodejs stocks

Query A-shares, US stocks, Hong Kong stocks and on-exchange fund quotes, and quickly integrate via Node.js, browser, CLI or MCP.

Project last updated:08/29/26

GitHub Stars

1.8K

Forks

209

Contributors

2

License

MIT

Why we included this project

China's market data is spread across several public feeds, and wiring them all into one app is fiddly. stock-api is a TypeScript library that wraps Tencent, Sina, and Eastmoney behind a single API with automatic failover, so one call returns a quote, a batch, or K-line history without you tracking which upstream is currently up. It carries zero runtime dependencies and runs wherever your code runs: Node.js, the browser, a CLI via npx, or an MCP server that AI agents can call directly. That MCP surface is what lifts it beyond plain data fetching, letting an agent pull a stock on demand. For teams building China-focused tools, it is a practical drop-in, with the caveat that the data comes from third-party public endpoints you should vet before relying on it in production.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category