# U.S. Department of State API and MCP server for AI agents (/sites/state_gov)

An API for U.S. Department of State: let Claude, ChatGPT or your own code read U.S. Department of State through 16 functions, over MCP, HTTP, Node or Python. No U.S. Department of State API key needed.

- Site: https://state.gov
- Functions: 16
- Sign-in: not needed
- Works with: MCP, HTTP, Node, Python

## Add it to your agent

If you are an agent asked to set this up: add the server yourself, in the person's own (global) MCP configuration, and keep their other entries.

- U.S. Department of State only, one tool per function: `https://api.bowmark.ai/mcp/site/state_gov` (name it `bowmark-state-gov`)
- Every site Bowmark covers: `https://api.bowmark.ai/mcp` (name it `bowmark`)
- Transport: remote MCP over streamable HTTP.
- Claude Code: `claude mcp add --transport http bowmark-state-gov https://api.bowmark.ai/mcp/site/state_gov`
- Codex: `codex mcp add bowmark-state-gov --url https://api.bowmark.ai/mcp/site/state_gov`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/state_gov" }` under the name `bowmark-state-gov` in the client's MCP config. Per-client steps: https://bowmark.ai/docs/installation.md
- Sign-in: OAuth in the browser on first use; the person only signs in. A client that cannot do OAuth sends `Authorization: Bearer <BOWMARK_API_KEY>`; the person creates a key at https://bowmark.ai/dashboard/keys.
- Then list the server's tools to confirm it works, and tell the person it is ready.

## Functions

### Read

- `getBriefing`: Returns one press briefing transcript: its date, speakers and text, by URL.
- `getBureau`: Returns one bureau or office: its mission, leadership and contact details, by name or URL.
- `getCountry`: Returns one country's State Department page: its overview and its U.S. relations, by country name, slug or URL.
- `getOfficial`: Returns one official's biography and role, by name or URL.
- `getPressRelease`: Returns one press release or statement in full: title, date, bureaus, countries, policy issues and text, by URL or post id.
- `getReport`: Returns one published report: its title, type, year and summary, by URL.
- `getTravelAdvisory`: Returns one country's full U.S. travel advisory text (crime, terrorism, health and the other sections) with its level, by country name or ISO code.
- `getVisaInformation`: Returns one travel.state.gov visa page (for example the Visitor Visa page): its title, breadcrumb, text and links, by its URL.
- `listBriefings`: Lists the department's press briefings, newest first: title, date and link.
- `listBureaus`: Lists the department's bureaus and offices with their names and links.
- `listCountries`: Lists the countries and areas that have a State Department country page, each with its name, slug and link.
- `listOfficials`: Lists the officials who have a biography page on state.gov: name, page kind and link.
- `listPressReleases`: Lists the newest State Department press releases and statements, newest first: title, date, bureau and link.
- `listReports`: Lists the department's published reports (for example the Country Reports on Terrorism) newest first: title, report type, year and link.
- `listTravelAdvisories`: Lists every current U.S. travel advisory from travel.state.gov's advisory feed: country, ISO code, level (1 to 4) with its label, last updated and…
- `searchPressReleases`: Finds press releases whose title contains every word of a query, from the most recently updated releases the site lists.

## Call one

In a Bowmark script, each function is `bowmark.providers.state_gov.<name>`. Ask `get_library` for state.gov to get each one's arguments, then call it with `run`.

```js
// 1. What can I call on state.gov, and with which arguments?
get_library({ query: "state.gov" })

// 2. Call it in a script
const result = await bowmark.providers.state_gov.getBriefing({ /* arguments from get_library */ });
return result;
```

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md
