Skip to main content

J-Quants Free MCP server

Model Context Protocol (MCP) サーバーで、無償版J-Quants APIのにアクセスするための機能を提供します。

ツール

このサーバーは以下のツールを提供しています:

  • search_company : 日本語のテキストから、上場銘柄を検索する
  • get_daily_quotes : 銘柄コードから、日次の株価を取得する
  • get_financial_statements : 銘柄コードから、財務諸表を取得する

使い方

このサーバーを使用するには、J-Quants APIへの登録が必要です。以下の手順で取得できます:

  • J-Quants APIに登録
  • IDトークンを取得しして、JQUANTS_ID_TOKEN環境変数に設定

Claude Desktop

  • On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
  • On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
    "mcpServers": {
        "e-stat": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/jquants-free-mcp-server",
                "run",
                "server.py"
            ],
            "env": {
                "JQUANTS_ID_TOKEN": "YOUR_JQUANTS_ID_TOKEN"
            }
        }
    }
}
{
    "mcpServers": {
        "e-stat": {
            "command": "uvx",
            "args": [
                "jquants-free-mcp-server"
            ],
            "env": {
                "JQUANTS_ID_TOKEN": "YOUR_JQUANTS_ID_TOKEN"
            }
        }
    }
}

使用例

例えばClaudeに以下のような質問ができます:

  • "コメダとルノアールの自己資本比率を比較して"
  • "UUUMとカバーとANYCOLORの財務表を取得して、バランスシートを図にしてください。"

ライセンス

このプロジェクトはMITライセンスの下で提供されています

  • 詳細はLICENSEファイルを参照してください。

Metadata

Release files for jquants-free-mcp-server 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jquants-free-mcp-server 0.0.1
File Size Uploaded
jquants_free_mcp_server-0.0.1.tar.gz 627.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jquants-free-mcp-server 0.0.1
File Interpreter ABI Platform
jquants_free_mcp_server-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 631.9 kB

Release files / jquants_free_mcp_server-0.0.1.tar.gz

Download URL jquants_free_mcp_server-0.0.1.tar.gz
Size 627.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e4c29bdc96df44e881f94eb1ba5dfec37e75b545d2e8def127d5b24729f145a5
BLAKE2b-256 checksum
How to use checksums
5df59a0127048a04777478766318fe2b92886e7ee5e945e7af2de0f666f2072d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release files / jquants_free_mcp_server-0.0.1-py3-none-any.whl

Download URL jquants_free_mcp_server-0.0.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83c248f098a17cca4da4c70836f1357afd1ac3559f86a28eaaf9d855d43e063d
BLAKE2b-256 checksum
How to use checksums
2b8b6374ec869106f65c9732ae431bd80cdb276e8d9e722a85927c50fd873fa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.14

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page