About PharosRAG
PharosRAG is an MCP server published by Laurent00TT in the RAG category: pharos — local-first agentic RAG for your team's document library: multi-format ingest, hybrid retrieval, enterprise ACL, dual HTTP + MCP exits. Conduid read 6 tools from its source: expand, get_document, get_outline, list_documents, retrieve and retrieve_grouped. No package is published for it, so it installs from a source checkout.
The repository has 241 stars and 1 forks, is licensed MIT, and its last commit was on 19 Aug 2026. Conduid has no tagged release on record for it. It passes 3 of the 5 static checks Conduid ran on the repository; it does not pass Dependencies pinned and No dynamic code execution. Its topics include agentic-rag, embeddings, fastapi, hybrid-search, knowledge-base and local-first.
Install
git clone https://github.com/Laurent00TT/PharosRAGTools (6)
expand围绕某条命中(retrieve 返回的 chunk_id)**取更大上下文**(命中块觉得相关但上下文不够时用)。| Parameter | Type | Description |
|---|---|---|
| chunk_id * | string | |
| target_tokens | integer |
get_document**通读整篇文档**(按当前身份逐元素 ACL 门控,只含可见内容)。用于"总结整篇/通读核对"这类 top_k 碎片给不全的任务。| Parameter | Type | Description |
|---|---|---|
| doc_id * | string | |
| max_tokens | integer |
get_outline返回文档的**小节大纲**(目录树,ACL 作用域:仅含有可见内容的小节)。| Parameter | Type | Description |
|---|---|---|
| doc_id * | string |
list_documents列出当前身份可见的知识库文档,返回 {status, hint, coverage(各 doc_type 篇数), documents:[{doc_id,title}]}。retrieve检索知识库,返回**结构化**结果(已按当前身份 ACL 过滤 + small-to-big 扩上下文)。| Parameter | Type | Description |
|---|---|---|
| doc_ids | array | |
| doc_type | string | |
| kind | string | |
| mode | string | |
| query * | string | |
| rerank | boolean | |
| rerank_top_n | integer | |
| strategy | string | |
| top_k | integer |
retrieve_grouped**跨多篇文档分组检索**(对比/汇总用):对每个 doc_id 各取 top_k,返回 {status, groups:{doc_id:[hits]}}。| Parameter | Type | Description |
|---|---|---|
| doc_ids * | array | |
| query * | string | |
| rerank | boolean | |
| top_k | integer |
Security checks
- ✓README presentThe repository's README runs to about 1.6K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- !No dynamic code executionScanned 63 source files and found 1 call to eval or shell execution, in eval/component_chunking/compare_chunkers.py. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
README
The repository's README runs to about 1.6K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README