Skip to content
Martin Schultheiss edited this page Nov 25, 2025 · 1 revision

Frequently Asked Questions (FAQ)

General

What is Context Processor?

Context Processor is an MCP server that helps Claude and other AI agents manage, organize, and enhance information through intelligent pre-processing strategies.


How is it different from a regular database?

Context Processor is designed for content enhancement with built-in analysis strategies. Databases are for data storage and retrieval. Think of Context Processor as a smart filing system with improvement capabilities.


Can I use it without Claude?

Yes! It's a fully functional Node.js library usable standalone:

import { ContextProcessor } from "context-processor";
const processor = new ContextProcessor();
processor.save({ title: "...", content: "..." });

Which version should I use?

Latest is 1.0.1+

npm install context-processor@latest

Installation & Setup

Do I need to set up a database?

No! File-based storage is built-in. Contexts are stored as JSON files in a local directory.


Can I use my own database?

Not yet, but it's planned for v1.1+. Currently only file-based storage is supported.


Usage

How do I organize contexts?

Use tags:

processor.save({
  title: "React Guide",
  content: "...",
  tags: ["react", "frontend", "tutorial"]
});

processor.search({ tags: ["react"] });

Also use metadata for classification:

processor.save({
  title: "...",
  content: "...",
  metadata: {
    category: "Frontend",
    difficulty: "Beginner"
  }
});

What's the difference between tags and metadata?

Tags Metadata
For searching For classification
Exact match Flexible
Built-in search You filter manually
Array of strings Any object

How many contexts can I store?

Practically: 10,000+ contexts work well. For 100,000+, consider an external database. Use pagination and batching for performance.


Can I update a context?

Yes, re-save with the same ID:

const updated = processor.save({
  id: "ctx-123",
  title: "Updated Title",
  content: "New content..."
});

Models & Strategies

What's the difference between models and strategies?

  • Strategies - Individual analysis techniques (Clarify, Analyze, etc.)
  • Models - Pre-configured combinations of strategies

Which model should I use?

Goal Model
Improve clarity clarify
Better search/SEO search_optimized
Content metrics analysis
Everything comprehensive
URLs/links web_enhanced
No processing None (default)

Which model is fastest?

Ranked by speed (fastest to slowest):

  1. None (no preprocessing)
  2. clarify or search_optimized
  3. analysis
  4. web_enhanced
  5. comprehensive

Performance & Scaling

How fast is it?

Typical performance:

  • Save (no model): ~50ms
  • Save (with clarify): ~100ms
  • Save (comprehensive): ~300-500ms
  • Load: ~10-20ms
  • List 100: ~50ms
  • Search by tag: ~10ms

How do I optimize for performance?

  1. Don't always use comprehensive - use specific models
  2. Batch operations together
  3. Use pagination for large lists
  4. Clean up old contexts regularly
  5. Monitor memory usage

Integration

How do I use it with Claude Code?

  1. Install: npm install context-processor
  2. Configure as MCP server in Claude Code settings
  3. Claude will automatically have access to the 6 tools

Is it compatible with TypeScript?

Yes! Fully typed with interfaces and strict mode support.


Security & Privacy

Is my data secure?

Yes! File-based storage means:

  • No cloud transmission
  • Local storage only
  • You control access
  • No external dependencies

Security tips:

  • Restrict file permissions: chmod 700 ./contexts
  • Don't commit to public repos
  • Use .gitignore for contexts directory

Troubleshooting

Why is my search returning no results?

  1. Verify contexts exist: processor.list()
  2. Check tags match exactly (case-sensitive)
  3. Remember: Multiple tags use AND logic (all must match)

See Troubleshooting Guide.


Why are operations slow?

  1. Using comprehensive model? Try a simpler one
  2. Processing thousands? Use batches
  3. Memory limited? Increase Node memory:
    node --max-old-space-size=4096 app.js

Roadmap & Future

What's coming in v1.1?

  • Custom strategy API
  • Database adapter support
  • Performance improvements
  • More built-in models

Can I contribute?

Absolutely! We welcome:

  • Bug reports
  • Feature requests
  • Code contributions
  • Documentation improvements
  • Test scenarios

See Contributing Guide.


Getting Help

Where can I get help?

  1. This Wiki - Most answers are here
  2. Troubleshooting - Common issues
  3. GitHub Issues - Report bugs
  4. Discussions - Ask questions
  5. Community Testing - Join us!

Can I see example code?

Yes! Check:


Didn't find your answer? Open an issue or join Community Testing!

Clone this wiki locally