MCP server for semantic PDF querying using RAG
Project description
RAG Multiple Files MCP Server
A local MCP server that lets you semantically search multiple PDFs using natural language queries.
Use from Claude Code
Configure the MCP server:
"mcpServers": {
...
"rag-multiple-files": {
"type": "stdio",
"command": "uvx",
"args": [
"rag-multiple-files"
],
"env": {
"PDF_FOLDER": "/path/to/your/folder"
}
}
}
Sample Request
Query:
YYYYYYYYYYYYYYY.pdf: What is the chain slack
Response:
Based on the YYYYYYYYYYYYYYY owner's manual:
Chain tension (slack): XX mm (ZZ in)
How it works
- Querying — The query is embedded with the same model and searched against the FAISS index. The top-k most similar chunks are returned with their page numbers and similarity scores.
Parameters:
- query (str) - required - no default - the question or topic to search for
- file_name (str) - required - no default - the name of the PDF file
- top_k (int) - not required - 5 default - number of chunks to return
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rag_multiple_files-0.1.0.tar.gz.
File metadata
- Download URL: rag_multiple_files-0.1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0e1470a34fa817d337b159e33b6d0d387a541ec07704c925755618fff21d9cf
|
|
| MD5 |
45ffcca46486e7e05dcd7833ca85fd28
|
|
| BLAKE2b-256 |
f892a66319b9236a5002f28349acfcf82f5eef18b13e0fbe90932bf93606034e
|
File details
Details for the file rag_multiple_files-0.1.0-py3-none-any.whl.
File metadata
- Download URL: rag_multiple_files-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0fa7ccf73734d9843bf33252ea711606267e0dc958bf5949fe5dc0d84f7018d
|
|
| MD5 |
1191cb28f1bf36831eb91091cc10aaa1
|
|
| BLAKE2b-256 |
fee3bc4de9cdbe81cc13958ec69fdd15aef08281e57a24fbbb51eed32c0b104d
|