Setting Up Snipara with Claude Code in 5 Minutes
Step-by-step guide to connecting Snipara's context optimization to Claude Code. Get 43+ MCP tools, automatic documentation queries, and cited answers in under 5 minutes.
Alex Lopez
Founder, Snipara
Claude Code is Anthropic's CLI for AI-assisted development. Combined with Snipara, it becomes a context-aware coding assistant that understands your entire codebase. Here's how to set it up in 5 minutes.
What You'll Get
- Context-aware Claude — queries your docs automatically
- 43+ MCP tools — search, memory, planning, multi-agent coordination
- 90% token reduction — faster responses, lower costs
- Cited answers — every response linked to source files
Prerequisites
npm install -g @anthropic-ai/claude-codeStep 1: Create a Snipara Project
- Go to snipara.com/dashboard
- Click "New Project"
- Name your project (e.g., "my-app")
- Copy your Project ID and API Key
Tip: Your Project ID looks like proj_abc123 and your API key looks like rlm_xyz...
Step 2: Upload Your Documentation
In the Snipara dashboard, upload your project documentation. You have two options:
Option A: GitHub Sync (Recommended)
- Click "Connect GitHub"
- Select your repository
- Choose which paths to index (e.g.,
docs/,src/,README.md) - Docs sync automatically on every push
Option B: Manual Upload
- Click "Upload Files"
- Drag and drop your markdown files, code files, or documentation
- Click "Index"
Step 3: Add Snipara MCP to Claude Code
In your terminal, run:
claude mcp add snipara \
--header "X-API-Key: YOUR_API_KEY" \
https://api.snipara.com/mcp/YOUR_PROJECT_IDReplace YOUR_API_KEY and YOUR_PROJECT_ID with your actual values.
Verify it's configured:
claude mcp listsnipara https://api.snipara.com/mcp/proj_... httpStep 4: Start Using Context-Aware Claude
Now when you use Claude Code, it can query your documentation automatically:
claudeHow does authentication work in this project?[Snipara] Querying docs... Found 5 relevant sections (4,231 tokens)Based on your documentation, authentication uses JWT tokens...[Source: docs/auth.md:15-42, src/middleware/auth.ts:1-30]Key MCP Tools Available
rlm_context_queryPrimary tool — semantic search with token budgeting. Use for any documentation question.
rlm_askQuick query — returns ~2,500 tokens of context with no configuration needed.
rlm_remember / rlm_recallAgent memory — persist decisions across sessions. "Remember that we use Zod for validation."
rlm_plan / rlm_decomposeComplex queries — break down multi-part questions into sub-queries with dependencies.
Troubleshooting
Check your API key in the Snipara dashboard. Make sure it starts with rlm_.
Verify your Project ID. It should look like proj_abc123 or your project slug.
Make sure you've uploaded and indexed documentation. Check the dashboard for indexing status.
Next Steps
- Explore all 43+ MCP tools
- Set up automation hooks
- Learn about agent memory
- Install the Claude Code plugin for 14 additional slash commands