Skip to main content

一个用于查询需求分析对应的SQL table scheme信息的模型上下文协议服务器。该服务器包装了原始的get_schema_info API,让AI应用能够通过MCP协议获取SQL表结构信息。

主要功能

根据用户查询需求,分析需要用到的数据表、字段、枚举值、关联方式和易错点等信息。

可用工具

analyze_sql_schema - 分析SQL表结构和数据需求

必需参数:

  • user (字符串): 用户信息,用于身份识别和权限控制
  • query (字符串): 用户的数据需求描述,例如"我需要查询最近一个月的用户活跃度数据"
  • appkey (字符串): API密钥,用于接口认证

使用示例

  • "查询用户最近30天的购买行为数据"
  • "分析不同地区的销售业绩情况"
  • "获取商品库存和销量的关联分析"

安装

使用 PIP

你可以通过 pip 安装 fit-growth-mcp-tools:

pip install fit-growth-mcp-tools

安装完成后,可以使用以下命令作为脚本运行:

python -m fit_growth_mcp_tools

配置

在各类大模型客户端中 配置 MCP 文件

{
  "mcpServers": { 
    "fit_data_tool": {
      "disabled": false,
      "command": "python",
      "args": [
       "-m", "fit_growth_mcp_tools"
      ],
      "env": { 
        "SCHEMA_API_TOKEN": "app-xx",
        "SQL_API_TOKEN": "app-xx"
      }
    }
    
  }
}

Metadata

Release files for fit-growth-mcp-tools 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fit-growth-mcp-tools 0.1.8
File Size Uploaded Provenance
fit_growth_mcp_tools-0.1.8.tar.gz 6.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fit-growth-mcp-tools 0.1.8
File Interpreter ABI Platform
fit_growth_mcp_tools-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / fit_growth_mcp_tools-0.1.8.tar.gz

Download URL fit_growth_mcp_tools-0.1.8.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05429850f9ade4988fcefe6a7083138b30ba10043694db3508fc4ff3d85786e8
BLAKE2b-256 checksum
How to use checksums
415968a47402a17f0901521e795b467979f22e0a87100e3ae326c64dd72c20e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Release files / fit_growth_mcp_tools-0.1.8-py3-none-any.whl

Download URL fit_growth_mcp_tools-0.1.8-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc427857b826cf15a8c96f9f020778b0df94eba6ab99aceac9b75457999d2f0c
BLAKE2b-256 checksum
How to use checksums
ccd502808ce2d9fd8b21727d0ed992de60cad5042a4cc7fe64a55fb9e5baf072
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Security for fit-growth-mcp-tools 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page