mauve-mcp-server
v0.1.0A Model Context Protocol server for NCBI.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
blast_search Blast Search
Submit a single nucleotide or protein sequence to NCBI BLAST online and retrieve annotated alignment results.
| Parameter | Type | Description |
|---|---|---|
sequence * | string | Raw sequence string (e.g. "ATGCGTACGTAG..."). FASTA header optional. |
database | string | NCBI database: nt (nucleotide), nr (protein), swissprot, refseq_protein, pdb, etc. |
entrez_query | string | Optional Entrez query to filter results, e.g. "txid9606[Organism]" for human. |
expect | number | E-value cutoff (default 10.0). |
hitlist_size | integer | Maximum number of hits to return (default 20, max 100). |
program | string | BLAST program: blastn, blastp, blastx, tblastn, tblastx. |
blast_batch Blast Batch
Submit multiple sequences to NCBI BLAST concurrently. Sequences are provided as a JSON list of [id, seq] pairs, or as multi-FASTA text.
| Parameter | Type | Description |
|---|---|---|
sequences * | string | Either a JSON string like '[["seq1","ATGC..."],["seq2","GCTA..."]]' or a multi-FASTA string (">id1\nATGC...\n>id2\nGCTA..."). |
database | string | NCBI database: nt, nr, swissprot, refseq_protein, pdb, etc. |
entrez_query | string | Optional Entrez filter. |
expect | number | E-value cutoff. |
hitlist_size | integer | Maximum hits per query. |
max_concurrent | integer | Max concurrent BLAST submissions (1-5). Keep ≤3 to avoid rate-limit. |
program | string | BLAST program: blastn, blastp, blastx, tblastn, tblastx. |
download_genomes Download Genomes
Download genome sequence files from NCBI using ncbi-genome-download.
| Parameter | Type | Description |
|---|---|---|
assembly_accessions | string | Filter by assembly accessions, comma-separated. Example: "GCF_000005845.2". |
assembly_levels | string | Assembly quality filter, comma-separated. Options: all, complete, chromosome, scaffold, contig. Example: "complete,chromosome". |
dry_run | boolean | If True, preview what would be downloaded without actually downloading. |
file_formats | string | File format(s) to download, comma-separated. Common: fasta, genbank, gff, protein-fasta, cds-fasta. Example: "fasta,gff". |
genera | string | Filter by genus/species, comma-separated. Example: "Escherichia coli,Staphylococcus aureus". |
groups | string | NCBI taxonomic groups, comma-separated. Available: archaea, bacteria, fungi, invertebrate, metagenomes, plant, protozoa, vertebrate_mammalian, vertebrate_other, viral. Example: "bacteria,fungi". |
output | string | Output directory path. Defaults to ./ncbi_genomes. |
parallel | integer | Max parallel downloads (1-16, default 4). |
refseq_categories | string | RefSeq categories: all, reference, representative, na. |
section | string | NCBI section: refseq (default) or genbank. |
species_taxids | string | Filter by species NCBI taxonomy IDs, comma-separated. Example: "562,1280" (E. coli, S. aureus). |
taxids | string | Filter by NCBI taxonomy IDs, comma-separated. Example: "9606" (Homo sapiens). |
type_materials | string | Filter by relation to type material: any, all, type, reference, synonym, proxytype, neotype. |
list_genome_groups List Genome Groups
List all taxonomic groups, file formats, assembly levels, and sections supported by ncbi-genome-download. Returns ------- dict Available groups, formats, levels, sections, and refseq categories.
list_blast_databases List Blast Databases
List commonly used NCBI BLAST databases with descriptions, to help select the right database for a search. Returns ------- dict Database categories and their descriptions.
run_progressive_mauve_tool Run Progressive Mauve Tool
Run progressiveMauve for whole-genome alignment.
| Parameter | Type | Description |
|---|---|---|
input_files * | array | List of input FASTA file paths. |
output_prefix * | string | Output prefix for results. |
extra_args | Additional command-line arguments. | |
mauve_binary | Optional path to progressiveMauve binary. If not provided, auto-detects from bin/ directory. | |
max_memory_gb | number | Maximum memory in GB (default 8). |
scratch_dir | Directory for temporary files. | |
timeout_seconds | number | Timeout in seconds (default 3600). |
check_mauve_binary Check Mauve Binary
Check the status of available progressiveMauve binaries. Returns: JSON string with binary information.
slice_homologous_segments Slice Homologous Segments
基于 Mauve 第一次比对输出的 backbone 坐标,从输入 FASTA 中切出同源片段。 输入与输出均使用本地路径;产物保存到 ``output_dir``。
| Parameter | Type | Description |
|---|---|---|
backbone_path * | string | 本地 backbone 文件路径(第一次比对输出)。 |
input_files * | array | 输入 FASTA 文件路径列表(与比对时顺序一致)。 |
output_dir * | string | 切片输出目录。 |
get_alignment_result Get Alignment Result
查询第二次比对(BLAST)某次结果(Redis ``RID:<rid>`` 的 HASH 字段)。
| Parameter | Type | Description |
|---|---|---|
rid * | string |
check_redis Check Redis
检查 Redis 是否可用,并说明第一次比对数据的存储键格式。