JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 48
  • Score
    100M100P100Q65747F

Package Exports

  • context1000

Readme

@context1000/rag

Quick Start

Install dependencies:

npm install

Set up environment:

cp .env.example .env

Start ChromaDB (if running locally):

docker run -p 8000:8000 chromadb/chroma

CLI Usage

Build the project first:

npm run build

Index your documentation:

npx context1000 index /path/to/docs

MCP Server Integration

Claude Code

claude mcp add context1000 \
  -e OPENAI_API_KEY=your-key \
  -e CHROMA_URL=http://localhost:8000 \
  -- npx context1000 mcp project-name /path/to/docs

claude mcp add context1000 -- npx context1000 mcp project-name /Users/ivankalagin/dev/context1000/litres-docs/docs