Local-first documentation for AI agents
- ✓Open-source license (Apache-2.0)
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Documented (README)
git clone https://github.com/neuledge/context{
"mcpServers": {
"context": {
"command": "node",
"args": ["/path/to/context/dist/index.js"]
}
}
}MCP Servers overview
<p align="center">
<h1 align="center">Context</h1>
<p align="center">
<strong>Up-to-date docs for AI agents — local, instant, plug and play.</strong>
</p>
</p>
<p align="center">
<a href="https://www.npmjs.com/package/@neuledge/context"><img src="https://img.shields.io/npm/v/@neuledge/context.svg" alt="npm version"></a>
<a href="https://github.com/neuledge/context/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache--2.0-blue.svg" alt="License"></a>
<a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-5.0-blue.svg" alt="TypeScript"></a>
</p>
---
AI agents are trained on outdated docs. When libraries release new versions, your AI doesn't know — and confidently gives you wrong answers.
```js
// Your AI, mass-trained on AI SDK v5 docs, will suggest:
import { Experimental_Agent as Agent, stepCountIs } from 'ai';
// But v6 changed the API entirely:
import { ToolLoopAgent } from 'ai';
```
The fix isn't better prompting. It's giving your AI the right docs.
## How It Works
Context is an MCP server backed by a [community-driven package registry](registry/) with **100+ popular libraries** already built and ready to use. When your AI agent needs documentation, it searches the registry, downloads the right package, and queries it locally — all automatically.
**Install once. Configure once. Then just ask your AI.**
<p align="center">
<img src="https://media.githubusercontent.com/media/neuledge/context/main/packages/context/assets/ai-sdk-demo.gif" alt="Context demo" width="800">
</p>
---
## :rocket: Quick Start
### 1. Install
```bash
npm install -g @neuledge/context
```
### 2. Connect to your AI agent
Context works with any MCP-compatible agent. Pick yours:
<details>
<summary><strong>Claude Code</strong></summary>
```bash
claude mcp add context -- context serve
```
</details>
<details>
<summary><strong>Claude Desktop</strong></summary>
Add to your config file:
- **Linux**: `~/.config/claude/claude_desktop_config.json`
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
```json
{
"mcpServers": {
"context": {
"command": "context",
"args": ["serve"]
}
}
}
```
Restart Claude Desktop to apply changes.
</details>
<details>
<summary><strong>Cursor</strong></summary>
Add to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project-specific):
```json
{
"mcpServers": {
"context": {
"command": "context",
"args": ["serve"]
}
}
}
```
Or use **Settings > Developer > Edit Config** to add the server through the UI.
</details>
<details>
<summary><strong>OpenAI Codex</strong></summary>
Either use the CLI
```bash
codex mcp add context -- context serve
```
Or add to `~/.codex/config.toml` (global) or `.codex/config.toml` (project-specific):
```toml
[mcp_servers.context]
command = "context"
args = ["serve"]
```
Restart OpenAI Codex to apply changes.
</details>
<details>
<summary><strong>VS Code (GitHub Copilot)</strong></summary>
> Requires VS Code 1.102+ with GitHub Copilot
Add to `.vscode/mcp.json` in your workspace:
```json
{
"servers": {
"context": {
"type": "stdio",
"command": "context",
"args": ["serve"]
}
}
}
```
Click the **Start** button that appears in the file, then use Agent mode in Copilot Chat.
</details>
<details>
<summary><strong>Windsurf</strong></summary>
Add to `~/.codeium/windsurf/mcp_config.json`:
- **Windows**: `%USERPROFILE%\.codeium\windsurf\mcp_config.json`
```json
{
"mcpServers": {
"context": {
"command": "context",
"args": ["serve"]
}
}
}
```
Or access via **Windsurf Settings > Cascade > MCP Servers**.
</details>
<details>
<summary><strong>Zed</strong></summary>
Add to your Zed `settings.json` (press `cmd+,` or `ctrl+,` twice):
```json
{
"context_servers": {
"context": {
"command": {
"path": "context",
"args": ["serve"]
}
}
}
}
```
Check the Agent Panel settings to verify the server shows a green indicator.
</details>
<details>
<summary><strong>Goose</strong></summary>
Run `goose configure` and select **Command-line Extension**, or add directly to `~/.config/goose/config.yaml`:
```yaml
extensions:
context:
type: stdio
command: context
args:
- serve
timeout: 300
```
</details>
<details>
<summary><strong>OpenCode</strong></summary>
Add to `~/.config/opencode/opencode.json`:
```json
{
"mcp": {
"context": {
"command": ["context", "serve"],
"enabled": true,
"type": "local"
}
}
}
```
</details>
### 3. Ask your AI anything
That's it. Just ask:
> "How do I create middleware in Next.js?"
Your agent searches the [community registry](registry/), downloads the docs, and answers with accurate, version-specific information. Everything happens automatically — no manual `context install` needed for registry packages.
---
## The Community Registry
The registry is what makes Context plug and play. It's a growing collection of **100+ pre-built documentation packages** maintained by the community. Think of it like a package manager, but for AI-ready docs.
**Popular packages available today:**
| Category | Libraries |
|----------|-----------|
| **Frameworks** | Next.js, Nuxt, Astro, SvelteKit, Remix, Hono |
| **React ecosystem** | React, React Router, TanStack Query, Zustand, Redux Toolkit |
| **Databases & ORMs** | Prisma, Drizzle, Mongoose, TypeORM |
| **Styling** | Tailwind CSS, shadcn/ui, Styled Components |
| **Testing** | Vitest, Playwright, Jest, Testing Library |
| **APIs & Auth** | tRPC, GraphQL, NextAuth.js, Passport |
| **AI & LLMs** | LangChain, AI SDK, OpenAI, Anthropic SDK |
[Browse the full registry →](registry/)
**Anyone can contribute.** If a library you use isn't listed, [submit a PR](registry/) to add it — your contribution helps every Context user.
---
## Why Local?
Context runs entirely on your machine. Docs are downloaded once and stored as compact SQLite databases in `~/.context/packages/`. After that, everything is local.
- **Fast** — Local SQLite queries return in under 10ms
- **Offline** — Works on flights, in coffee shops, anywhere
- **Private** — Your queries never leave your machine
- **Free** — No subscriptions, no rate limits, no usage caps
- **Reliable** — No outages, no API changes, no service shutdowns
---
## Beyond the Registry
The registry covers popular open-source libraries, but Context also works with any documentation source. Use `context add` to build packages from private repos, internal libraries, websites with [llms.txt](https://llmstxt.org/), or anything not yet in the registry.
```bash
# Build from a git repository
context add https://github.com/your-company/design-system
# Build from a local directory
context add ./my-project
# Specific version tag
context add https://github.com/vercel/next.js/tree/v16.0.0
# Build from a website's llms.txt
context add https://svelte.dev
```
Once built, share packages with your team — they're portable `.db` files that install instantly:
```bash
# Export a package
context add ./my-project --name my-lib --pkg-version 2.0 --save ./packages/
# Teammate installs it (no build step needed)
context add ./packages/my-lib@2.0.db
```
Rebuilds and installs stage a replacement beside the destination, then close and
validate it before replacing the installed package. A failed build, download, or
replacement leaves the previous package available. Temporary files are excluded
from package discovery. If the operating system blocks replacement of an open
file (for example, on Windows), close the reader and retry the install.
---
## :whale: Docker
Run Context as a containerized HTTP server for multi-client or Kubernetes deployments:
```bash
# Run from the repository root (required for the monorepo lockfile)
docker build -t context:local -f packages/context/Dockerfile .
docker run --rm -p 8080:8080 context:local
```
The container starts Context with HTTP transport on port 8080, accessible at `http://localhost:8080/mcp`. The image uses a multi-stage build with `node:22-bookworm-slim` for native module compatibility.
---
## :books: CLI Reference
### `context browse <package>`
Search for packages available on the registry server.
```bash
# Browse by registry/name
context browse npm/next
# Output:
# npm/next@15.1.3 3.4 MB The React Framework for the Web
# npm/next@15.0.4 3.2 MB The React Framework for the Web
# ...
#
# Found 12 versions. Install with: context install npm/next
# Browse with just a name (defaults to npm)
context browse react
```
### `context install <registry/name> [version]`
Download and install a pre-built package from the registry server.
```bash
# Install latest version
context install npm/next
# Install a specific version
context install npm/next 15.0.4
# Install from other registries
context install pip/django
```
### `context add <source>`
Build and install a documentation package from source. Use this for libraries not in the registry, or for private/internal docs. The source type is auto-detected.
**From git repository:**
Works with GitHub, GitLab, Bitbucket, Codeberg, or any git URL:
```bash
# HTTPS URLs
context add https://github.com/vercel/next.js
context add https://gitlab.com/org/repo
context add https://bitbucket.org/org/repo
# Specific tag or branch
context add https://github.com/vercel/next.js/tree/v16.0.0
# SSH URLs
context add git@github.com:user/repo.git
context add ssh://git@github.com/user/repo.git
# Custom options
context add https://github.com/vercel/next.js --path packages/docs --name nextjs
```
**From local directory:**
Build a package from documentation in a local folder:
```bash
# Auto-detects docs folder (docs/, documentation/, doc/)
context add ./my-project
# Specify docs path explicitly
context add /path/to/repo --path docs
# Custom pacWhat people ask about context
What is neuledge/context?
+
neuledge/context is mcp servers for the Claude AI ecosystem. Local-first documentation for AI agents It has 419 GitHub stars and its last recorded update is dated 2026-10-05.
How do I install context?
+
You can install context by cloning the repository (https://github.com/neuledge/context) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is neuledge/context safe to use?
+
Our security agent has analyzed neuledge/context and assigned a Trust Score of 97/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains neuledge/context?
+
neuledge/context is maintained by neuledge. The last recorded GitHub activity is dated 2026-10-05, with 5 open issues.
Are there alternatives to context?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy context to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/neuledge-context)<a href="https://claudewave.com/repo/neuledge-context"><img src="https://claudewave.com/api/badge/neuledge-context" alt="Featured on ClaudeWave: neuledge/context" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
The fastest path to AI-powered full stack observability, even for lean teams.