MCP server for retrieving Japanese stock market data via J-Quants API v2
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-shigechika-jquants-mcp": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for retrieving Japanese stock market data via J-Quants API v2
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationBe the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol (MCP) server that provides AI assistants with direct access to the Spreedly payments API. Enables LLMs to manage gateways, process transactions, tokenize payment methods, and more, through structured, validated tool calls.
MCP server for InsightSentry financial data API - market data, options, screeners, and more
A Model Context Protocol server allows Clients to interact with Xero
MCP Security Weekly
Get CVE alerts and security updates for io.github.shigechika/jquants-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
English | 日本語
An MCP (Model Context Protocol) server that retrieves Japanese stock market data via J-Quants API v2.
User-facing documentation site: https://shigechika.github.io/jquants-mcp/ (also available in 日本語) — start there if you want a gentler 5-minute introduction. This README is the technical reference (config schema, all 43 tools with parameter tables, deployment).
Release history and changelog: GitHub Releases.
Deployment shapes (stdio / Docker Compose / self-hosted HTTP / Cloud Run) and how to pick between them: see docs/deploy/.
24-second loop showing real output from the Claude iPhone app calling jquants-mcp tools:
get_sector_performanceget_top_turnover_valuerender_candlestickget_fins_summaryrender_comparison_chartIndividual frames are in docs/screenshots/.
# Using uv (recommended)
uv pip install jquants-mcp
# Using pip
pip install jquants-mcp
git clone https://github.com/shigechika/jquants-mcp.git
cd jquants-mcp
uv sync --dev
Settings are loaded with the following priority (later wins):
~/.jquants-api/jquants-api.toml — API key only (J-Quants official config)~/.config/jquants-mcp/config.ini (user global)./config.ini (current directory)If you already use jquants-api-client, your API key is automatically read from ~/.jquants-api/jquants-api.toml. No extra configuration needed.
jquants-mcp login
Opens a browser to J-Quants (AWS Cognito, PKCE flow), and on success writes the API key to ~/.config/jquants-mcp/config.ini (mode 0600). Same auth backend as the official jquants-cli. Use jquants-mcp logout to clear the saved key.
MCP-specific settings (cache, client behavior):
[jquants]
# cache_dir = ~/.cache/jquants-mcp
# base_url = https://api.jquants.com/v2
[client]
# max_retries = 5
# retry_base_delay = 1.0
# max_pages = 10
[server]
# ssl_certfile = /path/to/fullchain.pem
# ssl_keyfile = /path/to/privkey.pem
# bearer_token = <secret>
# encryption_key = <random-secret> # enables per-user API key storage (multi-user mode)
[oauth]
# github_client_id = <your-githu
... [View full README on GitHub](https://github.com/shigechika/jquants-mcp#readme)