top.paper2agent/lolalign
<!-- mcp-name: top.paper2agent/lolalign -->
# paper2agent-lolalign-mcp
An MCP (Model Context Protocol) server for **LoL-align**, the sensitive and
fast probabilistic protein structure alignment method built on Foldseek —
packaged so any MCP client (Claude Code, Cursor, CodeBuddy, Cherry Studio…)
can call it as tools.
## Attribution — please read first
> **This is an unofficial third-party packaging. It is not affiliated with,
> or endorsed by, the method's authors.**
- **Original paper**: Reifenrath, L., van Kempen, M., Kim, G., Kim, S. H.,
Radnezhad, M., Gilchrist, C. L. M., Mirdita, M., Steinegger, M. & Söding, J.
"LoL-align: sensitive and fast probabilistic protein structure alignment."
*Nature Methods* (2026). DOI: [10.1038/s41592-026-03249-w](https://doi.org/10.1038/s41592-026-03249-w)
· PMCID: PMC13736684
- **Original code**: Foldseek / LoL-align by the Steinegger lab —
<https://github.com/steineggerlab/foldseek> @ commit `4f5c00ccb5590f08a261b9144fd9a5d28a71fa0e`,
licensed under **GPL-3.0**. The tools in this package run the official
`foldseek` binary distributed at mmseqs.com; no upstream code is modified.
- **This wrapper**: the thin MCP layer (server + tool definitions) was
generated and is maintained by the **Paper2Agent** project, which converts
published methods into uniform MCP servers. All credit for the science
belongs to the original authors above; if you use LoL-align in your work,
cite their paper.
Full reproduction report for this method (inputs, outputs, validation):
<https://paper2agent.top/papers/lolalign/reproduction_trace.html?utm_source=github&utm_medium=readme&utm_campaign=paper2agent-lolalign-mcp>
## Tools (4)
| Tool | What it does |
|---|---|
| `lolalign_createdb` | Index PDB/mmCIF structures into a Foldseek database (AA + 3Di + C-alpha) |
| `lolalign_easy_search` | Search query structure(s) against a target set/database with LoL-align |
| `lolalign_pairwise_align` | Pairwise LoL-align alignment of two structures |
| `lolalign_easy_cluster` | Structure-based clustering with LoL-align |
Every tool takes file paths plus typed parameters and returns a structured
envelope: `{status, summary, outputs, metrics, provenance}`.
## Install
```bash
# 1) Install the MCP wrapper
uvx paper2agent-lolalign-mcp --list-tools # or: pip install paper2agent-lolalign-mcp
# 2) Fetch the official foldseek binary (one time)
python -m paper2agent_lolalign_mcp.install_foldseek
# …or set FOLDSEEK_BIN / put your own foldseek binary on PATH
```
## Use with an MCP client
```json
{
"mcpServers": {
"lolalign": {
"command": "uvx",
"args": ["paper2agent-lolalign-mcp"]
}
}
}
```
The server speaks stdio by default, and also supports HTTP transports:
`paper2agent-lolalign-mcp --transport http --host 0.0.0.0 --port 8000`.
## More methods
This is one of 85 published-paper methods converted to MCP servers by
Paper2Agent (single-cell & spatial omics, structural bioinformatics, and
more), all with reproduction reports:
**Browse the full library → <https://paper2agent.top/?utm_source=github&utm_medium=readme&utm_campaign=paper2agent-lolalign-mcp>**
## License
GPL-3.0 — see [LICENSE](LICENSE). The upstream Foldseek code is GPL-3.0 and
this combined wrapper is distributed under the same license; full source is
in this repository. Attribution details: [NOTICE.md](NOTICE.md).
Packaging issues (not method questions) → this repo's issue tracker.
Method questions → the upstream Foldseek repository.
TDQS
Scored across 4 tools
The four tools map to distinct stages: indexing, database search, direct pairwise alignment, and clustering. The only real overlap is between lolalign_easy_search (query vs. target structures) and lolalign_pairwise_align (two structure files), which both can align a pair; descriptions mitigate this by noting pairwise_align skips 3Di prefiltering and returns superposition.
All tools share the lolalign_ snake_case prefix, giving a predictable namespace. Minor deviation: 'createdb' is a fused verb+noun rather than 'create_db', and the 'easy_' qualifier is applied inconsistently across search/cluster but not the others.
Four tools is a tight, well-scoped surface for a specialized structural-alignment pipeline; each tool earns its place. It sits at the thin end, with no utility tools for inspecting or managing indexed databases.
The core LoL-align lifecycle is covered: build database, search, pairwise align, and cluster, with useful output options like superposed PDB. Gaps are minor: no database listing/removal, no batch or result-retrieval/format-conversion operations.