Brokerage-MCP

by raghavc16

Not rated
GitHub

About

An MCP server for brokerage functionalities, built with the MCP framework.

Details

Author
raghavc16
Categories
Other, Finance, API

Setup

Install Brokerage-MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/raghavc16/Brokerage-MCP

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server built with mcp-framework.

# Install dependencies npm install # Build the project npm run build
Brokerage-MCP/ ├── src/ │ ├── tools/ # MCP Tools │ │ └── ExampleTool.ts │ └── index.ts # Server entry point ├── package.json └── tsconfig.json

The project comes with an example tool insrc/tools/ExampleTool.ts. You can add more tools using the CLI:

# Add a new tool mcp add tool my-tool # Example tools you might create: mcp add tool data-processor mcp add tool api-client mcp add tool file-handler
import { MCPTool } from "mcp-framework"; import { z } from "zod"; interface MyToolInput { message: string; } class MyTool extends MCPTool<MyToolInput> { name = "my_tool"; description = "Describes what your tool does"; schema = { message: { type: z.string(), description: "Description of this input parameter", }, }; async execute(input: MyToolInput) { // Your tool logic here return Processed: ${input.message}; } } export default MyTool;

- Ensurenameis unique and follows npm naming conventions
- Set appropriateversion
- Adddescription,author,license, etc.
- Checkbinpoints to the correct entry file

npm run build npm link Brokerage-MCP # Test your CLI locally

Login to npm (create account if necessary):

After publishing, users can add it to their claude desktop client (read below) or run it with npx

## Using with Claude Desktop ### Local Development Add this configuration to your Claude Desktop config file: MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json 
json { "mcpServers": { "Brokerage-MCP": { "command": "node", "args":["/absolute/path/to/Brokerage-MCP/dist/index.js"] } } }

Add this configuration to your Claude Desktop config file:

MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%/Claude/claude_desktop_config.json


{ "mcpServers": { "Brokerage-MCP": { "command": "npx", "args": ["Brokerage-MCP"] } } }
``

- Make changes to your tools
- Run
npm run build`to compile
- The server will automatically load your tools on startup

Manage stock and crypto portfolios, place trades, and access market data via the Alpaca Trading API.

A simple MCP server to interact with prediction market Kalshi

A server for performing trading operations using the Kite Connect API.

Korea Investment & Securities (KIS) REST API

Provides stock trading and market data using the Korea Investment & Securities (KIS) REST API.

An unofficial server to integrate with the Questrade API, providing access to trading accounts, market data, and portfolio information.

Access the Shioaji trading API for financial data and trading operations, requiring a SinoPac Securities account.

A MCP server for integrating with the Upstox trading API by Upstox.

A Model Context Protocol (MCP) server that integrates with the Upstox Trading API, enabling AI agents like Claude to securely access Indian stock market data, perform technical analysis, and view account information in read-only mode.

The Capital.com MCP Server lets your AI assistant talk to your trading account directly. Market data, position checks, trade previews – all in plain language, without leaving your AI tool.

US/HK markets — 110 tools: real-time quotes, options, orders, fundamentals, alerts, DCA & portfolio

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.