j-quants-doc-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@j-quants-doc-mcp search for daily quotes endpoint"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
j-quants-doc-mcp
J-Quants APIのドキュメントを提供するMCPサーバー。Claude DesktopなどのMCPクライアントから、J-Quants APIのエンドポイント検索、詳細情報の取得、実行可能なサンプルコード生成、FAQ回答などの機能を利用できます。
インストール
必須要件
Python 3.10以上
uv (推奨) または pip
uv toolを使用する場合(推奨)
# GitHubから直接インストール
uv tool install git+https://github.com/J-Quants/j-quants-doc-mcp.git
# またはローカルから
git clone https://github.com/J-Quants/j-quants-doc-mcp.git
cd j-quants-doc-mcp
uv tool install .pipを使用する場合
# GitHubから直接インストール
pip install git+https://github.com/J-Quants/j-quants-doc-mcp.git
# またはローカルから
git clone https://github.com/J-Quants/j-quants-doc-mcp.git
cd j-quants-doc-mcp
pip install .Related MCP server: Anthropic Docs MCP Server
起動方法
スタンドアロンで起動
# uv toolでインストールした場合
uvx j-quants-doc-mcp
# pipでインストールした場合
j-quants-doc-mcpClaude Desktopから使用
claude_desktop_config.jsonに以下を追加:
{
"mcpServers": {
"j-quants-doc-mcp": {
"command": "uvx",
"args": ["j-quants-doc-mcp"]
}
}
}pipでインストールした場合は、j-quants-doc-mcp コマンドを直接指定します:
{
"mcpServers": {
"j-quants-doc-mcp": {
"command": "j-quants-doc-mcp",
"args": []
}
}
}設定ファイルの場所:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Cursorから使用
メニューバー「Cursor」→「Preferences」→「Cursor Settings」を開き、
左のメニュー「Tools & MCP」を選択し、「New MCP Server」をクリック。
開かれたJSONファイル(~/.cursor/mcp.json)に以下を追加:
{
"mcpServers": {
"j-quants-doc-mcp": {
"command": "uvx",
"args": ["j-quants-doc-mcp"]
}
}
}pipでインストールした場合は、j-quants-doc-mcp コマンドを直接指定します:
{
"mcpServers": {
"j-quants-doc-mcp": {
"command": "j-quants-doc-mcp",
"args": []
}
}
}以上の設定で、AIクライアントにてMCPサーバーを利用する準備が完了しました。
アップデート
既にインストール済みの場合、最新版へのアップデートは以下の方法で行えます。
uv toolを使用している場合
# GitHubから直接インストールした場合
uv tool upgrade j-quants-doc-mcp
# ローカルクローンからインストールした場合
cd j-quants-doc-mcp
git pull
uv tool upgrade j-quants-doc-mcppipを使用している場合
# GitHubから直接インストールした場合
pip install --upgrade git+https://github.com/J-Quants/j-quants-doc-mcp.git
# ローカルクローンからインストールした場合
cd j-quants-doc-mcp
git pull
pip install --upgrade .アップデート後、Claude DesktopやCursorを再起動することで新しいバージョンが反映されます。
トラブルシューティング
Claude Desktopで認識されない
設定ファイルのJSONが正しいか確認
Claude Desktopを再起動
MCPサーバーのログを確認
生成されたコードが実行できない
必要な依存関係をインストール:
pip install httpx python-dotenv環境変数が設定されているか確認
関連リンク
Available Tools
7 toolsdescribe_endpointA
指定されたエンドポイントの詳細情報を取得する。
Args: endpoint_name: エンドポイント名(V2例: eq-master, eq-bars-daily / V1例: daily_quotes, listed_info等) api_version: APIバージョン。会話の文脈からV1かV2かを判断して指定する。V1のエンドポイントパス(/v1/...)やV1特有の名前(daily_quotes等)が含まれる場合は'v1'を指定。デフォルトは'v2'。
Returns: エンドポイントの詳細情報を含む辞書(名前、パス、メソッド、パラメータ、レスポンス、認証要否、利用可能プラン)
Inputs: endpoint_name (required), api_version. Returns: object
fetch_spec_pageA
指定されたパスのSpecificationページを取得する。
エンドポイント詳細だけでなく、参照データページ(例: 休日区分、市場コード等)も取得できます。 Markdown内のリンクを辿って追加情報を取得する際に使用してください。
Args: path: Specificationページのパス(例: /spec/mkt-cal/holiday-division)
Returns: Specificationページの情報を含む辞書: - content: Markdownテキスト - source_url: 取得元URL - path: リクエストされたパス - cached: キャッシュから取得したかどうか - instruction: LLMへの指示
Inputs: path (required). Returns: object
get_infoA
API仕様書の範囲外の質問に回答するためのツール。
以下のような質問を受けた場合に、他のツール(search_endpoints等)ではなくこのツールを使用してください:
プランの種類、料金、価格
契約方法、申込方法、支払い方法
各プランで利用可能なデータ範囲・期間
プランの変更・アップグレード・解約
無料プランと有料プランの違い
データ提供期間・データ格納期間の詳細
アカウント・ログインに関する問い合わせ
サポート・お問い合わせ先
このツールは正確な情報源として公式ページへのリンクを提供します。
Args: query: ユーザーの質問内容(例: 「Premiumプランの料金は?」「問い合わせ先は?」等)
Returns: 公式ページへの案内リンクとLLM向けの回答指示を含む辞書
Inputs: query. Returns: object
get_patternA
実装パターン情報を取得する。
Args: pattern_name: パターン名(指定しない場合は全パターンの一覧を返す)
Returns: パターン情報を含む辞書
Inputs: pattern_name. Returns: object
health_checkA
ヘルスチェック用の簡易Tool。
サーバが正常に動作しているかを確認するためのツールです。
Returns: サーバの状態を示す辞書
Inputs: no named parameters. Returns: object
migrate_v1_to_v2A
V1 APIからV2 APIへの移行ガイドを提供する。
V1 APIを利用中のユーザーがV2 APIへ移行する際に、 エンドポイントの対応関係や変更点を案内し、V2の仕様書ページへ誘導します。
Args: v1_endpoint: V1 APIのエンドポイントパスまたはキーワード(例: /v1/prices/daily_quotes, 株価四本値等)。指定しない場合は移行ガイド全体を返す。
Returns: 移行ガイドのMarkdownとV2仕様ページへの誘導情報を含む辞書
Inputs: v1_endpoint. Returns: object
search_endpointsA
エンドポイントをキーワードとカテゴリで検索する。
Args: keyword: 検索キーワード(エンドポイント名、パス、説明から検索) category: オプションのカテゴリフィルタ(auth, listed, prices, fins等) api_version: APIバージョン。会話の文脈からV1かV2かを判断して指定する。V1のエンドポイントパス(/v1/...)やV1特有の名前(daily_quotes等)が含まれる場合は'v1'を指定。デフォルトは'v2'。
Returns: 検索結果を含む辞書(該当件数と結果配列)
Inputs: keyword (required), category, api_version. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: health check, endpoint search, endpoint details, pattern lookup, spec page fetch, migration guide, and FAQ/info routing. No two tools overlap in functionality; the boundaries are explicit and well-documented.
Most tools follow a consistent verb_noun pattern (health_check, search_endpoints, describe_endpoint, get_pattern, fetch_spec_page, migrate_v1_to_v2, get_info). The only minor deviation is 'health_check' being a noun phrase rather than verb_noun, but all are snake_case and clear.
7 tools is well within the ideal 3-15 range and each covers a distinct aspect of an API documentation MCP server: health, search, detail, patterns, page fetching, migration, and general info. The scope is appropriately sized with no redundant tools.
The tool surface covers the core needs of exploring an API spec: search, describe, fetch arbitrary pages, and migration guidance. Minor gaps like direct version comparison or credential handling are not necessary since the domain is documentation access, and get_info covers out-of-scope questions.
Maintenance
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Search the official docs of Claude Code, Cursor, OpenAI Codex and MCP, refreshed daily.
Read, search, and compare SEC EDGAR filings, pull tables, and run AI analysis from any MCP client.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables programmers to search, download, and access up-to-date API and software documentation through MCP tools, integrating with LLMs like Claude for Desktop.19MIT
- AlicenseNot gradedqualityDmaintenanceEnables searching and fetching Claude and Anthropic documentation with intelligent relevance scoring, optimized for MCP development, APIs, and examples.44 npm6MIT
- AlicenseNot gradedqualityDmaintenanceEnables access to the CSMAR financial database via MCP, providing tools for querying financial data, stock data, company info, and more through natural language in compatible clients like Codex and Claude Code.13 npm3MIT
- AlicenseAqualityDmaintenanceEnables AI clients like Claude Desktop to search J-Quants API endpoints, get detailed information, reference implementation patterns, and access FAQ answers using MCP.78 npmMIT