California State Portal MCP server for AI agents
Let Claude, ChatGPT or your own agent read California State Portal: 11 typed functions through one MCP server. No California State Portal API key needed.
- Site
- ca.gov
- Functions
- 11
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
An MCP server for California State Portal alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/ca_govOne MCP server for California State Portal and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
getDepartmentReturns information about a specific California state agency or department.Arguments
Name Type Required departmentIdstringYes Returns
{id: string; name: string; url?: string; description?: string; phone?: string}HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/getDepartmentCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.getDepartment("220");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.getDepartment("220"))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/getDepartment \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"departmentId":"220"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.getDepartment("220");getDepartmentContactReturns a department's contact details.Arguments
Name Type Required departmentIdstringYes Returns
ca_govDepartmentContactinterface ca_govDepartmentContact { id: string; name: string; phone?: string; email?: string; contactUrl?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/getDepartmentContactCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.getDepartmentContact("220");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.getDepartmentContact("220"))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/getDepartmentContact \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"departmentId":"220"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.getDepartmentContact("220");getServiceReturns detailed information about a specific California state service.Arguments
Name Type Required serviceUrlstringYes Returns
ca_govServiceDetailinterface ca_govServiceDetail { id: string; name: string; url: string; description?: string; phone?: string; departmentUrl?: string; department?: string; launchUrl?: string; serviceType?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/getServiceCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.getService("<serviceUrl>");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.getService("<serviceUrl>"))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/getService \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"serviceUrl":"<serviceUrl>"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.getService("<serviceUrl>");listDepartmentsLists all California state agencies and departments available through CA.gov with links to their main pages.Arguments
Name Type Required filterstringNo Returns
ca_govRow[]interface ca_govRow { id: string; name: string; url: string; departmentId?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/listDepartmentsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.listDepartments();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.listDepartments())curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/listDepartments \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.listDepartments();listNewsLists the recent state news CA.gov's home page features in its "In the spotlight" list, with links and dates.Arguments
None.
Returns
ca_govNewsItem[]interface ca_govNewsItem { title: string; url: string; date?: string; summary?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/listNewsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.listNews();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.listNews())curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/listNews \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.listNews();listPublicDataLists public datasets available through data.ca.gov (California's open data portal) with descriptions and access links.Arguments
Name Type Required limitnumberNo offsetnumberNo Returns
{count: number; datasets: ca_govDataset[]}interface ca_govDataset { id: string; name: string; title: string; url: string; description?: string; organization?: string; modified?: string; license?: string; resources: { id?: string; name?: string; format?: string; url: string; datastoreActive?: boolean }[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/listPublicDataCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.listPublicData({ limit: 5 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.listPublicData({"limit": 5}))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/listPublicData \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"limit":5}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.listPublicData({ limit: 5 });listServicesLists all state services available through the CA.gov portal.Arguments
None.
Returns
ca_govRow[]interface ca_govRow { id: string; name: string; url: string; departmentId?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/listServicesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.listServices();import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.listServices())curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/listServices \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.listServices();queryPublicDataReads the rows of one data.ca.gov table.Arguments
Name Type Required resourceIdstringYes querystringNo filtersRecord<string, string | number | boolean>No limitnumberNo offsetnumberNo Returns
ca_govDataRowsinterface ca_govDataRows { resourceId: string; total: number; fields: { id: string; type: string; label?: string }[]; records: Record<string, unknown>[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/queryPublicDataCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.queryPublicData({ resourceId: "fe8b9dac-ff89-4b4b-9b04-d0c5c7cfde61", limit: 2 });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.queryPublicData({ "resourceId": "fe8b9dac-ff89-4b4b-9b04-d0c5c7cfde61", "limit": 2 }))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/queryPublicData \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"resourceId":"fe8b9dac-ff89-4b4b-9b04-d0c5c7cfde61","limit":2}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.queryPublicData({ resourceId: "fe8b9dac-ff89-4b4b-9b04-d0c5c7cfde61", limit: 2 });searchNewsSearches the Governor's newsroom (gov.ca.gov), which CA.gov's home page links to for state news, by keyword.Arguments
Name Type Required querystringYes Returns
ca_govNewsItem[]interface ca_govNewsItem { title: string; url: string; date?: string; summary?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/searchNewsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.searchNews("wildfire");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.searchNews("wildfire"))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/searchNews \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"wildfire"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.searchNews("wildfire");searchPublicDataSearches California's open data portal (data.ca.gov) for public datasets by keyword.Arguments
Name Type Required querystringYes limitnumberNo offsetnumberNo Returns
{count: number; datasets: ca_govDataset[]}interface ca_govDataset { id: string; name: string; title: string; url: string; description?: string; organization?: string; modified?: string; license?: string; resources: { id?: string; name?: string; format?: string; url: string; datastoreActive?: boolean }[]; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/searchPublicDataCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.searchPublicData({ query: "water" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.searchPublicData({"query": "water"}))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/searchPublicData \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"args":{"query":"water"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.searchPublicData({ query: "water" });searchServicesSearches the State of California's service directory for public services by keyword or topic.Arguments
Name Type Required querystringYes Returns
ca_govServiceSearchRow[]interface ca_govServiceSearchRow { id: string; name: string; url: string; departmentId?: string; department?: string; description?: string; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/ca_gov/searchServicesCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.ca_gov.searchServices("cannabis");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.ca_gov.searchServices("cannabis"))curl -X POST https://api.bowmark.ai/v1/sites/ca_gov/searchServices \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"cannabis"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.ca_gov.searchServices("cannabis");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/ca_gov/<function> - OpenAPI
/v1/sites/ca_gov/openapi.json