# eClinicalWorks API and MCP server for AI agents (/sites/eclinicalworks)

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

- Site: https://eclinicalworks.com
- 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.

- eClinicalWorks only, one tool per function: `https://api.bowmark.ai/mcp/site/eclinicalworks` (name it `bowmark-eclinicalworks`)
- 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-eclinicalworks https://api.bowmark.ai/mcp/site/eclinicalworks`
- Codex: `codex mcp add bowmark-eclinicalworks --url https://api.bowmark.ai/mcp/site/eclinicalworks`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/eclinicalworks" }` under the name `bowmark-eclinicalworks` 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 eclinicalworks.com page as title, meta description, headings and body text, and flags a retired URL the site redirected to its homepage.
- `listPages`: Lists pages from eClinicalWorks' own sitemaps (~1,100: products and services, pricing, resources, about, press releases, blog), optionally one…
- `searchPages`: Finds eclinicalworks.com pages whose URL matches the query's words (pricing, telehealth, urgent care…), ranked by how many words match; among equal…

## Call one

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

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

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

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