Octri API Docs
MCP server that turns an Octri project's OpenAPI docs into searchable, callable tools
- Pricing
- Freemium
- Platforms
- API, CLI, self-hosted
- Runs
- Locally
- Version
- 1.4.2
- Listing updated
- 3 days ago
About Octri API Docs
Octri API Docs is a freemium MCP server for developer tools. It runs locally on your machine and is started by your AI client.
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.
Install
Run in a 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/mcpAdd to claude_desktop_config.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>"
}
}
}
}Add to ~/.cursor/mcp.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>"
}
}
}
}Add to .vscode/mcp.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>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.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>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"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>"
}
}
}
}Configuration
OCTRI_PROJECT_IDThe Octri project whose docs and endpoints this server exposes.RequiredOCTRI_API_BASE_URLBase URL for endpoint calls. Defaults to the Base URL set in the project's SDK Studio.OCTRI_API_TOKENBearer or OAuth2 token for the documented API, not for Octri.OCTRI_API_KEYAPI key for the documented API, not for Octri. Sent in the OCTRI_API_KEY_HEADER header.OCTRI_API_KEY_HEADERHeader that carries OCTRI_API_KEY.OCTRI_API_USERNAMEBasic-auth username for the documented API.OCTRI_API_PASSWORDBasic-auth password for the documented API.
What it does
- 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
Pricing
Freemium
Free tier available; paid tiers raise endpoint and monitoring limits
Prices change. Check octri.dev before you buy.
Octri API Docs 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 to Octri API Docs

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 464K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.7K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
Not checked yet- Remote
- Open source
- 34.5K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools