# MCP · the docs

Put the docs inside your assistant, as tools it calls while you code.

1. [Add the server](#1-add-the-server).
2. [Ask your assistant](#2-ask-your-assistant).

## 1. Add the server

The docs answer as an MCP server at `https://opendunes.com/docs/mcp`. It is public: no key, no sign-in, and nothing it does is charged. Install it in one click in Cursor or VS Code, or write the address into the file your assistant reads.

<div class="buttons">
<a href="cursor://anysphere.cursor-deeplink/mcp/install?name=opendunes-docs&amp;config=eyJ1cmwiOiJodHRwczovL29wZW5kdW5lcy5jb20vZG9jcy9tY3AifQ==" class="button primary">Add to Cursor</a>
<a href="vscode:mcp/install?%7B%22name%22%3A%22opendunes-docs%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fopendunes.com%2Fdocs%2Fmcp%22%7D" class="button">Add to VS Code</a>
</div>

### Claude Code

Claude Code reads `.mcp.json` at the root of your project. Commit it, and everyone on the project gets the server.

```json
{
  "mcpServers": {
    "opendunes-docs": {
      "type": "http",
      "url": "https://opendunes.com/docs/mcp"
    }
  }
}
```

To add it for yourself alone, in this project, run `claude mcp add --transport http opendunes-docs https://opendunes.com/docs/mcp` in your terminal.

### Cursor

Cursor reads `~/.cursor/mcp.json` for every project, or `.cursor/mcp.json` in one project.

```json
{
  "mcpServers": {
    "opendunes-docs": {
      "url": "https://opendunes.com/docs/mcp"
    }
  }
}
```

### VS Code

VS Code reads `.vscode/mcp.json` in your project.

```json
{
  "servers": {
    "opendunes-docs": {
      "type": "http",
      "url": "https://opendunes.com/docs/mcp"
    }
  }
}
```

## 2. Ask your assistant

The server gives your assistant two tools. It decides when to call them.

| Tool | Does |
|---|---|
| `search_docs` | finds the docs pages that match your words |
| `read_page` | reads one docs page, whole, as Markdown |

Ask in your own words: *"Add a transcription call to this script with OpenDunes, and print what it cost."* The assistant searches the docs, reads the page it needs, and writes the call from it.

<div class="good-to-know">
<p>The server reads the docs; it never reaches your account. Your balance, your keys and your receipts stay out of it.</p>
</div>

An assistant with no MCP reads the same pages as text: [Build with AI](/docs/build-with-ai).
