Claude Code plugins for mcp-vector-search configuration and library integration
npx claudepluginhub hugoduncan/mcp-vector-searchGuide for writing mcp-vector-search configuration files
Guide for embedding mcp-vector-search as a library in MCP servers
Share bugs, ideas, or general feedback.
Semantic search for your documents, available to AI agents via MCP.
Index documentation, code, and knowledge bases with semantic embeddings. AI assistants can search on-demand without loading everything into context.
;; .mcp-vector-search/config.edn
{:sources [{:path "/docs/**/*.md"}]}
# Search from Claude Code
"Find authentication documentation"
→ Returns relevant docs based on semantic similarity
Quick Links: Quick Start · Installation · What & Why · Advanced Features
1. Install the MCP server (requires Clojure CLI tools):
# Add to ~/.clojure/deps.edn
{:aliases
{:mcp-vector-search
{:replace-paths []
:replace-deps {org.hugoduncan/mcp-vector-search
{:git/url "https://github.com/hugoduncan/mcp-vector-search"
:git/sha "LATEST_SHA_HERE"}
org.clojure/clojure {:mvn/version "1.12.3"}}
:jvm-opts ["--enable-native-access=ALL-UNNAMED"]
:exec-fn mcp-vector-search.main/start}}}
# Configure Claude Code
claude mcp add mcp-vector-search -- $(which clojure) -X:mcp-vector-search
2. Create config file at ~/.mcp-vector-search/config.edn or .mcp-vector-search/config.edn:
{:sources [{:path "/path/to/your/docs/**/*.md"}]}
3. Restart Claude Code - the search tool is now available.
4. Search from Claude Code:
"Search for authentication best practices"
"Find code examples for user validation"
"Show me documentation about API rate limiting"
The assistant will use the search tool to find relevant content semantically, without you loading all documents into context.
mcp-vector-search is an MCP server that:
Expand what's accessible, not what's loaded. AI agents have limited context windows. Instead of loading all documentation upfront, they search when needed.
Key benefits:
When to use:
See doc/about.md for a detailed explanation of the problem and solution.
Library usage: mcp-vector-search can be embedded in your own MCP servers to provide semantic search over bundled resources. See doc/library-usage.md for details.
Add to ~/.clojure/deps.edn:
{:aliases
{:mcp-vector-search
{:replace-paths []
:replace-deps {org.hugoduncan/mcp-vector-search
{:git/url "https://github.com/hugoduncan/mcp-vector-search"
:git/sha "LATEST_SHA_HERE"}
org.clojure/clojure {:mvn/version "1.12.3"}}
:jvm-opts ["--enable-native-access=ALL-UNNAMED"]
:exec-fn mcp-vector-search.main/start}}}
Note: Replace LATEST_SHA_HERE with the latest commit SHA from this repository.
Claude Code:
claude mcp add mcp-vector-search -- $(which clojure) -X:mcp-vector-search
Claude Desktop, Cline, and other MCP clients: See doc/install.md for setup instructions and troubleshooting.
Configuration file location (first found is used):
.mcp-vector-search/config.edn (project-specific)~/.mcp-vector-search/config.edn (global){:sources [{:path "/docs/**/*.md"}]}
Indexes all markdown files recursively under /docs/.
Path specs support globs (*, **), regex captures, and custom metadata:
;; Basic: recursive glob
{:sources [{:path "/docs/**/*.md"}]}