Server data from the Official MCP Registry
Phylogenetic inference via IQ-TREE 2 — never returns a topology without its support
Phylogenetic inference via IQ-TREE 2 — never returns a topology without its support
Valid MCP server (2 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
7 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: OMP_NUM_THREADS
Environment variable: MKL_NUM_THREADS
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-musharna-phylokit-mcp": {
"env": {
"MKL_NUM_THREADS": "your-mkl-num-threads-here",
"OMP_NUM_THREADS": "your-omp-num-threads-here"
},
"args": [
"phylokit-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
Phylogenetic inference over MCP, driving IQ-TREE 2 through piqtree.
A topology without support is not a result. infer_tree always runs a
bootstrap and always returns per-clade support. There is no flag to skip it.
5 tools, 62 tests against real IQ-TREE (no mocked engine), 10 mutation checks, and a real-process JSON-RPC handshake test.
A maximum-likelihood tree looks identical whether or not the data support it. Measured here, on alignments simulated from a known 7-taxon tree so the right answer is not in doubt:
| sites | informative sites | recovered the true tree? | lowest clade support |
|---|---|---|---|
| 300 | 51 | yes, exactly | 1.00 |
| 60 | 11 | no — RF 2 | 0.57 |
At 60 sites the tree contains a clade (C,D,G) that does not exist and omits
one that does (E,F,G). Both runs return a fully resolved Newick string of the
same shape; nothing about the topology itself distinguishes them. The support
values do — and the false clade is the lowest-supported one in the tree.
That is the entire argument for this server. Returning a bare tree returns a result the caller cannot evaluate.
fraction_resolved — the share of clades clearing 0.70. The headline
number, before any individual grouping is repeated as fact.n_parsimony_informative alongside n_sites.
A 10,000-site alignment of near-identical sequences supports nothing.| tool | what it does |
|---|---|
infer_tree | ML tree plus bootstrap support, per clade. Never one without the other. |
select_substitution_model | Ranks 100+ models with ΔAIC/AICc/BIC, and says when the criteria disagree. |
compare_trees | Robinson–Foulds distance and the clades that differ. Compares splits, not strings. |
simulate_alignment | Generates sequences along a tree you specify — the positive control. |
capabilities | Engine version, 215 substitution models, enforced limits. |
pip install phylokit-mcp
piqtree ships prebuilt wheels, so there is no compiler, no R and no conda step — but it requires Python 3.12+, and so does this package.
Measured, not assumed:
rand_seed
does not fully reset IQ-TREE's internal state — building the same tree three
times gave call 1 == call 2 but call 3 different.The practical size: over six repeated 50-replicate calls, three of four clades were bit-identical and one moved 0.02 — a single replicate flipping, well inside the bootstrap's own sampling error (~0.07 at 50 replicates). The topology and every conclusion were unchanged. This is reported in every response rather than papered over, because an MCP server is long-lived by design and that is exactly the condition which exposes it.
Threads are pinned to 1 before piqtree is imported: likelihood sums accumulate in thread-completion order, floating-point addition is not associative, and near-tied topologies can flip on the last bits.
bootstrap_replicates but does not
expose the resulting values.GPL-2.0-only. The "only" is load-bearing: piqtree declares GPL-2.0-only,
which is incompatible with GPL-3.0, so the distributed combination cannot be
GPL-3. cogent3 is BSD and imposes nothing.
Unofficial. Not affiliated with, endorsed by, or sponsored by the IQ-TREE authors or the cogent3 project. IQ-TREE 2 is academic software and expects to be cited — if results from this server appear in published work, cite IQ-TREE 2 as directed at iqtree.org, not this wrapper. See NOTICE.
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.