Context HubCAUTION
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Coding agents hallucinate APIs and forget what they learn in a session. Context Hub gives them curated, versioned docs, plus the ability to get smarter with every task. All content is open and maintained as markdown in this repo — you can inspect exactly what your agent reads, and contribute back.
[](LICENSE) [](https://www.npmjs.com/package/@aisuite/chub) [](https://nodejs.org)
Quick Start
npm install -g @aisuite/chub chub search openai # find what's available chub get openai/chat --lang py # fetch current docs (Python version)
How It Works
Chub is designed for your coding agent to use (not for you to use!). You can prompt your agent to use it (e.g., "Use the CLI command chub to get the latest API documentation for calling OpenAI. Run 'chub help' to understand how it works.") Or by creating an agent skill to use Chub using SKILL.md, and ideally prompting your agent to remember to use this skill. (If you are using Claude Code, create the directory ~/.claude/skills/get-api-docs and put SKILL.md there.)
Most of the time, it's simple — search, fetch, use:
chub search "stripe payments" # find relevant docs chub get stripe/api --lang js # fetch the doc # Agent reads the doc, writes correct code. Done.
When the agent discovers a gap, it can annotate locally for next time:
chub annotate stripe/api "Needs raw body for webhook verification" # Next session, chub get notes that an annotation exists. Pass --with-annotations # to include it — annotations are treated as untrusted input by default.
Feedback flows back to authors — chub feedback stripe/api up or down — vote the docs up or down so they can get better for everyone over time.
Conten
9628ef7add72OBSERVED · 2026-10-12Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add context-hub -- npx -y context-hub
{
"mcpServers": {
"context-hub": {
"command": "npx",
"args": [
"-y",
"context-hub"
]
}
}
}Exposed tools (23)
21 read · 1 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
Alpha | read | Alpha topic |
Beta | read | Beta topic |
Next.js | read | React framework for production |
OpenAPI | read | OpenAPI tooling docs |
Playwright | read | Browser automation library |
React | read | React UI library |
api | read | Payment processing platform |
auth | read | User authentication with social login and session management |
cache | read | In-memory data store |
chat | read | Chat completions API |
chub_annotate | destructive | Read, write, clear, or list agent annotations. Modes: (1) list=true to list all, (2) id+note to write, (3) id+clear=true to delete, (4) id alone to read. Annotations persist locally across sessions. |
chub_feedback | write | Send quality feedback (thumbs up/down) for a doc or skill to help authors improve content |
chub_get | read | Fetch the content of a doc or skill by ID from Context Hub |
chub_list | read | List all available docs and skills in Context Hub. Alias of |
chub_search | read | Search Context Hub for docs and skills by query, tags, or language |
driver | read | Document database driver for storing and querying JSON data |
errors | read | Error monitoring and performance tracking for production apps |
eslint-config-next | read | ESLint preset for Next.js apps |
identity | read | Authentication and authorization platform with SSO and MFA |
messaging | read | SMS and messaging API for sending notifications |
node-fetch | read | Fetch API for Node.js |
payments | read | Payment processing for commerce |
testing | read | Browser automation for end-to-end testing of web applications |
Trust audit
CAUTIONgrade F · trust 47/100 Install with care. The audit found things worth knowing before you trust its output.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (4 observation(s))
- Shell
- declared (2 observation(s))
- Dependencies
- not all pinned
- Secrets in source
- found
Findings (25)
export AIRFLOW__CELERY__RESULT_BACKEND="db+postgresql://airflow:secret@localhost:5432/airflow"
export AIRFLOW_CONN_MYSQL_DEFAULT='mysql://airflow:airflow@mysql:3306/analytics?charset=utf8mb4'
"postgresql://app:[email protected]:5432/appdb"
export DAGSTER_CELERY_BROKER_URL="amqp://guest:guest@localhost:5672//"
DATABASE_URL=postgres://app:[email protected]:5432/app
token='your-oauth-access-token',
Token: "token-from-confirmation-message",
apiKey: 'your-deepseek-api-key',
secret="AWS_SECRET_ACCESS_KEY",
api_key="token-from-secret-store",
private_key = "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
GITHUB_PRIVATE_KEY="-----BEGIN RSA PRIVATE KEY-----\n..."
privateKey: `-----BEGIN PRIVATE KEY-----
export SLACK_API_TOKEN='xoxb-your-bot-token'
export SLACK_TOKEN="xoxb-your-slack-bot-token"
chub_annotate
.env-sample
import { tokenize, buildIndex, search } from '../../src/lib/bm25.js';import { parseFrontmatter } from '../../src/lib/frontmatter.js';import { normalizeLanguage, displayLanguage } from '../../src/lib/normalize.js';vi.mock('../../src/lib/annotations.js', () => ({vi.mock('../../src/lib/output.js', () => ({"url": "http://127.0.0.1:8200",
export OPENFAAS_GATEWAY_URL="http://127.0.0.1:8080"
curl "http://127.0.0.1:${PORT:-8000}/" \Gates applied: no_behavioural_pass.
9628ef7add72full audit observations/trust-audit/mcp-server/andrewyng__context-hub.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | 9628ef7add72 | CAUTION | F | 47 | first audit |
Questions
What tools does @aisuite/chub expose?
23 in total: 21 read-only, 1 that write, and 1 that can delete or overwrite (chub_annotate). Every one is listed on this page with its risk.
Is @aisuite/chub safe to connect to an agent?
With care. The audit graded it F (47/100) and found 25 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does @aisuite/chub need?
No credential environment variables were found in its source, so it appears to need none.
How does @aisuite/chub run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as context-hub.
How current is this page?
The grade is for one exact copy of the source (9628ef7add72), read on 2026-10-12. The repository is watched and re-audited when it changes.