Spacetimedb Typescript

🌐Community
by douglance · vlatest · Repository

Queries SpacetimeDB using TypeScript, enabling efficient data analysis and integration within 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-typescript npx -- -y @trustedskills/spacetimedb-typescript
2

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

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

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

About This Skill

What it does

This skill provides TypeScript bindings for SpaceTimeDB, a distributed database. It allows AI agents to interact with and query data stored in SpaceTimeDB using familiar TypeScript syntax and patterns. Specifically, you can perform CRUD (Create, Read, Update, Delete) operations on spacetime data and leverage its geospatial capabilities.

When to use it

  • Geospatial Data Management: When your agent needs to store and retrieve location-based information like sensor readings or asset tracking data.
  • Distributed Applications: Building applications that require a globally distributed database for low latency access from various locations.
  • Time Series Analysis: If the AI agent is dealing with time-stamped data, SpaceTimeDB's capabilities can be leveraged for efficient storage and querying.
  • Complex Data Relationships: When your application requires managing complex relationships between different types of data across space and time.

Key capabilities

  • TypeScript bindings for SpaceTimeDB API
  • CRUD operations on spacetime data
  • Geospatial query support
  • Distributed database access

Example prompts

  • "Write a TypeScript function to create a new sensor reading in SpaceTimeDB with latitude, longitude, timestamp and value."
  • "Generate the code to query SpaceTimeDB for all assets within a 1km radius of [location] between [start time] and [end time]."
  • "Show me how to update an existing spacetime object's properties using TypeScript."

Tips & gotchas

  • Requires familiarity with both TypeScript and SpaceTimeDB concepts.
  • SpaceTimeDB setup and configuration are prerequisites before utilizing this skill.

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
21

🌐 Community

Passed automated security scans.