MCP.so
Sign In
F

Fyers Mcp Server

@quantabox

About Fyers Mcp Server

A comprehensive MCP server that enables Claude Desktop to interact with Fyers trading platform through a secure, automated authentication flow. Supports all major trading operations including portfolio management, order placement, and real-time market data.

Basic information

Category

Finance & Commerce

Transports

stdio

Publisher

quantabox

Submitted by

Akbar

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "fyers-mcp-server": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "<path to the repo>/fyers-mcp-server",
        "python",
        "fyers_mcp_complete.py"
      ],
      "env": {
        "PATH": "<path to any uv path, this is optional>",
        "PYTHONWARNINGS": "ignore"
      }
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Fyers Mcp Server?

Fyers Mcp Server is an MCP (Model Context Protocol) server that integrates Claude Desktop with the Fyers trading API. It allows users to trade, manage portfolios, and access market data directly through natural language commands in Claude. It is designed for anyone with a Fyers trading account who wants to automate or simplify trading workflows.

How to use Fyers Mcp Server?

Install dependencies with uv sync or pip install ., then copy .env.example to .env and fill in your Fyers API credentials. Add the server to your Claude Desktop configuration file (claude_desktop_config.json) with the appropriate command and path. Restart Claude Desktop, type authenticate to log in via the browser, then use the exposed tools for trading, portfolio management, and market data.

Key features of Fyers Mcp Server

  • Place market, limit, stop, and stop-limit orders
  • Modify or cancel existing orders
  • View account funds, holdings, and current positions
  • Fetch live quotes for multiple symbols
  • Supports margin, CNC, intraday, bracket, and cover orders
  • Order validity options: DAY, IOC, GTD

Use cases of Fyers Mcp Server

  • Check account balance and portfolio P&L with a single command
  • Place buy/sell orders quickly during market hours
  • Manage and modify open orders without switching applications
  • Get real‑time quotes for multiple stocks simultaneously

FAQ from Fyers Mcp Server

What are the prerequisites to use Fyers Mcp Server?

Python 3.10 or higher, Claude Desktop installed, and a Fyers trading account with API access are required.

How do I get Fyers API credentials?

Create an app on the Fyers API Dashboard using the redirect URI http://localhost:8080/. Note down the App ID and Secret Key, then set them in the .env file as FYERS_CLIENT_ID and FYERS_SECRET_KEY.

How do I configure Claude Desktop for Fyers Mcp Server?

Add the server block to your claude_desktop_config.json file, specifying the uv command and the path to the server directory. The README provides a complete JSON example.

How do I authenticate with Fyers after installation?

Restart Claude Desktop, then type authenticate in the chat. Your browser will open to the Fyers login page; after logging in, the access token is captured automatically.

What order types does Fyers Mcp Server support?

It supports four order types: MARKET (immediate execution), LIMIT (execute at a specific price), STOP (stop loss), and STOPLIMIT (stop limit). Additional product types include MARGIN, CNC, INTRADAY, BO (bracket order), and CO (cover order). Validity options are DAY, IOC, and GTD.

Comments

More Finance & Commerce MCP servers