Ratel Docs
ReferenceTypeScript packages

@ratel-ai/ratel-local

Package reference for the MCP server, CLI, and library that power Ratel Local.

@ratel-ai/ratel-local is the TypeScript package behind Ratel Local. It connects upstream MCP servers to one searchable catalog and exposes Ratel's capability tools to Claude Code, Codex, Cursor, and other MCP clients.

Start with Ratel Local

Install the latest stable release and run the setup wizard for Claude Code or Codex. Follow the Ratel Local quickstart to prepare the daemon, connect agents, review an existing MCP setup when needed, and verify capability search. Cursor uses manual MCP configuration.

Entry points

Entry pointPurpose
ratel-localRun setup; manage the daemon, upstreams, retrieval, skills, and local UI
createMcpServerExpose a ToolCatalog as an MCP server from your own process
buildGatewayFromConfigConnect configured upstreams and build the catalog used by the server

Install with npm install @ratel-ai/ratel-local, or run its CLI with npx -y @ratel-ai/ratel-local.

Operational guides

TaskGuide
install the daemon and connect supported agentsQuickstart
manage the persistent service and project gatewaysDaemon
add, inspect, edit, or remove upstreamsMCP servers
configure BM25, semantic, or hybrid searchRetrieval
migrate native Claude Code or Codex entriesImport or link
authorize HTTP or SSE upstreamsOAuth upstreams
manage skills and the Claude Code preload hookManaging skills
manage configuration from the browserBrowser UI
inspect local events and estimated savingsStatusline & local telemetry
opt into the experimental Cloud relayExperimental Cloud telemetry
create the gateway from Node codeEmbed as a library
diagnose setup and recover config filesTroubleshooting

The package is published on npm, with source in ratel-ai/ratel-local.

On this page