Skip to main content
Glama
top.paper2agent/lolalign

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 · 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

Related MCP server: prism

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

# 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

{
  "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. 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.

Packaging issues (not method questions) → this repo's issue tracker. Method questions → the upstream Foldseek repository.

Available Tools

4 tools
lolalign_createdbLolalign CreatedbC

Index PDB/mmCIF (.pdb, .cif, .gz) protein structures into a Foldseek database with C-alpha coordinates and 3Di states for LoL-align.

Inputs: structure_path (required), db_name, threads, output_dir, +2 more. Returns: object

lolalign_easy_clusterLolalign Easy ClusterC

Cluster a protein structure collection or Foldseek DB into homologous structural families/superfamilies using LoL-align (--alignment-type 3).

Inputs: structures_path (required), threads, cov_mode, min_seq_id, +4 more. Returns: object

lolalign_pairwise_alignLolalign Pairwise AlignC

Directly align two protein structure files using the Foldseek lolalign module without 3Di prefiltering, returning LoL-score, homology probability, LDDT G-score, residue alignment, and optional superposed C-alpha PDB.

Inputs: query_pdb (required), target_pdb (required), threads, blocklen, +6 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 4 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count4/5

    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.

    Completeness4/5

    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.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Enables any MCP client to index files, directories, and arbitrary text into a local SQLite-backed vector database and perform semantic search with language-aware chunking, filters, and context expansion, all offline without network calls.
      10
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables MCP-compatible applications to manage and use local or cloud-hosted models, including listing, pulling, generating, chatting, embeddings, and web search/fetch through a unified tool interface.
      790 npm
      AGPL 3.0