{"repo":"shuizhengqi1/futu-stock-mcp-server","free":true,"listed":false,"github":"https://github.com/shuizhengqi1/futu-stock-mcp-server","clone":"git clone https://github.com/shuizhengqi1/futu-stock-mcp-server.git","description":"mcp server for futuniuniu stock","language":"Python","stars":80,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"Futu Stock MCP Server 基于模型上下文协议(MCP)的富途证券行情交易接口服务器。将富途OpenAPI功能以标准化的MCP协议提供给AI模型使用，支持行情订阅、数据查询等功能。 🌟 特性 - 🔌 完全兼容 MCP 2.0 协议标准 - 📊 支持港股、美股、A股等市场的实时行情 - 🔄 支持实时数据订阅和推送 - 📈 支持K线、逐笔、买卖盘等多维度数据 - 🔒 安全的API调用和数据访问机制 - 🛠 提供完整的开发工具和示例代码 ⚠️ 前置要求 在使用本项目之前，您需要： 1. 拥有富途证券账户并开通OpenAPI权限 2. 安装并运行富途的OpenD网关程序（官方文档） 3. 根据您的需求订阅相应的行情权限 🔒 安全提示 - 请勿在代码中硬编码任何账号密码信息 - 确保 .env 文件已添加到 .gitignore 中 - 妥善保管您的API访问凭证 - 遵守富途OpenAPI的使用条款和限制 📝 免责声明 本项目是一个开源工具，旨在简化富途OpenAPI的接入流程。使用本项目时请注意： 1. 遵守相关法律法规和富途OpenAPI的使用条款 2. 自行承担使用本项目进行交易的风险 3. 本项目不提供任何投资建议 4. 使用本项目前请确保您已获得所需的行情权限 Features - Standard MCP 2.0 protocol compliance - Comprehensive Futu API coverage - Real-time data subscription support - Market data access - Derivatives information - Account query capabilities - Resource-based data access - Interactive prompts for analysis Prerequisites - Python 3.10+ - Futu OpenAPI SDK - Model Context Protocol SDK - uv (recommended) 🚀 快速开始 方式一：通过 pipx 安装（推荐） 为什么使用 pipx？ - pipx 专门用于安装 Python 应用程序到全局环境 - 自动管理独立的虚拟环境，避免依赖冲突 - 命令直接可用，无需激活虚拟环境 方式二：通过 Docker 运行 方式三：从源码安装 1. Clone the repository: 2. Install uv: 3. Create and activate a virtual environment: 4. Install dependencies: 5. (可选) 如需从源码直接运行，通过环境变量配置服务： 推荐方式 ：在 MCP 客户端配置文件中使用 env 字段注入，无需创建 .env 文件，见下方 MCP Server 配置 章节。 Development Managing Dependencies Add new dependencies to pyproject.toml : Then update your environment: Code Style This project uses Ruff for code linting and formatting. The configuration is in pyproject.toml : Run linting: Run formatting: ���","default_branch":null,"files":null,"tree":[],"storefront":"/r/shuizhengqi1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shuizhengqi1/futu-stock-mcp-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}