# lingxiMCP **Repository Path**: ffyc/lingximcp ## Basic Information - **Project Name**: lingxiMCP - **Description**: 本项目是国泰海通证券股份有限公司提供的MCP Server,基于灵犀大模型提供MCP服务。 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: https://vojh.gtja.com/mcp/v-index.html#/login - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2026-03-25 - **Last Updated**: 2026-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Lingxi MCP Server 本 MCP Server是国泰海通证券股份有限公司提供的MCP Server,基于灵犀大模型提供MCP服务。 ## Tools 本 MCP Server 产品提供以下 Tools (工具/能力): ### Tool 1: select_stocks - 该工具允许您便捷地根据行情、形态、基本面等指标筛选股票、板块和指数。 - 输入: - `question` (String): 用户的问题。 - 返回: 根据用户问题筛选出的股票、板块和指数 ### 环境变量 以下环境变量可用于配置MCP服务器: | 环境变量 | 描述 | 默认值 | |------------------|---------------|-----| | `Lingxi_MCP_Server_api_key` | 调用工具时的认证token | | ## 安装部署 ### 系统依赖 - 安装 Python 3.12 或者更高版本 - 安装 uv - 如果是linux系统 ``` curl -LsSf https://astral.sh/uv/install.sh | sh ``` - 如果是window系统 ``` powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` - 同步依赖项: ```bash uv sync ``` ### 本地配置 添加以下配置到你的mcp settings文件中 #### stdio方式 ```json { "mcpServers": { "lingxi-mcp-server": { "name": "lingxi-mcp-server", "command": "uvx", "args": [ "--from", "git+https://gitee.com/gthts/lingximcp@master", "lingximcp" ], "env": { "Lingxi_MCP_Server_api_key": "从灵犀MCP官网获取到的API key" } } } } ``` #### Streamable HTTP方式 ```json { "mcpServers": { "Lingxi-mcp-server": { "name": "Lingxi-mcp-server", "url": "https://lxkf.gtja.com/mcp/public", "headers":{ "x-api-key": "从灵犀MCP官网获取到的API key" } } } } ``` ### 灵犀MCP官网地址 [灵犀MCP官网](https://vojh.gtja.com/mcp/v-index.html#/login) ## License This project is licensed under the MIT License.