A-share data over MCP: quotes, profile, order book, K-line, financials, money flow, boards. 31 tools
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http a-api-a-share-data-api https://api.ashareapi.com/mcp --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.a-api-a-share-data-api]
url = "https://api.ashareapi.com/mcp"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add a-api-a-share-data-api --url https://api.ashareapi.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"a-api-a-share-data-api": {
"url": "https://api.ashareapi.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"a-api-a-share-data-api": {
"type": "http",
"url": "https://api.ashareapi.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"a-api-a-share-data-api": {
"httpUrl": "https://api.ashareapi.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"a-api-a-share-data-api": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.ashareapi.com/mcp",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"a-api-a-share-data-api": {
"url": "https://api.ashareapi.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}