Skip to content

tfbs-mcp: a Model Context Protocol server for agentic transcription factor binding site analysis

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)
Genomics and Chromatin Dynamics

Abstract

tfbs-mcp is a Model Context Protocol (MCP) server for transcription factor (TF) binding site analysis. It exposes the steps of a binding-site study as 33 tools that a large language model (LLM) client, such as Claude Code, calls directly. Those steps run from peak extraction and dataset preparation through model training, attribution analysis, motif scanning and structure-based binding energy to validation against external peak sets and disease variants. Workflow managers such as Snakemake and Nextflow suit a fixed dependency graph that is rerun across samples. An exploratory session changes the graph with every question. With tfbs-mcp the researcher states the TF, the data and the question in natural language. The LLM then: selects the tools; fills parameters with the defaults stated in the tool descriptions; runs the work locally or as SLURM jobs; explains each choice. Naming a decision overrides the default, without editing a configuration file. Most tools derive their output directories from their inputs and return the paths they wrote, so calls chain without a workflow script. The server runs on the machine that holds the data: a laptop, a workstation or a SLURM login node. It downloads only structures, and uploads nothing unless Weights and Biases logging is switched on. SLURM is optional: the in-process tools work anywhere, and training runs locally or as a job. The 33 tools, in six layers Inference (10 tools): loading checkpoints, scoring, DeepLiftShap and InputXGradient attribution with Captum, in silico mutagenesis and motif marginalisation with tangermeme, FIMO motif scanning, and metrics. SLURM management (5 tools): submitting, inspecting, reading the logs of and cancelling cluster jobs; a watch helper returns the next status call for the client to schedule. Training (4 tools): LightningCLI configurations from templates for 13 architectures, local or SLURM training, Weights and Biases sweeps, and evaluation on the test split. Data pipeline (7 tools): peak, GC-matched negative and variant windows cut from a BED file and a genome; dataset preparation; seqlet, epistasis and convolutional-filter analyses. Structure-based (3 tools): TF-DNA complexes from the PDB (AlphaFold DB supplies protein-only models); FoldX binding energy; a bigWig track from a sliding-window scan. Validation and comparison (4 tools): a ChIP-Atlas benchmark; ReMap external validation; a head-to-head comparison of the neural network, FIMO and FoldX against a JASPAR motif; a ClinVar disease-variant check. How this release was tested A real session. The application note shows a session of Claude Code driven by two prompts. On a GPU node of a SLURM cluster, it built an NKX2-1 classifier from ChIP-Atlas peaks, validated it against ReMap 2022 peaks and ClinVar variants, and called eight tools, with no hand-written configuration file or batch script. The session was recorded with an earlier commit (25a90d6). The supplement lists every call and everything that changed since. A smoke test of all 33 tools. The scripted plan docs/all_tools_plan.json calls every tool, in 49 steps on NKX2-1 data. It passed on a GPU node of the BIH cluster at the release candidate (040496a). The fix made after that run, in the sweep agent, was checked on the cluster with a one-trial sweep at 1.0.0. Version 1.0.1 corrects the coding filter of the ClinVar check, which had let ClinVar’s “nonsense” (stop-gained) variants through as non-coding. Unit and contract tests. The pytest suite runs in GitHub Actions on Python 3.10 to 3.13. Installation pip install "tfbs-mcp[mcp,genomics,viz] @ git+https://github.com/sproft/tfbs-mcp@v1.0.1" tfbs-mcp --check tfbs-mcp --check verifies the installation. It also prints the command that registers the server with Claude Code and the configuration block for other MCP clients. Python 3.10 to 3.13 is supported. External programs: MEME Suite fimo: used for motif scanning when present (tangermeme’s FIMO reimplementation otherwise); the validation pipelines need the binary. FoldX: needed for structure-based scoring (academic licence). The trained NKX2-1 models of the companion study (doi:10.5281/zenodo.21399578) load directly with tfbs_load_model and run in the validation tools. Limitations The LLM that composes the workflow is non-deterministic, so the same request can produce different tool chains. A tool can also receive wrong parameters and still return a well-formed result, so a human should check the chosen chain and the key outputs. The client sends the prompt, the tool arguments and the tool results to the language-model provider. The server runs batch scripts and command-line arguments written by the LLM. The approach therefore suits trusted environments with human confirmation. Licence and citation MIT licence. Source code: https://github.com/sproft/tfbs-mcp (tag v1.0.1, commit 25840fe). Please cite this record (doi:10.5281/zenodo.23377583), and the application note once it is published.

View source

Similar papers

#computer vision Conference Aug 2008

Scrum in a Multiproject Environment: An Ethnographically-Inspired Case Study on the Adoption Challenges

Agile methods continue to gain popularity. In particular, the Scrum method appears to be on the verge of becoming a de-facto standard in the industry, leading the so called Agile movement. While there are success stories and recommendations, there is little scientifically valid evidence of the challenges in the adoptio...

A. Marchenko, P. Abrahamsson · 59 citations · ⚡11
#computer vision Open access Sep 2012

Making the leap to a software platform strategy: Issues and challenges

A comprehensive taxonomy of the challenges faced when a medium-scale organization decided to adopt software platforms is provided, namely: business challenges, organizational challenges, technical challenges, and people challenges.

Yaser Ghanam, F. Maurer, P. Abrahamsson · 41 citations · ⚡3
#machine learning Open access Mar 2024

Integration of molecular coarse-grained model into geometric representation learning framework for protein-protein complex property prediction

MCGLPPI, a novel geometric representation learning framework that combines graph neural networks (GNNs) with the MARTINI molecular coarse-grained (CG) model to predict overall PPI properties accurately and efficiently, offers an effective and efficient solution for PPI overall property predictions.

Yang Yue, Shu Li, Yihua Cheng et al. · 15 citations

PepPCBench is a Comprehensive Benchmarking Framework for Protein-Peptide Complex Structure Prediction

PepPCBench enables a robust evaluation of PFNN-based methods and supports their continued development for peptide-protein structure prediction, and highlights the influence of peptide length, conformational flexibility, and training set similarity on prediction accuracy.

Si-Long Zhai, Huifeng Zhao, Ji-Ke Wang et al. · 13 citations · ⚡1
#data science Open access Oct 2026

Less can be more for predicting properties with large language models

Abstract Predicting properties from coordinate–category data—sets of vectors paired with categorical information—is fundamental to computational science, manifesting in materials science as predicting formation energies or elastic moduli from crystal structures. While large language models (LLMs) have increasingly been...

Nawaf Alampara, Santiago Miret, Kevin Maik Jablonka · 13 citations

Related blog posts

Microsoft Research Blog Jul 13, 2026

Verifying Rust cryptography in SymCrypt, from standards to code

Cryptographic code supports vital protections in modern computing systems. Learn how a new method helps verify code as developers write it while preserving speed and adaptability as it gets implemented and evolves. The post Verifying Rust cryptography in SymCrypt, from standards to code appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.