# Local Search MCP Server Documentation
This documentation provides comprehensive technical documentation for the Local Search MCP Server.
## ๐ Documentation Structure
- **[API Reference](./api/)** - Complete MCP tool specifications and TypeScript interfaces
- **[Architecture](./architecture/)** - System design, component interactions, and data flow
- **[Usage](./usage/)** - Tutorials, examples, and integration guides
- **[Performance](./performance/)** - Optimization, profiling, and scaling guides
## ๐ Quick Links
- [Main README](../README.md) - Getting started and basic setup
- [Installation Guide](../README.md#-installation) - Prerequisites and setup steps
- [Configuration](../README.md#%EF%B8%8F-configuration) - Environment variables and MCP setup
- [Basic Usage](../README.md#-usage) - Essential workflows and examples
- [Troubleshooting](../README.md#-troubleshooting) - Common issues and solutions
## ๐ Cross-Reference Guide
### For Developers
- Start with [Installation](../README.md#-installation) โ [Architecture Overview](./architecture/) โ [API Reference](./api/)
- Performance optimization: [Basic Config](../README.md#%EF%B8%8F-configuration) โ [Performance Guide](./performance/)
### For Users
- Start with [Quick Start](../README.md#-quick-start) โ [Usage Examples](./usage/) โ [Troubleshooting](../README.md#-troubleshooting)
### For Contributors
- Review [Development Setup](../README.md#-development) โ [Architecture Guide](./architecture/) โ [API Reference](./api/)
## ๐๏ธ System Overview
The Local Search MCP Server provides semantic document search capabilities through:
- **Vector Embeddings**: Using @xenova/transformers for document understanding
- **Automatic Indexing**: Real-time file watching and background processing
- **Repository Processing**: GitHub repository fetching via repomix
- **Parallel Processing**: Multi-core optimization with p-limit
- **Persistent Storage**: SQLite vector database with optimized queries
## ๐ Getting Started
1. **Read the main README** for installation and basic usage
2. **Check the API Reference** for detailed tool specifications
3. **Review Architecture** for system understanding
4. **Follow Usage examples** for integration guides
## ๐ค Contributing to Documentation
Documentation follows the main project structure under `/documentation/`. When contributing:
1. Use clear, concise language
2. Include code examples where helpful
3. Update table of contents when adding new sections
4. Reference the main README for configuration details
5. Test examples on multiple platforms
## ๐ License
This documentation is part of the Local Search MCP Server project, licensed under MIT.