Free J-Quants MCP server offers API tools for stock data, financials, and company searches in Japanese markets
The J-Quants Free MCP Server is designed to provide a standardized interface for connecting AI applications with specific financial data sources and tools using Model Context Protocol (MCP). This server enables AI apps like Claude Desktop, Continue, Cursor, and others to access and utilize rich financial datasets without needing direct API integration. By leveraging the universal adapter provided by MCP, this server streamlines data access and simplifies the development process for AI applications.
The J-Quants Free MCP Server offers essential features that enhance AI application capabilities through standardized protocols. Key functionalities include:
search_company
: Enables searching of Japanese companies from textual descriptions.get_daily_quotes
: Fetches historical daily stock quotes based on the provided company code.get_financial_statements
: Retrieves financial statements for a specified company and period.These functions cater to various AI needs, providing structured data that can be used in complex analyses or simple queries.
The J-Quants Free MCP Server is built around the Model Context Protocol (MCP) architecture. It operates as an intermediary between AI applications and financial databases, ensuring seamless data retrieval without requiring direct API access from the user. The protocol uses environment variables to configure access to necessary resources.
J-Quants Free MCP Server implements the MCP protocol by enabling communication between AI applications (e.g., Claude Desktop), external tools through the server, and internal data sources like financial databases. This flow diagram illustrates how the protocol operates:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
To get started, users must first register for J-Quants API access. This registration process ensures that the server can correctly authenticate requests and retrieve data securely.
JQUANTS_ID_TOKEN
as an environment variable with your ID token value.For macOS:
{
"mcpServers": {
"e-stat": {
"command": "uv",
"args": [
"--directory",
"/path/to/jquants-free-mcp-server",
"run",
"server.py"
],
"env": {
"JQUANTS_ID_TOKEN": "YOUR_JQUANTS_ID_TOKEN"
}
}
}
}
For Windows:
{
"mcpServers": {
"e-stat": {
"command": "uvx",
"args": [
"jquants-free-mcp-server"
],
"env": {
"JQUANTS_ID_TOKEN": "YOUR_JQUANTS_ID_TOKEN"
}
}
}
}
This server enhances AI workflows by facilitating data retrieval from diverse financial sources, which can then be used to power various applications. Here are two realistic use cases:
AI analysts can quickly query the J-Quants Free MCP Server for real-time market quotes and historical data. By integrating this server into their AI models, they can build dynamic financial dashboards that update in near实时。
抱歉,让我纠正之前的错误,并进一步扩展文档内容。以下是符合要求的重新编写:
The J-Quants Free MCP Server is a powerful tool designed for developers who are building AI applications and require seamless, standardized access to financial data from major Japanese market indices. It supports various leading AI clients such as Claude Desktop, Continue, and Cursor by acting as an intermediary through the Model Context Protocol (MCP). This server enhances the functionality of these AI applications, enabling them to interact with a wide array of financial datasets.
This J-Quants Free MCP Server provides several core functionalities that integrate seamlessly into your AI workflows:
These features are crucial for AI applications that need to analyze market trends, perform financial analysis, or generate reports based on real-time or historical data.
The J-Quants Free MCP Server is built around the Model Context Protocol (MCP), which acts as a standardized adapter between various AI applications and external data sources. By using this protocol, the server ensures that any compliant AI client can easily access and utilize the financial data provided by J-Quants.
The operation of the J-Quants Free MCP Server in relation to an AI application (Claude Desktop) and a data source is depicted below:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
This flow ensures that AI applications like Claude Desktop can securely and efficiently communicate with the server, which in turn retrieves the necessary data from external sources.
The J-Quants Free MCP Server supports compatibility with several MCP clients as shown below:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ (Tools Only) | ✅ (Data) | ❌ (N/A) | Partial |
To start using the J-Quants Free MCP Server, follow these steps to set up your environment:
JQUANTS_ID_TOKEN
as an environment variable with your obtained ID token value.For macOS:
{
"mcpServers": {
"e-stat": {
"command": "uv",
"args": [
"--directory",
"/path/to/jquants-free-mcp-server",
"run",
"server.py"
],
"env": {
"JQUANTS_ID_TOKEN": "YOUR_JQUANTS_ID_TOKEN"
}
}
}
}
For Windows:
{
"mcpServers": {
"e-stat": {
"command": "uvx",
"args": [
"jquants-free-mcp-server"
],
"env": {
"JQUANTS_ID_TOKEN": "YOUR_JQUANTS_ID_TOKEN"
}
}
}
}
Developers can use the J-Quants Free MCP Server to implement a real-time market monitoring system. For instance, an AI-driven trading bot could query daily stock quotes for multiple companies and analyze trends using historical financial data. This integration would allow seamless updates and efficient decision-making based on live market conditions.
AI applications can integrate with the J-Quants Free MCP Server to generate detailed reports and perform comprehensive financial analysis. By fetching balance sheets, income statements, and cash flow statements, these applications could provide valuable insights into company performance over different periods, which is crucial for financial analysts and investors.
The J-Quants Free MCP Server ensures compatibility with multiple AI clients through the Model Context Protocol (MCP). Here’s how it integrates with key clients:
AI Client | Search Company | Get Daily Quotes | Get Financial Statements |
---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ |
Continue | ❌ (Partial) | ✅ | ❌ (N/A) |
Cursor | ❌ (Tools Only) | ✅ | ❌ (N/A) |
This matrix highlights the detailed compatibility of different AI clients with the server's core features.
Provided below is an example configuration snippet for integrating the J-Quants Free MCP Server into your setup:
{
"mcpServers": {
"[server-name]": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-[name]"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
Ensure you replace [server-name]
with the actual server name and @modelcontextprotocol/server-[name]
with the correct package identifier.
A1: Store your ID token securely within environment variables or encrypted configurations to ensure it remains confidential.
A2: Currently, only MCP-compliant clients are fully supported. Non-compliant clients may face limitations depending on their functionality.
A3: You can access various types of financial data including daily quotes, historical rates, and detailed financial statements tailored to specific companies.
A4: Integrate webhooks or polling methods within your AI application to receive notifications whenever a relevant price change occurs via J-Quants API.
A5: Yes, tune your application settings and server configurations for optimal performance by fine-tuning caching strategies and increasing resource allocation as needed.
Contributors to the J-Quants Free MCP Server are welcome. To contribute, please follow these guidelines:
For further information about Model Context Protocol (MCP), visit the official website at Model Context Protocol. Explore additional resources and tools within this ecosystem to deepen your understanding of MCP integrations.
The J-Quants Free MCP Server is a robust solution for developers working with AI applications that require comprehensive financial data access. By enabling seamless connectivity between your application and diverse data sources, it enhances the functionality and usability of your AI workflows.
Next-generation MCP server enhances documentation analysis with AI-powered neural processing and multi-language support
AI Vision MCP Server offers AI-powered visual analysis, screenshots, and report generation for MCP-compatible AI assistants
Learn how to use MCProto Ruby gem to create and chain MCP servers for custom solutions
Analyze search intent with MCP API for SEO insights and keyword categorization
Connects n8n workflows to MCP servers for AI tool integration and data access
Learn to connect to MCP servers over HTTP with Python SDK using SSE for efficient protocol communication