A command-line tool for AI agents to access verified API documentation
Install Context Hub CLI globally
npm install -g @context-hub/cliAsk your AI agent to fetch documentation
Example with Claude:
Claude will execute the command and receive the latest OpenAI documentation
AI agent uses verified documentation
Your AI agent now has access to accurate, up-to-date API information and can generate correct code without hallucinations.
For AI Agents: Run chub --help to discover all available commands and options. Works with Claude Code, Cursor, ChatGPT, and other AI coding assistants.
Requires Node.js 16+ and npm installed on your system
List all available libraries
Get OpenAI documentation (JavaScript)
Get OpenAI documentation (Python)
Search for payment libraries
Update local cache