</>MCP Agents Market
Skill

context-hub

by andrewyng13.9kJavaScriptUpdated 2026-05-31

Claude Code

Context Hub is an agent skill and CLI that supplies AI coding agents with curated, versioned API documentation to reduce hallucinations and enable session-to-session learning. Agents use the `chub` command-line interface to search and fetch language-specific docs stored as markdown, annotate them with discoveries for future reference, and submit feedback to maintainers. The system is designed to create a self-improving loop where agents retrieve accurate documentation, note gaps or workarounds locally, and contribute ratings that help content authors refine docs for the entire community.

Key Features

Curated, versioned API documentation in markdown format with language-specific variants (Python, JavaScript)
CLI commands for agents to search, fetch, and retrieve documentation by ID
Local annotation system lets agents attach notes to docs and recall them in future sessions with --with-annotations flag
Feedback mechanism (upvote/downvote) sends usage ratings to doc authors for continuous improvement
Incremental fetch allows agents to retrieve specific reference files instead of full documentation to save tokens
Annotations treated as untrusted input by default to maintain security across sessions
Open markdown repository where all content is inspectable and community-editable via pull requests
Designed for integration with coding agents like Claude Code via skill definitions in ~/.claude/skills/

Use Cases

  • 01Preventing coding agents from hallucinating API signatures by providing them with current, accurate documentation
  • 02Enabling agents to remember discovered API quirks and workarounds across separate coding sessions
  • 03Retrieving language-specific documentation variants for OpenAI, Stripe, and other APIs during development tasks
  • 04Building self-improving agent workflows where local annotations accumulate institutional knowledge
  • 05Allowing agents to fetch only the documentation sections they need to minimize token consumption
  • 06Collecting real-world feedback from agent interactions to help API providers improve their documentation

Related Skills

View more

context-hub — FAQ

What is Context Hub and what does it do?+

Context Hub is a CLI tool and agent skill that provides AI coding agents with curated, versioned API documentation to reduce hallucinations. Agents can search and fetch docs, annotate them with discovered gaps, and submit feedback to help maintainers improve content over time.

How do I install Context Hub?+

Install the CLI globally via npm with 'npm install -g @aisuite/chub'. For Claude Code integration, create the directory ~/.claude/skills/get-api-docs and place the SKILL.md file there so your agent can use it automatically.

Which AI clients and agents work with Context Hub?+

Context Hub is designed for coding agents in general and explicitly supports Claude Code through skill definitions. Any agent that can execute CLI commands can use the chub tool after prompting.

Do I need API keys to use Context Hub?+

No API keys are required. Context Hub retrieves documentation from its open markdown repository without authentication.

Is Context Hub free to use?+

Yes, Context Hub is open source under the MIT License and free to use. All documentation content is maintained as markdown in the public repository.

How do annotations work and are they safe?+

Annotations are local notes that agents attach to documentation IDs and persist across sessions. They are treated as untrusted input by default and must be explicitly included with the --with-annotations flag to maintain security.

How do I install context-hub?+

Open the source repository on GitHub and follow its README. context-hub is a skill — MCP Agents Market links you directly to the official repo.

Is context-hub free?+

context-hub is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches