# Octri API Docs

> Octri API Docs is a freemium MCP server for developer tools. MCP server that turns an Octri project's OpenAPI docs into searchable, callable tools. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, self-hosted
- **Website:** https://octri.dev
- **Repository:** https://github.com/octridev/octri-mcp
- **MCP Registry name:** dev.octri/mcp
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

Octri generates documentation, SDKs and monitoring from an OpenAPI spec, and this package is the piece that exposes one project's docs to an assistant. Once you give it a project ID, the agent can search endpoints, open a guide, pull an SDK snippet in a supported language and check the changelog for breaking changes, all from the same spec the docs are built from.

The pricing page describes seven documentation tools and, beyond them, the project's endpoints as callable tools, shaped by the config set in SDK Studio. Calls to the documented API can use a bearer or OAuth2 token, an API key sent in a configurable header, or basic auth, and these credentials are for the documented API, not for Octri. Larger APIs can use a search mode so agents find tools as needed, writes ask first, and an audit log records agent writes.

The npm package runs locally over stdio, with an .mcpb bundle also released. The site adds that a hosted server with OAuth sign-in exists, and that you can self-host on Docker or Cloudflare Workers.

## Features

- **Docs search:** Search endpoints, guides, the changelog and SDK snippets.
- **Endpoints as tools:** The project's API endpoints become callable tools.
- **Flexible API auth:** Bearer, OAuth2, API key or basic auth for the documented API.
- **Search mode:** Agents discover tools as they need them in large APIs.
- **Write safeguards:** Writes ask first, with tool groups and safety limits.
- **Code mode:** Agents run short scripts against your SDK in TypeScript or Python.

## Good for

- Let a coding agent look up your API's endpoints and SDK snippets
- Check a changelog for breaking changes from the editor
- Call a documented endpoint from an assistant
- Export tools in MCP, OpenAI or Anthropic formats

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp --env OCTRI_PROJECT_ID='<OCTRI_PROJECT_ID>' --env OCTRI_API_TOKEN='<OCTRI_API_TOKEN>' --env OCTRI_API_KEY='<OCTRI_API_KEY>' --env OCTRI_API_PASSWORD='<OCTRI_API_PASSWORD>' -- npx -y @octri/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "<OCTRI_PROJECT_ID>",
        "OCTRI_API_TOKEN": "<OCTRI_API_TOKEN>",
        "OCTRI_API_KEY": "<OCTRI_API_KEY>",
        "OCTRI_API_PASSWORD": "<OCTRI_API_PASSWORD>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "<OCTRI_PROJECT_ID>",
        "OCTRI_API_TOKEN": "<OCTRI_API_TOKEN>",
        "OCTRI_API_KEY": "<OCTRI_API_KEY>",
        "OCTRI_API_PASSWORD": "<OCTRI_API_PASSWORD>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "<OCTRI_PROJECT_ID>",
        "OCTRI_API_TOKEN": "<OCTRI_API_TOKEN>",
        "OCTRI_API_KEY": "<OCTRI_API_KEY>",
        "OCTRI_API_PASSWORD": "<OCTRI_API_PASSWORD>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "<OCTRI_PROJECT_ID>",
        "OCTRI_API_TOKEN": "<OCTRI_API_TOKEN>",
        "OCTRI_API_KEY": "<OCTRI_API_KEY>",
        "OCTRI_API_PASSWORD": "<OCTRI_API_PASSWORD>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@octri/mcp"
      ],
      "env": {
        "OCTRI_PROJECT_ID": "<OCTRI_PROJECT_ID>",
        "OCTRI_API_TOKEN": "<OCTRI_API_TOKEN>",
        "OCTRI_API_KEY": "<OCTRI_API_KEY>",
        "OCTRI_API_PASSWORD": "<OCTRI_API_PASSWORD>"
      }
    }
  }
}
```

## FAQ

### What do I need to run it?

An OCTRI_PROJECT_ID for the project whose docs it exposes; API credentials are optional and belong to the documented API.

### Is there a hosted version?

The pricing page says a hosted server with OAuth sign-in is available, as well as local npx and self-hosting.

### Does the free plan include it?

Yes. The site says one plan covers all four products and Free caps at 1 project, 1 SDK language, 50 endpoints and 100 MB of monitoring a month.

### How many endpoints can be tools?

The tier table lists up to 50, 100, 300 or 600 depending on plan.

### Is Octri API Docs free?

Octri API Docs has a free plan, with paid plans for more usage or features.

### How do I add Octri API Docs to Claude Code?

Run this command in your terminal: claude mcp add mcp --env OCTRI_PROJECT_ID='<OCTRI_PROJECT_ID>' --env OCTRI_API_TOKEN='<OCTRI_API_TOKEN>' --env OCTRI_API_KEY='<OCTRI_API_KEY>' --env OCTRI_API_PASSWORD='<OCTRI_API_PASSWORD>' -- npx -y @octri/mcp

### What are the best alternatives to Octri API Docs?

The closest alternatives to Octri API Docs are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/octri-api-docs
