Levels.fyi API and MCP server for AI agents
Let Claude, ChatGPT or your own agent read Levels.fyi. No Levels.fyi API key needed.
Add to your agent
Paste this into Claude Code, Cursor, Codex or any agent. It adds the server itself.
Read https://bowmark.ai/sites/levels_fyi.md and add Bowmark's Levels.fyi MCP server to my agent.Run this in a terminal, then sign in when the browser opens. Claude Code keeps its own sign-in (a claude.ai sign-in does not carry over), so add only this one server. Adding the Bowmark plugin as well lists every tool twice.
claude mcp add --transport http bowmark-levels-fyi https://api.bowmark.ai/mcp/site/levels_fyiPress the button, or add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"bowmark-levels-fyi": {
"url": "https://api.bowmark.ai/mcp/site/levels_fyi"
}
}
}Press the button, or run this in a terminal.
code --add-mcp '{"name":"bowmark-levels-fyi","type":"http","url":"https://api.bowmark.ai/mcp/site/levels_fyi"}'Run this in a terminal.
codex mcp add bowmark-levels-fyi --url https://api.bowmark.ai/mcp/site/levels_fyiIn Claude, open Plugins → Add → Add custom connector, paste this URL, and pick Sign in now.
https://api.bowmark.ai/mcp/site/levels_fyiIn ChatGPT, open Plugins, press +, choose Add custom MCP server and paste this URL.
https://api.bowmark.ai/mcp/site/levels_fyiAny MCP client that takes a remote (streamable HTTP) server: give it this URL.
https://api.bowmark.ai/mcp/site/levels_fyiFunctions
Open a function to see its parameters and run it with your own API key.
getCompanyPayWhat people report being paid in a job family, at one employer when it has reports, else across all employers: yearly base salary and total…POST /v1/sites/levels_fyi/getCompanyPay
Parameters
curl -X POST https://api.bowmark.ai/v1/sites/levels_fyi/getCompanyPay \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"role":"Software Engineer","company":"Google"}'import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.levels_fyi.getCompanyPay("Software Engineer", "Google");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.levels_fyi.getCompanyPay("Software Engineer", "Google"))Responsereturns levelsPay | nullinterface levelsSpread { // Percentiles of what people reported, a year, USD p10: number | null; p25: number | null; p50: number | null; p75: number | null; p90: number | null; } interface levelsPay { scope: "company" | "market"; // company = reports from that employer; market = every employer company: string | null; jobFamily: string; url: string; currency: string; period: "YEARLY"; baseSalary: levelsSpread; totalCompensation: levelsSpread; // Base plus stock plus bonus sampleSize: number | null; // Reports behind the figures }