/ ディレクトリ / プレイグラウンド / Anyquery
● コミュニティ julien040 ⚡ 即起動

Anyquery

作者 julien040 · julien040/anyquery

Query 40+ apps (GitHub, Notion, Slack, ...) with SQL via MCP.

Anyquery is a SQL query engine that talks to 40+ SaaS apps (GitHub, Notion, Slack, Airtable, Linear) and local files (CSV, JSON, Parquet). Through MCP it exposes those tables to Claude, so an LLM can ask cross-source questions in plain SQL without writing per-API glue.

なぜ使うのか

主な機能

ライブデモ

実際の動作

anyquery-mcp.replay ▶ 準備完了
0/0

インストール

クライアントを選択

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "anyquery-mcp": {
      "command": "anyquery",
      "args": [
        "mcp"
      ]
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config を開く。保存後、アプリを再起動。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "anyquery-mcp": {
      "command": "anyquery",
      "args": [
        "mcp"
      ]
    }
  }
}

Cursor は Claude Desktop と同じ mcpServers スキーマを使用。プロジェクト設定はグローバルより優先。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "anyquery-mcp": {
      "command": "anyquery",
      "args": [
        "mcp"
      ]
    }
  }
}

Cline サイドバーの MCP Servers アイコンをクリックし、"Edit Configuration" を選択。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "anyquery-mcp": {
      "command": "anyquery",
      "args": [
        "mcp"
      ]
    }
  }
}

Claude Desktop と同じ形式。Windsurf を再起動して反映。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "anyquery-mcp",
      "command": "anyquery",
      "args": [
        "mcp"
      ]
    }
  ]
}

Continue はマップではなくサーバーオブジェクトの配列を使用。

~/.config/zed/settings.json
{
  "context_servers": {
    "anyquery-mcp": {
      "command": {
        "path": "anyquery",
        "args": [
          "mcp"
        ]
      }
    }
  }
}

context_servers に追加。保存時に Zed がホットリロード。

claude mcp add anyquery-mcp -- anyquery mcp

ワンライナー。claude mcp list で確認、claude mcp remove で削除。

ユースケース

実用的な使い方: Anyquery

Generate a weekly status report joining GitHub PRs and Linear tickets

👤 Engineering leads ⏱ ~15 min intermediate

使うタイミング: You want one summary across multiple SaaS tools without writing API code.

前提条件
  • Server/skill installed and authenticated — See repo README
フロー
  1. List the connected tables
    Show me every table anyquery has, grouped by source app.✓ コピーしました
    → Tables grouped by github/linear/slack/...
  2. Write the join
    For PRs merged this week in org acme/, find the matching Linear ticket by branch name and tell me which tickets shipped.✓ コピーしました
    → A SQL JOIN between github_pulls and linear_issues with shipped tickets

結果: A one-shot status digest you can paste into Slack.

注意点
  • Tables only have data for connected accounts — Tables only have data for connected accounts — run anyquery plugin install <name> and authenticate before querying.
組み合わせ: github · linear · notion

組み合わせ

他のMCPと組み合わせて10倍の力を

anyquery-mcp + github

Pair with github for complementary capabilities

Use this server together with github to complete a multi-step task.✓ コピーしました
anyquery-mcp + linear

Pair with linear for complementary capabilities

Use this server together with linear to complete a multi-step task.✓ コピーしました

ツール

このMCPが提供する機能

ツール入力呼び出すタイミングコスト
list_tables (none) Discover which app/file tables are available before querying free
describe_table name: str Inspect columns of a specific table free
execute_query sql: str Run a SELECT across one or more sources Underlying SaaS API quota

コストと制限

運用コスト

APIクォータ
See provider docs for rate limits
呼び出しあたりのトークン
Varies by tool
金額
See repo README for pricing details
ヒント
Cache tool results and avoid repeated identical calls.

セキュリティ

権限、シークレット、影響範囲

認証情報の保管: Use environment variables; never commit secrets
データ送信先: Tool calls go to the provider's API as documented

トラブルシューティング

よくあるエラーと対処法

table 'github_pulls' does not exist

Install and authenticate the GitHub plugin: anyquery plugin install github && anyquery plugin login github

確認: Run list_tables and confirm github_pulls is present
rate limited by upstream API

Anyquery passes through the source's rate limit — add LIMIT and avoid SELECT * across millions of rows

確認: Try a small LIMIT 10 query

代替案

Anyquery 他との比較

代替案代わりに使う場面トレードオフ
MindsDBYou want federated ML/analytics, not just SQL accessHeavier — full DB platform vs single binary

その他

リソース

📖 GitHub の公式 README を読む

🐙 オープンな issue を見る

🔍 400以上のMCPサーバーとSkillsを見る