Investbrain MCP Server

Investment discipline MCP server with RAG, behavior detection, journaling, and market data.

Local serverstdioPython

What is the Investbrain MCP server?

Investbrain MCP server exists for a simple reason — assistants are far more useful when they can act on Investbrain directly instead of describing what you should do. Investment discipline MCP server with RAG, behavior detection, journaling, and market data.

What you get

启动后 Server 会以 stdio 方式接受 MCP 客户端调用。配置 Claude Desktop 见下方 Claude Desktop 接入

Setting it up

The server ships on npm as npm, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need 4 environment variables: DEEPSEEK_API_KEY, TUSHARE_TOKEN, DASHSCOPE_API_KEY, AGAINST_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the investbrain mcp server does with a few real requests.

Choosing this one

This sits in the AI and media services group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by com.mangofolio; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Investbrain's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

How to install the Investbrain MCP server

{
  "mcpServers": {
    "investbrain": {
      "command": "python",
      "args": [
        "D:/claudework/investbrain/src/mcp_server/server.py"
      ],
      "env": {
        "DEEPSEEK_API_KEY": "sk-your-key-here"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DEEPSEEK_API_KEYCredential the server authenticates with.Yes
TUSHARE_TOKENCredential the server authenticates with.Yes
DASHSCOPE_API_KEYCredential the server authenticates with.Yes
AGAINST_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Investbrain to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Investbrain directly.