sf_datasets
Pack: data-sf · Endpoint: https://gateway.pipeworx.io/data-sf/mcp
Search the San Francisco open-data catalogue (data.sfgov.org) for datasets by keyword. Returns dataset names, descriptions, and Socrata resource ids to use with sf_query.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Keyword(s), e.g. “parking”, “housing”, “tree”. |
limit | number | no | Max datasets (1-100, default 20). |
offset | number | no | Offset for paging. |
Example call
Arguments
{
"query": "parking violations",
"_apiKey": "your-data-sf-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/data-sf/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"sf_datasets","arguments":{"query":"parking violations","_apiKey":"your-data-sf-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('sf_datasets', {
"query": "parking violations",
"_apiKey": "your-data-sf-api-key"
});
More examples
{
"query": "housing permits",
"limit": 30,
"_apiKey": "your-data-sf-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"data-sf": {
"url": "https://gateway.pipeworx.io/data-sf/mcp"
}
}
}
See Getting Started for client-specific install steps.