1. Conduid
  2. AI
  3. Ultrarag
MCP server · AI

Ultrarag

A Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines

82Strong

Scored 8 hours ago · breakdown

About Ultrarag

Ultrarag is an MCP server published by OpenBMB in the AI category: a Low-Code MCP Framework for Building Complex and Innovative RAG Pipelines. Conduid read 49 tools from its source: assign_citation_ids, assign_citation_ids_stateful, build_image_corpus, build_mineru_corpus, build_text_corpus, check_model_state and 43 more. No package is published for it, so it installs from a source checkout.

The repository has 5.8K stars and 461 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is v0.3.0.3 (15 Sep 2026): Release date: 2026.9.15 Highlights This release expands UltraRAG’s retrieval and generation options with a Qdrant vector search backend, a dedicated LiteLLM generation b… It follows v0.3.0.2 (9 Apr 2026), and the 5 most recent releases go back to v0.2.1.3 (12 Jan 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include demo, embedding, deepseek, huggingface-transformers, flask and easy.

Install

From source
git clone https://github.com/OpenBMB/UltraRAG

Tools (49)

assign_citation_idsAssign sequential citation IDs to passages.
ParameterTypeDescription
ret_psg *arrayList of lists of document strings
assign_citation_ids_statefulReturn numbered passages and updated, JSON-serializable query state.
ParameterTypeDescription
citation_state *array
ret_psg *array
build_image_corpusBuild image corpus from PDF files by extracting pages as images.
ParameterTypeDescription
image_corpus_save_path *stringPath where the image corpus JSONL file will be saved
parse_file_path *stringPath to PDF file or directory containing PDF files
build_mineru_corpusBuild text and image corpus from MinerU parsing results.
ParameterTypeDescription
image_corpus_save_path *stringPath where the image corpus JSONL file will be saved
mineru_dir *stringDirectory containing MinerU parsing results
parse_file_path *stringOriginal path to PDF file(s) that were parsed
text_corpus_save_path *stringPath where the text corpus JSONL file will be saved
build_text_corpusBuild text corpus from various file formats.
ParameterTypeDescription
parse_file_path *stringPath to file or directory containing files to parse
text_corpus_save_path *stringPath where the text corpus JSONL file will be saved
check_model_stateCheck if model should continue or stop based on search token.
ParameterTypeDescription
ans_ls *arrayList of answer strings
chunk_documentsChunk documents using various chunking strategies.
ParameterTypeDescription
chunk_backendstringChunking method to use ("token", "sentence", or "recursive")
chunk_backend_configs *objectDictionary of configuration for each chunking backend
chunk_pathstringOptional output path for chunked documents (defaults to project output directory)
chunk_sizeintegerTarget size for each chunk
raw_chunk_path *stringPath to JSONL file containing documents to chunk
tokenizer_or_token_counterstringTokenizer name or counter type ("word", "character", or tiktoken encoding)
use_titlebooleanWhether to include document title in chunk content
evaluateEvaluate predictions against ground truths using specified metrics.
ParameterTypeDescription
gt_ls *arrayList of ground truth lists (one per prediction)
metricsarrayList of metric names (acc, em, stringem, coverem, f1, rouge-1, rouge-2, rouge-l)
pred_ls *arrayList of prediction strings
save_path *stringPath where results will be saved
evaluate_trecEvaluate retrieval results in TREC format using IR metrics.
ParameterTypeDescription
ksarrayList of k values for recall@k, precision@k, ndcg@k (default: [1, 5, 10, 20, 50, 100])
metricsarrayList of IR metrics (mrr, map, recall, ndcg, precision)
qrels_path *stringPath to TREC qrels file
run_path *stringPath to TREC run file
save_path *stringPath where results will be saved
evaluate_trec_pvalueCompare two TREC run files using permutation test to calculate p-values.
ParameterTypeDescription
ksarrayList of k values for recall@k, precision@k, ndcg@k (default: [1, 5, 10, 20, 50, 100])
metricsarrayList of IR metrics to compare
n_resamplesintegerNumber of resampling iterations for permutation test (default: 10000)
qrels_path *stringPath to TREC qrels file
run_new_path *stringPath to new TREC run file (system A)
run_old_path *stringPath to old TREC run file (system B)
save_path *stringPath where results will be saved
evisrag_output_extract_from_specialExtract content from <answer>...</answer> tags for EvisRAG.
ParameterTypeDescription
ans_ls *arrayList of answer strings that may contain <answer>...</answer> tags
get_global_memoryRead global memory from MEMORY.md.
ParameterTypeDescription
user_idstringUser identifier. Defaults to "default".
greetGreet a person by name.
ParameterTypeDescription
name *stringName of the person to greet
init_citation_registryCreate per-query citation state owned by this pipeline execution.
ParameterTypeDescription
q_ls *array
ircot_check_endCheck if IRCoT answers are complete based on completion phrase.
ParameterTypeDescription
ans_ls *arrayList of answer strings
ircot_extract_ansExtract final answer from IRCoT responses using 'so the answer is' pattern.
ParameterTypeDescription
ans_ls *arrayList of answer strings
ircot_get_first_sentExtract first sentence from answers for IRCoT pipeline.
ParameterTypeDescription
ans_ls *arrayList of answer strings
iterretgen_nextqueryGenerate next query by combining previous query with answer.
ParameterTypeDescription
ans_ls *arrayList of answers corresponding to queries
q_ls *arrayList of previous queries
merge_passagesMerge temporary passages into retrieved passages.
ParameterTypeDescription
ret_psg *arrayList of retrieved passage lists to merge into
temp_psg *arrayList of temporary passage lists
mineru_parseParse PDF files using MinerU tool.
ParameterTypeDescription
mineru_dir *stringOutput directory for MinerU parsing results
mineru_extra_paramsobjectOptional dictionary of extra parameters for MinerU command
parse_file_path *stringPath to PDF file or directory containing PDF files
output_extract_from_boxedExtract content from LaTeX \\boxed{} expressions in answers.
ParameterTypeDescription
ans_ls *arrayList of answer strings that may contain \\boxed{...} expressions
r1_searcher_checkCheck if r1_searcher answers are complete based on EOS tokens.
ParameterTypeDescription
ans_ls *arrayList of answer strings to check
r1_searcher_query_extractExtract search queries from answer list using <|begin_of_query|> tags.
ParameterTypeDescription
ans_ls *arrayList of answer strings that may contain <|begin_of_query|>...</|begin_of_query|> tags
route1Route queries to state1 or state2 based on query value.
ParameterTypeDescription
query_list *arrayList of query strings
route2Route all queries to state2.
ParameterTypeDescription
query_list *arrayList of query strings
save_memorySave one round of user-assistant dialogue into daily project memory.
ParameterTypeDescription
ans_ls *arrayCurrent round answer.
q_ls *arrayCurrent round question.
user_id *stringUser identifier. Defaults to "default".
search_o1_checkCheck if Search O1 should stop or continue retrieving.
ParameterTypeDescription
ans_ls *arrayList of answer strings
q_ls *arrayList of query strings
total_final_info_list *arrayList of final info lists
total_reason_list *arrayList of reasoning lists
total_subq_list *arrayList of sub-question lists
search_o1_combine_final_informationCombine extracted final information into total list for Search-o1.
ParameterTypeDescription
extract_final_infor_list *arrayNew final information to add
total_final_info_list *arrayList of lists to accumulate final information
search_o1_combine_listCombine extracted queries and reasons into total lists for Search-o1.
ParameterTypeDescription
extract_query_list *arrayNew queries to add
extract_reason_list *arrayNew reasons to add
total_reason_list *arrayList of lists to accumulate reasons
total_subq_list *arrayList of lists to accumulate subqueries
search_o1_extract_final_informationExtract final information section from answers for Search-o1.
ParameterTypeDescription
ans_ls *arrayList of answer strings that may contain **Final Information** section
search_o1_init_listInitialize lists for Search-o1 pipeline.
ParameterTypeDescription
q_ls *arrayList of queries
search_o1_query_extractExtract search queries from answers using Search-o1 tags.
ParameterTypeDescription
ans_ls *arrayList of answer strings containing <|begin_search_query|>...</|end_search_query|> tags
search_o1_reasoning_extractExtract reasoning content before search query tags for Search-o1.
ParameterTypeDescription
ans_ls *arrayList of answer strings
search_r1_checkCheck if search-r1 answers are complete based on EOS tokens.
ParameterTypeDescription
ans_ls *arrayList of answer strings to check
search_r1_query_extractExtract search queries from answer list using <search> tags.
ParameterTypeDescription
ans_ls *arrayList of answer strings that may contain <search>...</search> tags
surveycpm_after_extendProcess responses after extend-plan action in SurveyCPM pipeline.
ParameterTypeDescription
instruction_ls *arrayList of user instructions
response_ls *arrayList of LLM response strings
survey_ls *arrayList of survey JSON strings
surveycpm_hard_modebooleanWhether to use strict validation
surveycpm_after_init_planProcess responses after init-plan action in SurveyCPM pipeline.
ParameterTypeDescription
instruction_ls *arrayList of user instructions
response_ls *arrayList of LLM response strings
survey_ls *arrayList of survey JSON strings
surveycpm_hard_modebooleanWhether to use strict validation
surveycpm_after_writeProcess responses after write action in SurveyCPM pipeline.
ParameterTypeDescription
cursor_lsarrayList of cursor positions
instruction_ls *arrayList of user instructions
response_ls *arrayList of LLM response strings
retrieved_info_ls *arrayList of retrieved information strings
survey_ls *arrayList of survey JSON strings
surveycpm_hard_modebooleanWhether to use strict validation
surveycpm_check_completionCheck completion status based on step count only.
ParameterTypeDescription
state_ls *array
step_ls *array
surveycpm_max_stepinteger
surveycpm_format_outputFormat final survey output as clean Markdown.
ParameterTypeDescription
instruction_ls *array
survey_ls *array
surveycpm_init_citation_registryInitialize citation registry for SurveyCPM pipeline.
ParameterTypeDescription
instruction_ls *arrayList of instructions
surveycpm_parse_search_responseParse search responses from LLM for SurveyCPM pipeline.
ParameterTypeDescription
response_ls *arrayList of LLM response strings
surveycpm_hard_modebooleanWhether to use strict validation
surveycpm_process_passagesProcess and deduplicate passages for SurveyCPM pipeline.
ParameterTypeDescription
ret_psg_ls *arrayList of lists of passage lists (one per query)
surveycpm_process_passages_with_citationProcess passages and assign unique citation IDs for SurveyCPM.
ParameterTypeDescription
ret_psg_ls *array
survey_ls *array
surveycpm_state_initInitialize state for SurveyCPM pipeline.
ParameterTypeDescription
instruction_ls *arrayList of user instructions
surveycpm_state_routerRoute SurveyCPM state variables based on current state.
ParameterTypeDescription
cursor_ls *arrayList of cursor positions (may be None)
extend_result_ls *arrayList of extend result strings
extend_time_ls *arrayList of extend time values
state_ls *arrayList of state strings
step_ls *arrayList of step numbers
survey_ls *arrayList of survey JSON strings
surveycpm_update_stateUpdate state based on cursor and extend results.
ParameterTypeDescription
cursor_lsarray
extend_result_ls *array
extend_time_ls *array
parsed_ls *array
state_ls *array
step_ls *array
surveycpm_max_extend_stepinteger
surveycpm_max_stepinteger
webnote_check_pageCheck if WebNote pages are complete or incomplete.
ParameterTypeDescription
page_ls *arrayList of page strings to check
webnote_check_page_with_citationsRoute each WebNote page and its citation state through the same branch.
ParameterTypeDescription
citation_state *array
page_ls *array

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.1K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock and ui/frontend/package-lock.json.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

1 check has not been run yet.

Releases

v0.3.0.3v0.3.0.3 · 15 Sep 2026Release date: 2026.9.15 Highlights This release expands UltraRAG’s retrieval and generation options with a Qdrant vector search backend, a dedicated LiteLLM generation backend, and jieba support for Chinese tokenization. We improve…
v0.3.0.2v0.3.0.2 · 9 Apr 2026Release date: 2026.4.9 Highlights This release delivers a major end-to-end memory upgrade for UltraRAG, introducing persistent user memory, project memory retrieval, and a dedicated memory-aware RAG demo. It also makes the demo experience…
v0.3.0.1v0.3.0.1 · 10 Mar 2026Release date: 2026.3.10 Highlights This release introduces expanded document parsing for `.doc `and `.wps` formats, alongside new web search capabilities for the demo environment. We have significantly enhanced the chat experience by…
v0.3.0v0.3.0 · 26 Jan 2026Release date: 2026.1.23 Highlights Introducing UltraRAG 3.0: Reject "Black Box" Development. Make Every Line of Inference Logic Visible! UltraRAG 3.0 solves the "Last Mile" problem in RAG development, developed by THUNLP, NEUIR, OpenBMB &…
v0.2.1.3v0.2.1.3 · 12 Jan 2026Release date: 2026.1.12 Highlights This release focuses on improving system stability and core logic. We have addressed a path indexing bug in the generation server to ensure reliable image rendering. Additionally, the search-o1 pipeline…

README

The repository's README runs to about 2.1K words, fetched 7 days ago. The original in the repository is authoritative.

Read full README
Questions

About Ultrarag

How do I install Ultrarag?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Ultrarag safe to use with an AI agent?

Its trust score is 82 out of 100 (strong). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ultrarag still maintained?

Yes — the latest release is v0.3.0.3 (15 Sep 2026), and the last commit was 17 hours ago. The repository has 5.8K stars and 29 open issues.

What tools does Ultrarag provide?

Conduid read 49 tools from the source: assign_citation_ids, assign_citation_ids_stateful, build_image_corpus, build_mineru_corpus, build_text_corpus, check_model_state, chunk_documents, evaluate and 41 more. 49 of them publish their parameters, listed under Tools above.

What license is Ultrarag released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v0.3.0.3, as well.