<!-- The markdown copy of https://oppalerts.com/docs/mcp/docs_get . All pages: https://oppalerts.com/docs/llms.txt -->

[Documentation](https://oppalerts.com/docs/) / [MCP](https://oppalerts.com/docs/mcp/) / docs_get

# docs_get

`POST https://mcp.oppalerts.com/mcp tool: docs_get`

One page of the OppAlerts documentation as markdown.

Read one page of the OppAlerts documentation as markdown in your AI agent. `docs_get` takes `path`, the path of a `docs_search` result, such as `docs/api/account_calls_left.md`. It returns the whole page with its code samples, the `title`, and the 2 addresses of the page, `url_html` and `url_md`. A path that is not a page of the documentation answers `page_not_found`.

## What it does

The tool returns 1 page of the OppAlerts documentation as markdown: the whole page, with its code samples. It is the same text as the markdown copy at `url_md`.

Find the page first with [docs_search](https://oppalerts.com/docs/mcp/docs_search), then send the `path` of a result.

## Connect

```bash
claude mcp add --transport http oppalerts https://mcp.oppalerts.com/mcp
```

The first call opens a browser window for the OppAlerts login. [Connect an AI Agent](https://oppalerts.com/docs/mcp/) has the details.

## Parameters

**`path`string, required, at most 300 characters**

The path of the page, from a `docs_search` result, such as `docs/api/account_calls_left.md`.

## Strict Rules

- A field that is not in the list above is refused. The result then has `isError` true, and its text starts with `bad_param`. The error names the field: "<field> is not a field of this tool."
- A bad value is refused, and the error names the field. A bad value is a value of the wrong type, a number with a fraction for a whole-number field, a value out of its range, an empty text, or a value that is not in its list. A required field that you do not send is refused too. The tool never changes a value that you send.
- A path that is not a page of the documentation answers `page_not_found`: "No page of the documentation has the path docs/nothing.md. Send a path from a docs_search result."
- An error about the format of a call, such as a refused field, names the field. Its message ends with one sentence: "Read the documentation at https://oppalerts.com/docs for the correct format." Every other error has only its own sentence.

## Example

### Call

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "docs_get",
    "arguments": {
      "path": "docs/api/account_calls_left.md"
    }
  }
}
```

### Response

The full sample answer.

````json
{
  "path": "docs/api/account_calls_left.md",
  "title": "account_calls_left",
  "url_html": "https://oppalerts.com/docs/api/account_calls_left",
  "url_md": "https://oppalerts.com/docs/api/account_calls_left.md",
  "markdown": "<!-- The markdown copy of https://oppalerts.com/docs/api/account_calls_left . All pages: https://oppalerts.com/docs/llms.txt -->\n\n[Documentation](https://oppalerts.com/docs/) / [API](https://oppalerts.com/docs/api/) / account_calls_left\n\n# account_calls_left\n\n`POST https://api.oppalerts.com/v1/account/calls_left`\n\nHow many calls this account has left today, from the server's own counts.\n\nCheck your account’s remaining API calls today and when the count resets. `POST /v1/account/calls_left` takes no parameters. The response includes `index_searches`, the shared daily count of the `news_` and `prospects_` tools, with `used`, `limit`, `left`, and the list of `tools`. It also has `tools`, one count for every other tool, and `resets_at`, the next reset in UTC. A limit of 0 means the tool is not in your plan, and `unlimited` is `true` for an administrator.\n\n## What it does\n\nThe tool returns the number of calls the account has left today. It reads the counts that the OppAlerts server keeps. It takes no parameters.\n\nThe response has these parts:\n\n- `index_searches` is the shared daily count for every `news_` and `prospects_` tool. It has `used`, `limit`, and `left`, plus `tools`, the list of tools that share the count.\n- `tools` holds every other tool with its own daily count. Each count has `used`, `limit`, and `left`.\n- `resets_at` is the next reset, in UTC.\n- `unlimited` is `true` for an administrator. An administrator has no limits, so the answer has no counts.\n\nA limit of 0 means the tool is not included in the account’s plan.\n\nOnly one index search runs at a time for an account. A call to a `news_` or `prospects_` tool while another index search runs is refused (HTTP 429, `one_at_a_time`). Wait a few seconds and send the call again. A call of `account_calls_left` through the API or MCP counts against its own limit and is never logged.\n\n## Authentication\n\nSend a token in the `Authorization: Bearer` header. [Authentication and Limits](https://oppalerts.com/docs/api/) explains the tokens.\n\n## Parameters\n\nThis tool has no parameters. Send an empty object.\n\n## Strict Rules\n\n- This tool accepts no fields. Any field you send is refused. The answer is HTTP 400 with the error code `bad_param`. The error names the field: \"<field> is not a field of this tool.\"\n- An error about the format of a call, such as a refused field, names the field. Its message ends with one sentence: \"Read the documentation at https://oppalerts.com/docs for the correct format.\" Every other error has only its own sentence.\n\n## Example\n\n### Request\n\n```bash\ncurl -X POST https://api.oppalerts.com/v1/account/calls_left \\\n  -H \"Authorization: Bearer YOUR_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{}'\n```\n\n### Response\n\nThe full sample answer. The `unlimited` field appears only for an administrator, and then the answer has no counts.\n\n```json\n{\n  \"resets_at\": \"2026-11-07T09:00:00Z\",\n  \"index_searches\": {\n    \"used\": 3,\n    \"limit\": 10,\n    \"left\": 7,\n    \"tools\": [\n      \"news_search\",\n      \"prospects_search\",\n      \"news_brand_mentions\"\n    ]\n  },\n  \"tools\": {\n    \"account_calls_left\": {\n      \"used\": 2,\n      \"limit\": 100,\n      \"left\": 98\n    },\n    \"backlinks\": {\n      \"used\": 0,\n      \"limit\": 10,\n      \"left\": 10\n    },\n    \"campaigns_dashboard\": {\n      \"used\": 4,\n      \"limit\": 100,\n      \"left\": 96\n    }\n  },\n  \"unlimited\": true\n}\n```\n\n## Errors\n\n- `bad_param` (HTTP 400): the request has a field. This tool accepts no fields, and the error names the field you sent.\n- `daily_limit` (HTTP 429): the account has used all its calls for this tool today. [account_calls_left](https://oppalerts.com/docs/api/account_calls_left) shows when the count resets.\n\nThis tool has its own daily count. A call through the API or MCP uses one call from this count. A web app page reading the same data does not count. It is not an index search, so it does not use the shared count of the `news_` and `prospects_` tools, and the error `one_at_a_time` does not apply to it.\n\n## Same tool in MCP\n\nThe MCP tool is `account_calls_left`. Read [the MCP page](https://oppalerts.com/docs/api/account_calls_left).\n\n## Related pages\n\n- [account_calls_left in MCP](https://oppalerts.com/docs/api/account_calls_left)\n- [Authentication and Limits](https://oppalerts.com/docs/api/)\n"
}
````

