# HLTV.org API and MCP server for AI agents (/sites/hltv)

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

- Site: https://hltv.org
- Functions: 5
- Sign-in: for account actions, with the person's own account
- 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.

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

- `getTeamRanking`: Read the HLTV world team ranking for the latest or a given week, optionally for one region or country: rank, team, points, change and lineup.
- `listMatches`: List upcoming and live matches from /matches: teams, event, start time, best-of, LAN or online, HLTV's star rating and whether it is live now.
- `listNews`: List HLTV news: the latest headlines, a month's archive (/news/archive/<year>/<month>) or one event's news, with title, date, comment count and URL.
- `listResults`: List finished matches from /results, newest first: teams, final score, event, date and best-of, paging by offset.
- `search`: Search HLTV by name for players, teams and events; returns each hit's HLTV id, name, country and page URL (the /search?term= JSON the site's own…

## Call one

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

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

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

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md. How sign-in works: https://bowmark.ai/docs/signed-in-sites.md
