How to Use DataSF dataset search in Notion
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.
Prompts to try with DataSF dataset search in Notion
Copy an example into Notion, or ask in your own words.
Each month, use DataSF dataset search to look for San Francisco building permit sources and report newly discovered entries with their descriptions.
Every Monday at 9am: use DataSF dataset search to look this up and give me the result as a table.
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 Notion
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send Notion this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Allow custom MCP servers
A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.
- Add Spiral to a custom agent
Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.
- Run DataSF dataset search in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds DataSF dataset search, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run DataSF dataset search
One request; the result comes back by polling or a webhook.
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: Notion finds DataSF dataset search on Spiral, shows the price and runs it.
DataSF dataset search providers and prices
Spiral runs DataSF dataset search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Notion for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Only | datasets, maps, filters, charts, hrefs, files, stories, measures and 1 more | Restrict to one asset type. | |
| 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, or download_count | relevance | Sort order. |
Every API field of DataSF open data portal · Datasets is on its tool page: open its card above.
What can you do with DataSF dataset search in Notion?
Keep a recurring San Francisco civic briefing tied to the city's published sources. A scheduled agent can revisit catalog choices, check dataset definitions, and refresh counts and supporting records.
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.
More on DataSF dataset search and Notion
Overview
DataSF dataset search in other agents
Questions about DataSF dataset search in Notion
Can Notion use DataSF dataset search?
Yes. Add Spiral to Notion as an MCP server, and Notion can find and run DataSF dataset search like any built-in tool.
How much does DataSF dataset search cost in Notion?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.
Do I need an Alexandria account to use DataSF dataset search in Notion?
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 Notion?
About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.
Does Notion wait while DataSF dataset search runs?
DataSF dataset search runs in the background. Notion 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.
Start using DataSF dataset search in Notion
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Notion:
set up https://spiral.ai/SKILL.md


