buffette-code-mcp-server

by BuffettCode

193 downloads
Not rated
GitHub

About

buffette-code-mcp-server is an MCP (Model Context Protocol) server that provides access to the Buffett Code API. It allows AI assistants to retrieve company information, financial data, and stock details programmatically.

Details

Author
BuffettCode
Downloads
193
Categories
Developer Tools

- Retrieve company information from Buffett Code
- Get daily company data for a specific date
- Get quarterly company data for a given year and quarter
- Fetch stock information for a specific stock
- Get daily stock data for a specific stock and date
- Get quarterly stock data for a specific stock and year-quarter

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name buffette-code-mcp-server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Installation instructions are not yet provided. To use the server, configure your MCP client with the command node and the path to the built dist/index.js file. For Claude Desktop, you may need to install tsx and set the command to npx tsx pointing to the source src/index.ts.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

buffette-code-mcp-server

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

Features

Available tools:

- buffetcode_get_company - Get company information from Buffett Code
- buffetcode_get_company_daily - Get daily company information from Buffett Code for a specific date
- buffetcode_get_company_quarterly - Get quarterly company information from Buffett Code for a specific year and quarter
- buffetcode_get_company_stocks - Get company stock information from Buffett Code for a specific stock
- buffetcode_get_company_stocks_daily Get daily company stock information from Buffett Code for a specific stock and date
- buffetcode_get_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:

...
    "buffet-code": {
      "command": "node",
      "args": [
        "/path/to/buffet-code-mcp-server/dist/index.js"
      ],
      "env": {
      }
    },
...

Claude Desktopで動かすとき

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

npm install -D tsx

claude_desktop_config.jsonを書き換えます。

{
"mcpServers": {
"buffet-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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.