WindTools MCP Server logo

WindTools MCP Server

by ZahidGalea

The WindTools MCP Server provides document embedding and retrieval capabilities for the WindTools code assistant. It uses ChromaDB and sentence transformers for semantic code search and repository indexing.

View on GitHub

Last updated: N/A

What is WindTools MCP Server?

The WindTools MCP Server is a server that indexes and searches code repositories using semantic embeddings. It leverages ChromaDB for persistent storage of code embeddings and sentence transformers for creating those embeddings.

How to use WindTools MCP Server?

  1. Install the server using pip or from source. 2. Configure environment variables such as DATA_ROOT, CHROMA_DB_FOLDER_NAME, and SENTENCE_TRANSFORMER_PATH. 3. Integrate the server with a client like Claude Desktop by adding the server configuration to the client's configuration file. 4. Use the provided tools (list_dir, get_initialization_status, index_repository, codebase_search) to interact with the server and perform code searches.

Key features of WindTools MCP Server

  • Semantic Code Search

  • Code Repository Indexing

  • Persistent Storage

  • Directory Exploration

  • Background Initialization

  • Environment Configuration

Use cases of WindTools MCP Server

  • Finding relevant code snippets in a large codebase

  • Understanding the structure and contents of a code repository

  • Integrating code search capabilities into a code assistant or IDE

  • Building a knowledge base of code examples and best practices

FAQ from WindTools MCP Server

What is ChromaDB?

ChromaDB is a vector database used for storing and retrieving code embeddings.

What are sentence transformers?

Sentence transformers are deep learning models used for creating embeddings from code snippets.

How do I configure the server?

The server is configured using environment variables such as DATA_ROOT, CHROMA_DB_FOLDER_NAME, and SENTENCE_TRANSFORMER_PATH.

How do I index a code repository?

Use the index_repository tool, providing a list of directories to index.

How do I search for code snippets?

Use the codebase_search tool, providing a search query.