Google Antigravity Directory

The #1 directory for Google Antigravity prompts, rules, workflows & MCP servers. Optimized for Gemini 3 agentic development.

Resources

PromptsMCP ServersAntigravity RulesGEMINI.md GuideBest Practices

Company

Submit PromptAntigravityAI.directory

Popular Prompts

Next.js 14 App RouterReact TypeScriptTypeScript AdvancedFastAPI GuideDocker Best Practices

Legal

Privacy PolicyTerms of ServiceContact Us
Featured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App ShowFeatured on FazierVerified on Verified ToolsFeatured on WayfindioAntigravity AI - Featured on Startup FameFeatured on Wired BusinessFeatured on Twelve ToolsListed on Turbo0Featured on findly.toolsFeatured on Aura++That App Show

© 2026 Antigravity AI Directory. All rights reserved.

The #1 directory for Google Antigravity IDE

This website is not affiliated with, endorsed by, or associated with Google LLC. "Google" and "Gemini" are trademarks of Google LLC.

Antigravity AI Directory
PromptsMCPBest PracticesUse CasesLearn
Home
MCP Servers
TimescaleDB
database

TimescaleDB MCP Server

Time-series database on PostgreSQL

databasetimeseriespostgres

About

## TimescaleDB MCP Server: Time-Series PostgreSQL The **TimescaleDB MCP Server** integrates TimescaleDB into Google Antigravity, enabling time-series data operations with hypertables, continuous aggregates, and compression directly from your development environment. ### Why TimescaleDB MCP? - **PostgreSQL Based**: Full PostgreSQL compatibility - **Hypertables**: Automatic time-based partitioning - **Continuous Aggregates**: Real-time materialized views - **Compression**: Up to 95% storage savings - **SQL Interface**: Standard SQL for time-series ### Key Features #### 1. Time-Series Queries ```python # Query time-series data result = await mcp.query(""" SELECT time_bucket('5 minutes', time) AS bucket, device_id, AVG(temperature) as avg_temp, MAX(temperature) as max_temp FROM sensor_data WHERE time > NOW() - INTERVAL '1 hour' GROUP BY bucket, device_id ORDER BY bucket DESC """) for row in result: print(f"{row['bucket']}: Device {row['device_id']} - {row['avg_temp']}°C") ``` #### 2. Hypertable Operations ```python # Create hypertable await mcp.execute(""" SELECT create_hypertable( 'sensor_data', 'time', chunk_time_interval => INTERVAL '1 day' ) """) # Add compression await mcp.execute(""" ALTER TABLE sensor_data SET ( timescaledb.compress, timescaledb.compress_segmentby = 'device_id' ) """) # Add compression policy await mcp.execute(""" SELECT add_compression_policy('sensor_data', INTERVAL '7 days') """) ``` #### 3. Continuous Aggregates ```python # Create continuous aggregate await mcp.execute(""" CREATE MATERIALIZED VIEW hourly_stats WITH (timescaledb.continuous) AS SELECT time_bucket('1 hour', time) AS hour, device_id, AVG(temperature) as avg_temp, COUNT(*) as reading_count FROM sensor_data GROUP BY hour, device_id """) # Add refresh policy await mcp.execute(""" SELECT add_continuous_aggregate_policy('hourly_stats', start_offset => INTERVAL '3 hours', end_offset => INTERVAL '1 hour', schedule_interval => INTERVAL '1 hour' ) """) ``` #### 4. Data Retention ```python # Add retention policy await mcp.execute(""" SELECT add_retention_policy('sensor_data', INTERVAL '30 days') """) # Get chunk info chunks = await mcp.query(""" SELECT chunk_name, range_start, range_end, is_compressed FROM timescaledb_information.chunks WHERE hypertable_name = 'sensor_data' ORDER BY range_start DESC LIMIT 10 """) ``` ### Configuration ```json { "mcpServers": { "timescaledb": { "command": "npx", "args": ["-y", "@anthropic/mcp-timescaledb"], "env": { "TIMESCALE_URL": "postgresql://user:pass@host:5432/tsdb" } } } } ``` ### Use Cases **IoT Monitoring**: Store and analyze sensor data. **DevOps Metrics**: Application and infrastructure metrics. **Financial Data**: Time-series financial analysis. **Energy Monitoring**: Smart grid and energy data. The TimescaleDB MCP enables time-series operations within your development environment.

Installation

Configuration
{
  "mcpServers": {
    "timescaledb": {
      "mcpServers": {
        "timescaledb": {
          "env": {
            "TIMESCALE_URL": "postgresql://user:pass@host:5432/db"
          },
          "args": [
            "-y",
            "timescaledb-mcp-server"
          ],
          "command": "npx"
        }
      }
    }
  }
}

How to Use

  1. 1Set up TimescaleDB instance
  2. 2Get PostgreSQL connection string
  3. 3Configure environment

Related MCP Servers

🧰

Toolhouse MCP

Universal AI tool platform that equips your AI with production-ready capabilities. Execute code, browse the web, manage files, send emails, and more through a unified MCP interface.

🔨

Smithery Registry MCP

The MCP server registry and discovery platform. Browse, search, and install MCP servers from the community. Find the perfect integrations for your AI development workflow.

🔍

MCP Inspector

Official debugging and testing tool for MCP servers. Inspect server capabilities, test tool calls, validate responses, and debug protocol communication in real-time.

← Back to All MCP Servers