mcpField
B
buffette-code-mcp-server

buffette-code-mcp-server

Local
github.com/BuffettCodeDeveloper Tools2Updated 34w ago

About buffette-code-mcp-server

buffette-code-mcp-server connects MCP clients to the Buffett Code API for Japanese and US company data. Its tools cover company, stock, financial-period, market-reaction, shareholder, segment, and related-company information.

Key features

  1. 01Retrieve Japanese company data
  2. 02Retrieve US company and stock data
  3. 03Query daily and quarterly records
  4. 04Access market reactions and statistics
  5. 05Retrieve shareholders, segments, and guidance revisions
  6. 06Find similar companies

Use cases

  1. 01Review company information in Japan or the US
  2. 02Check daily or quarterly company records
  3. 03Examine market reactions and stock statistics
  4. 04Inspect shareholder, segment, or earnings guidance data

MCP support

Exposes Buffett Code API data through tools for MCP clients, covering Japanese and US markets.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"buffett-code": {
"command": "npx",
"args": [
"-y",
"tsx"
]
}
}
}
Run commandnpx -y tsx

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmtsx

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

buffett-code-mcp-server

A MCP(Model Context Protocol) server that accesses to buffett-code API.

Features

Available tools:

Japan Market
  • buffett_code_get_jp_company - Get Japanese company information from Buffett Code
  • buffett_code_get_jp_company_daily - Get daily Japanese company information from Buffett Code for a specific date
  • buffett_code_get_jp_company_quarterly - Get quarterly Japanese company information from Buffett Code for a specific year and quarter
  • buffett_code_get_jp_company_daily_market_reaction - Get the daily market reaction for a JP company as both text and stock price change rate. Currently available only for stocks with sufficient data, on or near quarterly or annual earnings announcement dates.
  • buffett_code_get_jp_company_weekly_stats - Get weekly statistics calculated for the company or stock, mainly including stock price related statistics.
  • buffett_code_get_jp_company_monthly_stats - Get monthly statistics calculated for the company or stock, mainly including stock price related statistics.
  • buffett_code_get_jp_company_monthly_kpis - Get monthly KPIs for a JP company.
  • buffett_code_get_jp_company_quarterly_long_text_content - Get processed long-form text content from Buffett Code, based on HTML text found in securities reports or quarterly reports.
  • buffett_code_get_jp_company_quarterly_major_shareholders - Get major shareholders information for a company or stock as listed in its securities report or quarterly report.
  • buffett_code_get_jp_company_quarterly_segments - Get segment information as disclosed in a company or stock’s securities report or quarterly report.
  • buffett_code_get_jp_company_annually_guidance_revisions - Get a list of earnings guidance revisions by fiscal year for the company or stock.
  • buffett_code_get_jp_company_similarities - Get a list of companies similar to the specified company.
US Market
  • buffett_code_get_us_company - Get company information from Buffett Code
  • buffett_code_get_us_company_daily - Get daily company information from Buffett Code for a specific date
  • buffett_code_get_us_company_quarterly - Get quarterly company information from Buffett Code for a specific year and quarter
  • buffett_code_get_us_company_stocks - Get company stock information from Buffett Code for a specific stock
  • buffett_code_get_us_company_stocks_daily - Get daily company stock information from Buffett Code for a specific stock and date
  • buffett_code_get_us_company_stocks_quarterly - Get quarterly company stock information from Buffett Code for a specific stock and year-quarter

Quick Start

Installation

TBD

Usage
Start the MCP server

TBD

Edit MCP configuration json for your client:
...
    "buffett-code": {
      "command": "node",
      "args": [
        "/path/to/buffett-code-mcp-server/dist/index.js"
      ],
      "env": {
      }
    },
...
Claude Desktopで動かすとき

tsxが必要でしたので、インストールしました。

npm install -D tsx

claude_desktop_config.jsonを書き換えます。

{
  "mcpServers": {
      "buffett-code": {
        "command": "npx",
        "args": [
          "tsx",
          "/Users/shogoakiyama/Desktop/buffett-code-mcp-server/src/index.ts"
        ],
        "env": {
        }
      }
  }
}

Development

Available Scripts
  • npm run dev - Start the server in development mode with hot reloading
  • npm run build - Build the project for production
  • npm run start - Start the production server
  • npm run lint - Run linting checks (ESLint and Prettier)
  • npm run fix - Automatically fix linting issues
  • npm run examples - Run the example scripts
Contributing
  1. Fork the repository
  2. Create your feature branch
  3. Run tests and linting: npm run lint
  4. Commit your changes
  5. Push to the branch
  6. Create a Pull Request

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.