- Fyers Mcp Server
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.
Overview
Fyers MCP Server
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.
✨ Features
🔐 Smart Authentication
- One-click OAuth flow with automatic browser handling
- Persistent token storage in
.envfile - Auto-refresh capabilities with session management
📊 Complete Trading Toolkit
- Portfolio Management: Holdings, positions, funds, profile
- Order Management: Place, modify, cancel orders
- Market Data: Real-time quotes for multiple symbols
- Order History: Complete order and trade book
🚀 Production Ready
- Full error handling with detailed error messages
- Type safety with parameter validation
- Comprehensive logging for debugging
- Claude Desktop integration with simple configuration
🛠️ Available Tools
Authentication & Profile
authenticate()- One-click OAuth authenticationcheck_auth_status()- Verify current authenticationget_profile()- User profile information
Portfolio & Funds
get_funds()- Account balance and margin detailsget_holdings()- Portfolio holdings with P&Lget_positions()- Current trading positions
Orders & Trading
place_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 status
Market Data
get_quotes(symbols)- Real-time quotes for multiple symbols
⚠️ Disclaimer
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.
📊 Status
- Current Version: 1.0.0
- API Compatibility: Fyers API v3.1.7
- Python Support: 3.10+
- Tools Available: 11/11 ✅
- Production Ready: Yes ✅
Made with ❤️ for the trading community
Enable algorithmic trading with Claude's intelligence
Server Config
{
"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"
}
}
}
}Project Info
Created At
a year agoUpdated At
a year agoAuthor Name
quantaboxStar
-Language
-License
-Recommend Servers
View AllTavily Mcp
@tavily-ai
JavaScript
a year ago
Mcp Server Chatsum
@chatmcp
summarize chat message
typescript
a year ago
Livonian
a day ago
Memory
@modelcontextprotocol
a year ago
Test
@modelcontextprotocol
test
6 months ago
Kite
2 hours ago
Meteomatics
a day ago
Devmatch
21 hours ago
Boostermage Mtg Prices
@fmacpro
a day ago
Playwright Mcp
@microsoft
Playwright MCP server
TypeScript
10 months ago