# Levels.fyi API and MCP server for AI agents (/sites/levels_fyi)

An API for Levels.fyi: let Claude, ChatGPT or your own code read Levels.fyi through 1 function, over MCP, HTTP, Node or Python. No Levels.fyi API key needed.

- Site: https://levels.fyi
- Functions: 1
- 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.

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

- `getCompanyPay`: What people report being paid in a job family, at one employer when it has reports, else across all employers: yearly base salary and total…

## Call one

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

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

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

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