Home / A股数据 API (A-Share Data API) MCP / Setup guides / Claude Code
How to add the A股数据 API (A-Share Data API) MCP server to Claude Code
Server URL: https://api.ashareapi.com/mcp
Sign-in: No sign-in. Paste the URL and it connects.
Our hands-on result: Works 5 of 5 tasks passed, tested Oct 20, 2026 with MCP TypeScript SDK (reference client).
Claude Code setup
claude mcp add --transport http com-ashareapi-ashare-data-api https://api.ashareapi.com/mcp- Run the command, then run claude mcp get com-ashareapi-ashare-data-api to confirm it connected.
We ran the hands-on test in a reference client, not in Claude Code. This config follows Claude Code's documented format for remote (Streamable HTTP) servers. If it fails for you, tell us and we will retest.
Same server, other clients
- A股数据 API (A-Share Data API) MCP in Claude
- A股数据 API (A-Share Data API) MCP in Cursor
- A股数据 API (A-Share Data API) MCP in VS Code
- A股数据 API (A-Share Data API) MCP in ChatGPT
Full A股数据 API (A-Share Data API) test report | Compare all tested connectors | Connector Weather