Helix MCP Server
A local-first MCP server providing secure workspace file operations, offline full-text search, and web search/fetch capabilities without requiring API keys.
README
Helix MCP Server
A modern, local-first Model Context Protocol (MCP) server built with Python and managed by uv.
This server is designed to work fully offline (e.g. alongside llama-server running local models like Gemma 2) while providing secure workspace operations, offline searching, and modular web capabilities without requiring paid API keys.
Features
- 🔌 Standard stdio Transport: Connects seamlessly to standard MCP clients like Claude Desktop.
- 🛡️ Secure Filesystem Boundary: All file operations (read, write, delete, list, move) are strictly confined to the workspace root directory.
- 🔎 Offline Search & Indexer: Built-in SQLite FTS5 (Full-Text Search) engine that indices all text and code files in the workspace locally.
- 👁️ File Change Watcher: Background thread utilizing
watchdogto monitor workspace additions, deletions, modifications, and moves. - 🌐 Zero-Cost Web Search: Multi-adapter web search using DuckDuckGo (via Python SDK) and Mojeek (via HTML parsing) with automatic fallback. No API keys required.
- 📄 Clean Web Fetcher: Downloads pages and converts them to readable Markdown, stripping script, style, navigation, and image tags to conserve context window tokens.
Tech Stack
- Python 3.10+
- uv: Blazing-fast dependency resolver & package manager.
- FastMCP: Declarative MCP framework wrapper.
- SQLite FTS5: Fully offline search indexing.
- Watchdog: Multi-threaded file systems events catcher.
- Httpx & BeautifulSoup4: Scraping & page cleanup.
MCP Tools Provided
| Tool Name | Arguments | Description |
|---|---|---|
web_search |
query: str, engine: str = "auto", limit: int = 5 |
Search the web using DuckDuckGo/Mojeek. |
web_fetch |
url: str |
Downloads a webpage and cleans it to Markdown. |
workspace_index |
None | Indexes all workspace text/code files locally. |
workspace_search |
query: str, limit: int = 10 |
Instantly queries the local index using FTS5 keywords. |
file_read |
path: str |
Reads a text/code file (workspace relative). |
file_write |
path: str, content: str |
Writes content to a file (workspace relative). |
file_delete |
path: str |
Deletes a file or empty directory. |
file_move |
source: str, destination: str |
Moves or renames files or directories. |
directory_list |
path: str = "." |
Lists contents inside a workspace folder. |
file_changes_get |
None | Returns a log of recent workspace file changes. |
Getting Started
Prerequisites
Install uv if you haven't already:
- macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh - Windows:
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Setup & Installation
Clone this repository and set up dependencies:
git clone https://github.com/b1krams/helix-mcp.git
cd helix-mcp
uv sync
Running Locally
To run the MCP server on stdio transport:
uv run python -m helix_mcp.server
Connecting to Clients
Claude Desktop Configuration
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"helix-mcp": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/helix-mcp",
"run",
"python",
"-m",
"helix_mcp.server"
]
}
}
}
(Make sure to replace /absolute/path/to/helix-mcp with your actual full workspace path).
Development & Testing
Run the offline pytest suite to verify all tools:
uv run pytest
Formatting and Linting:
uv run ruff check
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.