Skip to main content
Glama

Statsource MCP Server

by jamie7893

Statsource MCP 服务器

提供统计分析功能的模型上下文协议服务器。该服务器使 LLM 能够分析来自各种来源的数据、计算统计数据并生成预测。

统计工具连接到我们的分析 API,并允许 AI 模型执行统计分析并根据用户数据生成 ML 预测,无论它是在 PostgreSQL 数据库还是 CSV 文件中。

可用工具

获取统计数据

分析数据并计算统计数据或根据提供的参数生成 ML 预测。

参数:

  • columns (字符串列表,必需):要分析或预测的列名列表
  • data_source (字符串,可选):数据文件、数据库连接字符串或 API 端点的路径
  • source_type (字符串,可选):数据源类型(“csv”、“数据库”或“api”)
  • statistics (字符串列表,可选):要计算的统计数据列表(用于统计分析)
  • query_type (字符串,可选):查询类型(“统计”或“ml_prediction”)
  • periods (整数,可选):要预测的未来周期数(用于 ML 预测)

建议功能

为 StatSource 分析平台提出新功能或改进建议。

参数:

  • description (字符串,必需):对建议功能的清晰、详细的描述
  • use_case (字符串,必需):解释用户如何以及为何使用此功能
  • priority (字符串,可选):建议的优先级(“低”,“中”,“高”)

安装

使用 uv(推荐)

使用 uv 时无需特殊安装。我们将使用 uvx 直接运行 mcp-server-stats。

使用 PIP

或者,您可以通过 pip 安装 mcp-server-stats:

pip install mcp-server-stats

安装后,您可以使用以下命令将其作为脚本运行:

python -m mcp_server_stats

或者使用控制台脚本:

mcp-server-stats

配置

为 Claude.app 配置

添加到您的 Claude 设置:

使用 uvx

"mcpServers": { "statsource": { "command": "uvx", "args": ["mcp-server-stats"] } }

使用docker

"mcpServers": { "statsource": { "command": "docker", "args": ["run", "-i", "--rm", "statsource/mcp"] } }

使用 pip 安装

"mcpServers": { "statsource": { "command": "python", "args": ["-m", "mcp_server_stats"] } }

环境变量

您可以在 Claude.app 配置中使用环境变量来配置服务器:

"mcpServers": { "statsource": { "command": "python", "args": ["-m", "mcp_server_stats"], "env": { "API_KEY": "your_api_key", "DB_CONNECTION_STRING": "postgresql://username:password@localhost:5432/your_db", "DB_SOURCE_TYPE": "database" } } }

可用的环境变量:

  • API_KEY :用于向 statsource.me 进行身份验证的 API 密钥
  • DB_CONNECTION_STRING :默认数据库连接字符串
  • DB_SOURCE_TYPE :默认数据源类型(通常为“数据库”)

调试

您可以使用 MCP 检查器来调试服务器。对于 uvx 安装:

npx @modelcontextprotocol/inspector uvx mcp-server-stats

或者,如果您已将软件包安装在特定目录中或正在其上进行开发:

cd path/to/servers/ npx @modelcontextprotocol/inspector python -m mcp_server_stats

贡献

我们鼓励您为扩展和改进 mcp-server-stats 做出贡献。无论您是想添加新工具、增强现有功能还是改进文档,您的贡献都弥足珍贵。

欢迎提交 Pull 请求!欢迎贡献新想法、错误修复或改进,让 mcp-server-stats 更加强大实用。

执照

mcp-server-stats 采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但需遵守 MIT 许可证的条款和条件。更多详细信息,请参阅项目仓库中的 LICENSE 文件。

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

使 LLM 能够通过模型上下文协议服务器对来自数据库或 CSV 文件的用户数据执行统计分析并生成 ML 预测。

  1. 可用工具
    1. 获取统计数据
    2. 建议功能
  2. 安装
    1. 使用 uv(推荐)
    2. 使用 PIP
  3. 配置
    1. 为 Claude.app 配置
    2. 环境变量
  4. 调试
    1. 贡献
      1. 执照

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.
          Last updated -
          10
          77
          Python
          MIT License
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that provides basic mathematical and statistical functions to LLMs, enabling them to perform accurate numerical calculations through a simple API.
          Last updated -
          13
          13
          TypeScript
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.
          Last updated -
          TypeScript
          MIT License
          • Apple
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that connects LLMs to the Compiler Explorer API, enabling them to compile code, explore compiler features, and analyze optimizations across different compilers and languages.
          Last updated -
          Python

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/jamie7893/statsource-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server