Skip to main content

A MCP server project

Project description

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ファイルを参照してください。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jquants_free_mcp_server-0.0.1.tar.gz (627.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jquants_free_mcp_server-0.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file jquants_free_mcp_server-0.0.1.tar.gz.

File metadata

File hashes

Hashes for jquants_free_mcp_server-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e4c29bdc96df44e881f94eb1ba5dfec37e75b545d2e8def127d5b24729f145a5
MD5 139a1a5727b716fe6bddbfa2dd4ebe75
BLAKE2b-256 5df59a0127048a04777478766318fe2b92886e7ee5e945e7af2de0f666f2072d

See more details on using hashes here.

File details

Details for the file jquants_free_mcp_server-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for jquants_free_mcp_server-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83c248f098a17cca4da4c70836f1357afd1ac3559f86a28eaaf9d855d43e063d
MD5 7f12221ab93aaf8171be9e83688f3a72
BLAKE2b-256 2b8b6374ec869106f65c9732ae431bd80cdb276e8d9e722a85927c50fd873fa9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page