[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [DataSF dataset search](https://spiral.ai/integrations/antigravity/datasf-dataset-search)

# How to Use DataSF dataset search in Google Antigravity

Finds DataSF catalog entries for subjects such as building permits and city services. Use it to locate a source dataset and distinguish it from a chart, map, or saved view.

|  |  |
| --- | --- |
| Model | DataSF dataset search |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with DataSF dataset search in Google Antigravity

- Use DataSF dataset search to find San Francisco building permit datasets and save a comparison of their descriptions and source links in this project.
- Use DataSF dataset search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from DataSF dataset search and tell me what changed since last week.
- Check DataSF dataset search and summarize what you find in three bullet points.
- Pull the newest data from DataSF dataset search and give me the result as a table.

## How to set up DataSF dataset search in Google Antigravity

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run DataSF dataset search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "data-sf-gov/open-data/datasets",
    "input": {
      "only": "datasets"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds DataSF dataset search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## DataSF dataset search tools and prices

- [DataSF open data portal · Datasets](https://spiral.ai/tools/alexandria/data-sf-gov/open-data/datasets) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| only | datasets, maps, filters, charts, hrefs, files, stories, measures, visualizations | — | Restrict to one asset type. `datasets` are the tabular assets that `rows` can query. |
| tags |  | — | Portal tags as returned by `facets`; an asset must carry all of them. |
| limit | 1 to 100 | 20 | Results per page (1-100). |
| order | relevance, updatedAt, createdAt, name, page_views_total, page_views_last_month, page_views_last_week, download_count | relevance | Sort order. `relevance` (default) needs a `query`; the others are descending except `name`. |
| query |  | — | Free-text search over names, descriptions, tags and columns, for example `zoning` or `building permits`. |
| cursor |  | — | Opaque `next_cursor` from the previous page; send it with the same search parameters. |

## What can you do with DataSF dataset search in Google Antigravity?

Build a San Francisco civic report backed by source definitions and queryable records. A coding agent can turn catalog discovery, schema inspection, and record counts into an analysis that fits your project's files.

### Build a permit activity briefing

Find permit sources through the catalog's categories and tags, inspect their definitions, count the selected period, and retrieve records for a monthly construction briefing. Account for permits that cover multiple addresses.

### Compare neighborhood service requests

Locate the 311 source through catalog discovery, verify its neighborhood and date definitions, and compare matching record totals with a breakdown of requests. Label the result as service requests.

### Create a civic data source guide

Use the portal's categories and tags to find related datasets, then document what each source measures and how its columns are defined. Give researchers a source guide for a specific subject, such as housing.

### Prepare a scoped data extraction

Discover relevant tables using the catalog vocabulary, inspect their schemas, and count matching records before retrieving a defined date range. Use the result to populate a civic analysis project.

### Audit sources behind a civic report

Review the categories, search results, and dataset definitions behind a housing or city services report. Recalculate its record totals and retrieve supporting records so the published figures can be checked.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## DataSF dataset search in other agents

- [Amp](https://spiral.ai/integrations/amp/datasf-dataset-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/datasf-dataset-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/datasf-dataset-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/datasf-dataset-search)
- [Cline](https://spiral.ai/integrations/cline/datasf-dataset-search)
- [Codex](https://spiral.ai/integrations/codex/datasf-dataset-search)
- [Cursor](https://spiral.ai/integrations/cursor/datasf-dataset-search)
- [Devin](https://spiral.ai/integrations/devin/datasf-dataset-search)
- [dots](https://spiral.ai/integrations/dots/datasf-dataset-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/datasf-dataset-search)
- [Gemini](https://spiral.ai/integrations/gemini/datasf-dataset-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/datasf-dataset-search)
- [goose](https://spiral.ai/integrations/goose/datasf-dataset-search)
- [Grok](https://spiral.ai/integrations/grok/datasf-dataset-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/datasf-dataset-search)
- [Hermes](https://spiral.ai/integrations/hermes/datasf-dataset-search)
- [Instinct](https://spiral.ai/integrations/instinct/datasf-dataset-search)
- [Manus](https://spiral.ai/integrations/manus/datasf-dataset-search)
- [Muse](https://spiral.ai/integrations/muse/datasf-dataset-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/datasf-dataset-search)
- [n8n](https://spiral.ai/integrations/n8n/datasf-dataset-search)
- [Notion](https://spiral.ai/integrations/notion/datasf-dataset-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/datasf-dataset-search)
- [opencode](https://spiral.ai/integrations/opencode/datasf-dataset-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/datasf-dataset-search)
- [Raycast](https://spiral.ai/integrations/raycast/datasf-dataset-search)
- [VS Code](https://spiral.ai/integrations/vscode/datasf-dataset-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/datasf-dataset-search)
- [Zapier](https://spiral.ai/integrations/zapier/datasf-dataset-search)

## More Google Antigravity guides

- [DataSF dataset records](https://spiral.ai/integrations/antigravity/datasf-dataset-records)
- [DataSF record count](https://spiral.ai/integrations/antigravity/datasf-record-count)
- [DataSF dataset details](https://spiral.ai/integrations/antigravity/datasf-dataset-details)
- [Earth Search Sentinel-2 image clip](https://spiral.ai/integrations/antigravity/earth-search-sentinel-2-image-clip)
- [DataSF catalog categories and tags](https://spiral.ai/integrations/antigravity/datasf-catalog-categories-and-tags)
- [Earth Search Sentinel-2 imagery availability](https://spiral.ai/integrations/antigravity/earth-search-sentinel-2-imagery-availability)

## Questions about DataSF dataset search in Google Antigravity

**Can Google Antigravity use DataSF dataset search?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run DataSF dataset search like any built-in tool.

**How much does DataSF dataset search cost in Google Antigravity?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need an Alexandria account to use DataSF dataset search in Google Antigravity?**

No. Spiral runs DataSF dataset search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up DataSF dataset search in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while DataSF dataset search runs?**

DataSF dataset search runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**Is every DataSF search result a dataset?**

No. The catalog can include tables, charts, maps, stories, and derived views. Check the result's type before choosing a source for record analysis.

**How fresh is DataSF data?**

Refresh schedules depend on the dataset. DataSF documents an approximately 10 a.m. daily refresh for 311 Cases, while DBI uploads Building Permits nightly.

**How much historical data is available?**

History depends on the selected dataset. For example, 311 Cases covers eligible cases created on July 1, 2008, or later.

**Does a row count equal the number of permits?**

Not necessarily. Building Permits can repeat one permit across multiple rows when it has multiple associated addresses, so counting rows can overstate the number of permits.

**Does DataSF guarantee the data is accurate?**

No. The city's terms say the data is subject to error and cannot be relied on without verification or a site inspection.

