Skip to content

feat(mcp): Claude now talks to Fyers like a trading pro 🚀 #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: sample_v3
Choose a base branch
from

Conversation

katmakhan
Copy link

@katmakhan katmakhan commented Jun 5, 2025

🚀 Added Fyers MCP Server Integration

Summary:
Adds a Model Context Protocol (MCP) server for Fyers API integration with Claude Desktop, enabling comprehensive trading operations through natural language.

claude_fyers_mcp_record

Key Features:

  • 🔐 Secure TOTP-based authentication with automatic token management
  • 📊 Real-time market data, quotes, and historical data retrieval
  • 📈 Complete order management (place, modify, cancel orders)
  • 💼 Account information access (funds, positions, holdings, profile)
  • 🔍 Symbol search across exchanges
  • ♻️ Session-based token storage with intelligent refresh

What's Included:

  • mcp_fyers_server.py - Complete MCP server implementation
  • README.md - Comprehensive setup and usage documentation
  • 14 trading tools covering market data, orders, and account management
  • Environment-based configuration with security best practices

Usage:
Users can now interact with Fyers trading platform through Claude using natural language commands like "Get my current positions" or "Place a buy order for 10 shares of TCS."

Dependencies: fyers-apiv3, mcp, pyotp, requests

@katmakhan
Copy link
Author

Have anyone checked with windows config file? I only tested them in mac and it works

@katmakhan katmakhan changed the title Added fyers mcp server integration for claude desktop feat(mcp): Claude now talks to Fyers like a trading pro 🚀 Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant