# CIFAR API and MCP server for AI agents (/sites/cifar_ca)

An API for CIFAR: let Claude, ChatGPT or your own code read CIFAR through 3 functions, over MCP, HTTP, Node or Python. No CIFAR API key needed.

- Site: https://cifar.ca
- Functions: 3
- 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.

- CIFAR only, one tool per function: `https://api.bowmark.ai/mcp/site/cifar_ca` (name it `bowmark-cifar-ca`)
- 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-cifar-ca https://api.bowmark.ai/mcp/site/cifar_ca`
- Codex: `codex mcp add bowmark-cifar-ca --url https://api.bowmark.ai/mcp/site/cifar_ca`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/cifar_ca" }` under the name `bowmark-cifar-ca` 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

- `getPage`: Reads one cifar.ca page, news post or bio (url) as title, date and clean body text.
- `listNews`: Lists CIFAR's newest news posts, one page at a time.
- `searchContent`: Searches everything cifar.ca publishes (news, programs, researcher bios, pages) by keyword.

## Call one

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

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

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

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