## Errors

An error returns as a tool result with `isError` true. Its text starts with the error code, except for `daily_limit`, whose text is only the sentence. The HTTP status shown for each code is its API status.

- `bad_param` (HTTP 400 in the API): the path is missing or empty, or the call has a field that is not a field of this tool. The error names the field.
- `page_not_found` (HTTP 404 in the API): no page of the documentation has that path.
- `backend_error` (HTTP 502 in the API): the documentation search did not answer. Send the call again after a few seconds.
- `daily_limit` (HTTP 429 in the API): the account has used all its calls for this tool today. [account_calls_left](https://oppalerts.com/docs/mcp/account_calls_left) shows when the count resets.

This tool has its own daily count: 3,000 calls a day on a paid plan and 500 on the free plan. It is not an index search, so it does not use the shared count of the `news_` and `prospects_` tools, and the error `one_at_a_time` does not apply to it.

## Same data in the API

```http
POST /v1/docs/get HTTP/1.1
Host: api.oppalerts.com
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json

{"path":"docs/api/account_calls_left.md"}
```

The API page is [POST /v1/docs/get](https://oppalerts.com/docs/api/docs_get).

## Related pages

- [POST /v1/docs/get in the API](https://oppalerts.com/docs/api/docs_get)
- [docs_search](https://oppalerts.com/docs/mcp/docs_search)
- [Search the Documentation](https://oppalerts.com/docs/search)
- [Advanced Search Operators](https://oppalerts.com/docs/the-data/advanced-search-operators)
- [Connect an AI Agent](https://oppalerts.com/docs/mcp/)
