Skip to content
Eden Engine

Smart Citizen Devices Near a Location

smartcitizen/nearby-devices

Smart Citizen community sensor devices nearest a latitude and longitude, closest first, 1 to 10 per call: name, city and country, whether online, hardware, owner, and each sensor's latest value and unit (temperature, humidity, noise, particulates, gases). The list includes offline and long-retired devices, so check last_reading_at and system_tags.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

Smart Citizen

Sensor data from Smart Citizen (smartcitizen.me), the community air and environment sensing platform of Fab Lab Barcelona at IAAC; it states no data licence and no attribution rule, so the source is credited as a courtesy. Responses are passed through unmodified. Served by Eden Engine; not an official Smart Citizen product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "smartcitizen/nearby-devices" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "smartcitizen/nearby-devices" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "smartcitizen/nearby-devices", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "smartcitizen/nearby-devices", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "latitude",
    "longitude"
  ],
  "properties": {
    "latitude": {
      "type": "number",
      "maximum": 90,
      "minimum": -90,
      "description": "Centre latitude in decimal degrees, for example 41.39."
    },
    "per_page": {
      "type": "integer",
      "default": 5,
      "maximum": 10,
      "minimum": 1,
      "description": "Devices to return, 1 to 10. Defaults to 5."
    },
    "longitude": {
      "type": "number",
      "maximum": 180,
      "minimum": -180,
      "description": "Centre longitude in decimal degrees, for example 2.17."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "results"
  ],
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "location"
        ],
        "properties": {
          "id": {
            "type": "integer"
          },
          "data": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sensors": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer"
                    },
                    "name": {
                      "type": "string"
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "The latest reading, in `unit`."
                    },
                    "prev_value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "description": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "measurement": {
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "last_reading_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          },
          "name": {
            "type": "string"
          },
          "owner": {
            "type": [
              "object",
              "null"
            ]
          },
          "state": {
            "type": [
              "string",
              "null"
            ]
          },
          "hardware": {
            "type": [
              "object",
              "null"
            ]
          },
          "location": {
            "type": "object",
            "properties": {
              "city": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "exposure": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "latitude": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "longitude": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "country_code": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "system_tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Includes online or offline and indoor or outdoor."
          },
          "last_reading_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "ISO 8601 UTC; null if the device never reported."
          }
        },
        "additionalProperties": true
      }
    }
  },
  "description": "The devices, nearest first, in `results`.",
  "additionalProperties": true
}