Ubidots MCP by usefulapi

Read devices, variables, last values and time-series statistics in Ubidots.

使うべきか

品質と安全性

A
説明の品質
100%
スキーマの完全性
98%
命名の品質
80%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~1,725トークン数(ツール定義)
~1.6 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 1.35%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "ubidots": {
      "url": "https://ubidots.usefulapi.io/mcp"
    }
  }
}

リモートエンドポイント

https://ubidots.usefulapi.io/mcpstreamable-http

できること

ツール一覧

ツール(8)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢ubidots_list_devices(page, page_size)

List the devices in the account with label, name, last activity, tags and variable count. Start here to find a device id or label. Ubidots API: GET /api/v2.0/devices/.

入力スキーマ

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number for pagination (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Items per page (default 50; variables 200).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_device(device)

Get one device by id or ~label: its location properties, active state, organization and variable count. Ubidots API: GET /api/v2.0/devices/{key}/.

入力スキーマ

{
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "minLength": 1,
      "description": "Device id, or label with a ~ prefix (for example ~my-sensor). From ubidots_list_devices."
    }
  },
  "required": [
    "device"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_device_last_values(device)

Get the most recent value of every variable of one device, with timestamps. Good for a current reading. Ubidots API: GET /api/v2.0/devices/{key}/_/values/last.

入力スキーマ

{
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "minLength": 1,
      "description": "Device id, or label with a ~ prefix (for example ~my-sensor). From ubidots_list_devices."
    }
  },
  "required": [
    "device"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_list_variables(page, page_size)

List variables across all devices with their type, unit, device, last value and last activity. Ubidots API: GET /api/v2.0/variables/.

入力スキーマ

{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number for pagination (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Items per page (default 50; variables 200).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_list_device_variables(device, page, page_size)

List the variables of one device (id or ~label), with type, unit and last activity. Ubidots API: GET /api/v2.0/devices/{key}/variables/.

入力スキーマ

{
  "type": "object",
  "properties": {
    "device": {
      "type": "string",
      "minLength": 1,
      "description": "Device id, or label with a ~ prefix (for example ~my-sensor). From ubidots_list_devices."
    },
    "page": {
      "description": "Page number for pagination (default 1).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "page_size": {
      "description": "Items per page (default 50; variables 200).",
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    }
  },
  "required": [
    "device"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_variable(variable_id)

Get one variable by id: its device, type, unit, expression (for synthetic variables), last value and the link to its values. Ubidots API: GET /api/v2.0/variables/{id}/.

入力スキーマ

{
  "type": "object",
  "properties": {
    "variable_id": {
      "type": "string",
      "minLength": 1,
      "description": "Variable id (from ubidots_list_variables or ubidots_list_device_variables)."
    }
  },
  "required": [
    "variable_id"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_data_series(start, end, variables, decimalPlaces, columns, ...)

Read the raw time-series data points of one or more variables between two epoch-millisecond times. Each variable returns its own code, so one variable can fail without failing the rest. Ubidots API: POST /api/v2.0/data/series/ (read only).

入力スキーマ

{
  "type": "object",
  "properties": {
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "variables": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "variable": {
            "type": "string",
            "minLength": 1,
            "description": "Variable id, or a variable label with a ~ prefix when device is set."
          },
          "device": {
            "description": "Device id or ~label. Needed when variable is a label.",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "variable"
        ],
        "description": "One variable to query."
      },
      "description": "Variables to query (minimum 1)."
    },
    "decimalPlaces": {
      "description": "Decimal places for values (0-16).",
      "type": "integer",
      "minimum": 0,
      "maximum": 16
    },
    "columns": {
      "description": "Columns to include per data point.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "timestamp",
          "value",
          "context",
          "created_at"
        ]
      }
    },
    "results_format": {
      "description": "tabular (arrays, default) or object (named keys).",
      "type": "string",
      "enum": [
        "tabular",
        "object"
      ]
    },
    "results_data": {
      "description": "false returns only the variable check, with empty results.",
      "type": "boolean"
    },
    "storage": {
      "description": "Storage tier to query.",
      "type": "string",
      "enum": [
        "hot",
        "cold",
        "auto"
      ]
    }
  },
  "required": [
    "start",
    "end",
    "variables"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢ubidots_get_data_statistics(start, end, variables, decimalPlaces, aggregations)

Compute aggregate statistics (first, last, min, max, count, sum, mean, std, p25, p50, p75) of one or more variables over a time range. Ubidots API: POST /api/v2.0/data/statistics/ (read only).

入力スキーマ

{
  "type": "object",
  "properties": {
    "start": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "end": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Time as epoch milliseconds."
    },
    "variables": {
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "variable": {
            "type": "string",
            "minLength": 1,
            "description": "Variable id, or a variable label with a ~ prefix when device is set."
          },
          "device": {
            "description": "Device id or ~label. Needed when variable is a label.",
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "variable"
        ],
        "description": "One variable to query."
      },
      "description": "Variables to query (minimum 1)."
    },
    "decimalPlaces": {
      "description": "Decimal places for values (0-16).",
      "type": "integer",
      "minimum": 0,
      "maximum": 16
    },
    "aggregations": {
      "description": "Statistics to compute. Omit for all eleven.",
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "first",
          "last",
          "min",
          "max",
          "count",
          "sum",
          "mean",
          "std",
          "p25",
          "p50",
          "p75"
        ]
      }
    }
  },
  "required": [
    "start",
    "end",
    "variables"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 8 件