buffette-code-mcp-server

by BuffettCode

193 downloads Not rated yet MIT license
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

License
MIT license

Explore

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

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

TBD

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

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": []
    }
}

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.