Skip to main content
Glama
lengzhanbao

mcp-data-service

by lengzhanbao

MCP Data Service · MCP 数据服务

データクエリ + 自動インサイト(異常検知)をMCPサーバーとして公開します — Claude Desktop、Cursor、または任意のMCPクライアントに30秒で接続できます。 「データクエリ + 自動インサイト」をMCP標準ツールとしてラップし、Claude Desktop / Cursor でプラグイン&プレイ。任意のAIエージェントにデータ機能を追加し、30秒で接続できます。

License: MIT Python 3.10+ CI PRs Welcome


英語 · 中国語

英語

これは何ですか?

データテーブルを任意のAIエージェントが呼び出し可能なツールに変換する MCP (Model Context Protocol) サーバーです。LLM APIは不要です。すべてpandasでローカルに計算されるため、無料で高速です。

ツール

ツール

説明

query_video_stats(metric, rule, condition)

メトリックによるクエリ: TOP N / BOTTOM N / AVG / SUM / 日付別 / フィルター付き

data_insights()

自動インサイト: 概要 + 異常検知 (1.5σ) + 推奨事項

list_columns()

すべての列名と型を一覧表示

クイックスタート

pip install -r requirements.txt

# Self-test (direct calls + MCP handshake)
python tests/test_server.py

# Run the server (stdio transport; clients below will launch it automatically)
python server.py

Claude Desktop / Cursor から接続

MCP設定に追加します(例: claude_desktop_config.json):

{
  "mcpServers": {
    "data-service": {
      "command": "python",
      "args": ["/absolute/path/to/mcp-data-service/server.py"]
    }
  }
}

クライアントを再起動し、エージェントに次のように尋ねます: 「完了率が最も高い動画はどれ?」 または 「データの自動インサイトを実行して」

プロジェクト構成

server.py          FastMCP server (@mcp.tool registers 3 tools)
data/video_stats.csv   Sample data
tests/test_server.py   Direct-call + MCP-stdio handshake tests
requirements.txt   fastmcp + pandas

テスト

python tests/test_server.py
# [PASS] query_video_stats direct calls
# [PASS] data_insights auto insights
# [PASS] MCP stdio handshake: list_tools + call_tool

ロードマップ

  • PyPI に公開(pipx install mcp-data-service

  • SQLite / PostgreSQL バックエンド

  • サーバーごとに複数のデータソース

⬆ 先頭に戻る


中国語

これは何ですか?

データテーブルを任意のAIエージェントが呼び出し可能なツールに変換する MCP(Model Context Protocol) サーバーです。LLM APIには一切依存しません。すべてpandasでローカル計算されるため、無料で高速です。

ツール一覧

ツール

説明

query_video_stats(metric, rule, condition)

メトリックによるクエリ: TOP N / BOTTOM N / 平均 / 合計 / 日付別 / フィルター付き

data_insights()

自動インサイト: データ概要 + 異常の深掘り(1.5σ)+ 運用提案

list_columns()

すべての列名と型を一覧表示

クイックスタート

pip install -r requirements.txt

# 自测(直接调用 + MCP 握手)
python tests/test_server.py

# 启动(stdio 传输,客户端按下面配置自动拉起)
python server.py

Claude Desktop / Cursor への接続

クライアントのMCP設定(例: claude_desktop_config.json)に追加します:

{
  "mcpServers": {
    "data-service": {
      "command": "python",
      "args": ["/绝对路径/mcp-data-service/server.py"]
    }
  }
}

保存してクライアントを再起動すると、エージェントが「最も完了率の高い動画」「データ異常の自動洞察」などの機能を直接呼び出せます。

ファイル構成

server.py          FastMCP Server(@mcp.tool 注册 3 个工具)
data/video_stats.csv   示例数据
tests/test_server.py   直调 + MCP stdio 握手双测试
requirements.txt   fastmcp + pandas

テスト

python tests/test_server.py
# [PASS] query_video_stats 直接调用
# [PASS] data_insights 自动洞察
# [PASS] MCP stdio 握手:list_tools + call_tool

開発計画

  • PyPI に公開(pipx install mcp-data-service

  • SQLite / PostgreSQL バックエンド

  • 単一のサーバーで複数のデータソースをサポート

⬆ 先頭に戻る


ライセンス

MIT © lengzhanbao

-
license - not tested
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.

  • Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

View all MCP Connectors

Latest Blog Posts

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/lengzhanbao/mcp-data-service'

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