Spacetimedb Rust

🌐Community
by douglance · vlatest · Repository

Efficiently queries and manages large spatiotemporal datasets using Rust's SpacetimeDB integration for robust backend applications.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add spacetimedb-rust npx -- -y @trustedskills/spacetimedb-rust
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "spacetimedb-rust": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/spacetimedb-rust"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides access to the SpaceTimeDB Rust library. It allows AI agents to interact with and query data stored in a SpaceTimeDB instance, leveraging its capabilities for time-series data management and geospatial analysis. The agent can perform operations such as inserting data points, retrieving historical data based on timestamps or locations, and executing complex spatial queries.

When to use it

  • Historical Data Analysis: Retrieve temperature readings from a sensor over the past week.
  • Geospatial Queries: Find all users within a 1km radius of a specific location.
  • Time-Series Forecasting: Fetch data for training machine learning models that predict future trends based on historical patterns.
  • Real-time Monitoring: Query current sensor values to monitor system health and identify anomalies.

Key capabilities

  • Rust library integration
  • Data insertion into SpaceTimeDB
  • Historical data retrieval (timestamped)
  • Geospatial querying

Example prompts

  • "Retrieve the average temperature from sensor ID 'temp_01' for the last 24 hours."
  • "Find all users located within 500 meters of latitude 37.7749 and longitude -122.4194."
  • “Insert a new data point with timestamp ‘2024-01-26T10:00:00Z’, sensor ID ‘pressure_02’ and value 1012 hPa.”

Tips & gotchas

  • Requires a running SpaceTimeDB instance to connect to.
  • Familiarity with SpaceTimeDB's query language is beneficial for optimal results.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
douglance
Installs
6

🌐 Community

Passed automated security scans.