# Vector Search — In-Memory TF-IDF Semantic Store

Vector Search — In-Memory TF-IDF Semantic Store is an MCP server for Claude Code that indexes and searches small document collections in memory using TF-IDF and cosine similarity.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 3562 installs
- Author: axel-belfort
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/axel-belfort/vector-search
- Updated: 2026-04-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/vector-search-in-memory-tf-idf-semantic-store

## What it does

The MCP server provides an in-memory document store evaluated via TF-IDF vectorization and cosine similarity. Its primary tool, `data_vector_search`, takes a batch of text records alongside a search string, returning matching entries, relevance values in `scores[]`, and the total `matchCount`.

This setup serves as a compact alternative to dedicated engines like Pinecone or Weaviate for local collections under 10K records and simple RAG workflows. It does not handle general web lookups; the author points to `web_search_query` for internet-wide retrieval.

No standard API tokens are required. Calls to `https://vector-search--axel-belfort.run.tools` resolve payments via x402 microtransactions on Base L2, billed at $0.005 per request.

## Requirements
- Remote server: `https://vector-search--axel-belfort.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http vector-search https://vector-search--axel-belfort.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add vector-search-in-memory-tf-idf-semantic-store --url https://vector-search--axel-belfort.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "vector-search-in-memory-tf-idf-semantic-store": {
            "url": "https://vector-search--axel-belfort.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "vector-search-in-memory-tf-idf-semantic-store": {
            "type": "http",
            "url": "https://vector-search--axel-belfort.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http vector-search-in-memory-tf-idf-semantic-store https://vector-search--axel-belfort.run.tools
```

## When to use it
- index small document batches in memory without external databases
- match queries against text snippets using TF-IDF and cosine similarity
- retrieve relevant passages for lightweight RAG pipelines under 10K documents

## Example prompts
- Index these markdown notes in memory and find passages matching user authentication issues.
- Query the stored documents with `data_vector_search` to find entries relevant to payment webhooks.

## Similar
- [AgentDB Vector Search](https://affpapa.org/en/nevibecode/skills/agentdb-vector-search.md) — skill · 1100 installs
- [qdrant-vector-search](https://affpapa.org/en/nevibecode/skills/qdrant-vector-search.md) — skill · 1100 installs
- [databricks-vector-search](https://affpapa.org/en/nevibecode/skills/databricks-vector-search.md) — skill · 453 installs
- [vector-store-wasp-drone](https://affpapa.org/en/nevibecode/agents/vector-store-wasp-drone.md) — subagent · ★ 96 repo stars
- [vector-search](https://affpapa.org/en/nevibecode/skills/vector-search.md) — skill · 752 installs
- [vector-search-workflows](https://affpapa.org/en/nevibecode/skills/vector-search-workflows.md) — skill · 332 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
