技能潮 SkillTide 提交收录
官方说明10 个来源MCP 服务8 天前
nonatofabio/local-faiss-mcp

nonatofabio/local-faiss-mcp

🐍 🏠 🍎 🐧 - Local FAISS vector database for RAG with document ingestion (PDF, TXT, MD, DOCX), semantic search,…
在 GitHub 查看 ↗直链 · 无中转页
官方说明🐍 🏠 🍎 🐧 - Local FAISS vector database for RAG with document ingestion (PDF, TXT, MD, DOCX), semantic search, re-ranking and CLI tools for indexing and querying.
配置模板(请按你的客户端调整)
claude mcp add local-faiss-mcp -- npx -y local_faiss_mcp
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
36 ★ · nonatofabio/local_faiss_mcp · 取自该仓库的 GitHub 页面 · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 36 ★ · 10 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 nonatofabio/local_faiss_mcp;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Local FAISS MCP Server

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Model Context Protocol (MCP) server that provides local vector database functionality using FAISS for Retrieval-Augmented Generation (RAG) applications.
Features
Core Capabilities
- **Local Vector Storage**: Uses FAISS for efficient similarity search without external dependencies
- **Document Ingestion**: Automatically chunks and embeds documents for storage
- **Semantic Search**: Query documents using natural language with sentence embeddings
- **Persistent Storage**: Indexes and metadata are saved to disk
- **MCP Compatible**: Works with any MCP-compatible AI agent or client
v0.2.0 Highlights
- **CLI Tool**: local-faiss command for standalone indexing and search
- **Document Formats**: Native PDF/TXT/MD support, DOCX/HTML/EPUB with pandoc
- **Re-ranking**: Two-stage retrieve and rerank for better results
- **Custom Embeddings**: Choose any Hugging Face embedding model
- **MCP Prompts**: Built-in prompts for answer extraction and summarization
Quickstart
Or use with Claude Code - configure MCP client (see Configuration) and try:
Claude will retrieve relevant document chunks from your vector store and use them to answer your question.
Installation
⚡️ **Upgrading?** Run pip install --upgrade local-faiss-mcp
From PyPI (Recommended)
Optional: Extended Format Support
For DOCX, HTML, EPUB, and 40+ additional formats, install pandoc:
**Note**: PDF, TXT, and MD work without pandoc.
From Source
Usage
Running the Server
After installation, you can run the server in three ways:
**1. Using the installed command (easiest):**
**2. As a Python module:**
**3. For development/testing:**
**Command-line Arguments:**
- --index-dir: Directory to store FAISS index and metadata files (default: current directory)
- --embed: Hugging Face embedding model name (default: all-MiniLM-L6-v2)
- --rerank: Enable re-ranking with specified cross-encoder model (default: BAAI/bge-reranker-base)
**Using a Custom Embedding Model:**
**Using Re-ranking for Better Results:**
Re-ranking uses a cross-encoder model to reorder FAISS results for improved relevance. This two-stage "retrieve and rerank" approach is common in production search systems.
**How Re-ranking Works:**
1. FAISS retrieves top candidates (10x more than requested)
2. Cross-encoder scores each candidate against the query
3. Results are re-sorted by relevance score
4. Top-k most relevant results are returned
Popular re-ranking models:
- BAAI/bge-reranker-base - Good balance (default)
- cross-encoder/ms-marco-MiniLM-L-6-v2 - Fast and efficient
- cross-encoder/ms-marco-TinyBERT-L-2-v2 - Very fast, smaller model
The server will:
- Create the index directory if it doesn't exist
- Load existing FAISS index from {index-dir}/faiss.index (or create a new one)
- Load document metadata from {index-dir}/metadata.json (or create new)
- Listen for MCP tool calls via stdin/stdout
Available Tools
The server provides two tools for document management:
1. ingest_document
Ingest a document into the vector store.
**Parameters:**
- document (required): Text content OR file path to ingest
- source (optional): Identifier for the document source (default: "unknown")
**Auto-detection**: If document looks like a file path, it will be automatically parsed.
**Supported formats:**
- Native: TXT, MD, PDF
- With pandoc: DOCX, ODT, HTML, RTF, EPUB, and 40+ formats
**Examples:**
2. query_rag_store
Query the vector store for relevant document chunks.
**Parameters:**
- query (required): The search query text
- top_k (optional): Number of results to return (default: 3)
**Example:**
Available Prompts
The server provides MCP prompts to help extract answers and summarize information from retrieved documents:
来源
awesome · https://github.com/nonatofabio/local_faiss_mcp
按领域浏览
MCP 服务
Traction
36 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引