
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

An MCP server that lets Claude Desktop interact with the Fyers trading platform through an automated OAuth flow for trading operations and market data.
Fyers MCP Server is cataloged as an MCP server attributed to quantabox. An MCP server that lets Claude Desktop interact with the Fyers trading platform through an automated OAuth flow for trading operations and market data. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Fyers MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, it documents order types including MARKET, LIMIT, STOP, and STOPLIMIT, and product types such as MARGIN, CNC, INTRADAY, BO, and CO.
README.md · 0688c688720d · 采集于 2026-11-13 13:05:28 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
MCP (Model Context Protocol) server for Fyers API v3 with automated OAuth authentication
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.
.env file# Clone the repository
git clone https://github.com/quantabox/fyers-mcp-server.git
cd fyers-mcp-server
# Install dependencies using uv (recommended)
curl -LsSf https://astral.sh/uv/install.sh | sh
uv sync
# Or install with pip
pip install .
Create Fyers API App:
http://localhost:8080/App ID and Secret KeyConfigure Environment:
cp .env.example .env
Edit .env file:
FYERS_CLIENT_ID=YOUR_APP_ID-100 # e.g., ABC123XYZ-100
FYERS_SECRET_KEY=YOUR_SECRET_KEY # Secret from Fyers app
FYERS_REDIRECT_URI=http://localhost:8080/
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"fyers-mcp-server": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/fyers-mcp-server",
"python",
"fyers_mcp_complete.py"
],
"env": {
"PYTHONWARNINGS": "ignore"
}
}
}
}
authenticateauthenticate() - One-click OAuth authenticationcheck_auth_status() - Verify current authenticationget_profile() - User profile informationget_funds() - Account balance and margin detailsget_holdings() - Portfolio holdings with P&Lget_positions() - Current trading positionsplace_order(symbol, quantity, order_type, side, ...) - Place new ordersmodify_order(order_id, quantity, limit_price, ...) - Modify existing orderscancel_order(order_id) - Cancel pending ordersget_orders() - Order history and statusget_quotes(symbols) - Real-time quotes for multiple symbols# Check account balance
get_funds()
# View all holdings with P&L
get_holdings()
# Check current positions
get_positions()
# Place a market order
place_order("NSE:SBIN-EQ", 10, "MARKET", "BUY")
# Place a limit order
place_order("NSE:RELIANCE-EQ", 5, "LIMIT", "BUY", limit_price=2500)
# Modify an order
modify_order("ORDER_ID", quantity=15, limit_price=2550)
# Cancel an order
cancel_order("ORDER_ID")
# Get live quotes
get_quotes("NSE:SBIN-EQ,NSE:RELIANCE-EQ,NSE:TCS-EQ")
MARKET - Market order (immediate execution)LIMIT - Limit order (execute at specific price)STOP - Stop loss orderSTOPLIMIT - Stop limit orderMARGIN - Margin trading (intraday with leverage)CNC - Cash and Carry (delivery)INTRADAY - Intraday tradingBO - Bracket OrderCO - Cover OrderDAY - Valid for current trading dayIOC - Immediate or CancelGTD - Good Till Date1. Authentication Failed
# Check credentials in .env file
cat .env | grep FYERS
# Verify app configuration at https://myapi.fyers.in/dashboard/
2. Claude Desktop Connection Issues
# Test MCP server directly
cd /path/to/fyers-mcp-server
uv run python fyers_mcp_complete.py
# Check Claude Desktop logs (macOS)
tail -f ~/Library/Logs/Claude/mcp.log
3. Order Placement Errors
NSE:SYMBOL-EQ for equityEnable detailed logging:
export LOG_LEVEL=DEBUG
uv run python fyers_mcp_complete.py
fyers-mcp-server/
├── fyers_mcp_complete.py # Main MCP server
├── pyproject.toml # Dependencies
├── .env.example # Environment template
├── claude_config.json # Claude Desktop config
└── README.md # This file
git checkout -b feature/new-tool@mcp.tool() decorator# Install development dependencies
uv sync --dev
# Run tests
uv run pytest
# Type checking
uv run mypy fyers_mcp_complete.py
graph TD
A[Claude: authenticate] --> B[Generate Auth URL]
B --> C[Open Browser]
C --> D[User Login]
D --> E[Auth Code Capture]
E --> F[Exchange for Token]
F --> G[Store in .env]
G --> H[Ready for Trading]
All functions return standardized responses:
We welcome contributions! Please see our Contributing Guidelines for details.
This project is licensed under the MIT License - see the LICENSE file for details.
This software is for educational and development purposes. Trading involves financial risk. Users are responsible for their trading decisions and should thoroughly test in demo environments before live trading.
Made with ❤️ for the trading community
Enable algorithmic trading with Claude's intelligence
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Fyers MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/fyers-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.