loading…
Search for a command to run...
loading…
Transforms Markdown documentation into an intelligent knowledge base with AI-powered search and Q\&A through an MCP server.
Transforms Markdown documentation into an intelligent knowledge base with AI-powered search and Q&A through an MCP server.

Transform your Markdown documentation into an intelligent knowledge base. Repocks indexes your documents and provides AI-powered search and Q&A capabilities through an MCP server.
Repocks turns your collection of Markdown files into a searchable knowledge base that AI assistants can query. Whether you have technical documentation, meeting notes, or personal knowledge management files, Repocks makes them accessible through natural language queries.
# Install Repocks
npm install -g repocks
# Download required AI models
ollama pull qwen3:4b
ollama pull mxbai-embed-large
Index your documents:
repocks index
This scans your Markdown files and creates a searchable index.
Start the MCP server:
repocks start
Now your knowledge base is ready to answer questions!
We recommend registering with Coding Agent (such as Claude Code, Cline, etc.) as shown in the example below.
# Register mcp server in Claude Code
claude mcp add repocks -- repocks start
By default, Repocks indexes:
~/.repocks/**/*.md (your personal notes)./docs/**/*.md (project documentation)To customize, create repocks.config.json:
{
"targets": [
"./my-notes/**/*.md",
"./team-docs/**/*.md",
"~/Documents/obsidian/**/*.md"
]
}
Set environment variables to use different Ollama models:
# Use a different LLM
export OLLAMA_LLM="llama2:13b"
# Use a different embedding model
export OLLAMA_EMBEDDING_MODEL="nomic-embed-text"
# Use a remote Ollama instance
export OLLAMA_BASE_URL="http://192.168.1.100:11434/api"
Add Repocks to your Claude Desktop configuration:
{
"mcpServers": {
"repocks": {
"command": "repocks",
"args": ["start"]
}
}
}
Now you can ask Claude questions about your documentation!
repocks indexScans and indexes all Markdown files in configured paths. Run this:
repocks startStarts the MCP server. Keep this running while using AI assistants.
repocks.config.json paths.md files exist in those locationsrepocks index to rebuild the indexollama serveollama listMIT
Выполни в терминале:
claude mcp add repocks -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.