1. Conduid
  2. AI
  3. Sparql LLM
MCP server · AI

Sparql LLM

🦜✨ Chat system, MCP server, and reusable components to improve LLMs capabilities when generating SPARQL queries

85Strong

Scored 22 hours ago · breakdown

About Sparql LLM

Sparql LLM is an MCP server published by sib-swiss in the AI category: 🦜✨ Chat system, MCP server, and reusable components to improve LLMs capabilities when generating SPARQL queries. Conduid read 18 tools from its source: access_sib_biodata_sparql, execute_sparql_query, search_proteins_table, search_resources, search_sparql_classes, search_sparql_examples and 12 more. It is published to PyPI as sparql-llm and runs with uvx.

The repository has 134 stars and 27 forks, is licensed MIT, and its last commit was on 28 Nov 2026. The latest release is v0.1.4 (21 Jan 2026): 🚜 Refactor Fix MCP deployment dependencies, make the experimental agent flow that uses MCP tools work - (9435c64) Improve handling of endpoints metadata to lazy load the… It follows v0.1.3 (20 Jan 2026), and the 5 most recent releases go back to v0.1.0 (6 Oct 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include sparql, sparql-query-builder and expasy.

Install

uvx
uvx sparql-llm
pip
pip install sparql-llm
From source
git clone https://github.com/sib-swiss/sparql-llm

Tools (18)

access_sib_biodata_sparqlAssist users in writing SPARQL queries to access SIB biodata resources by retrieving relevant examples and docs.
ParameterTypeDescription
potential_classes *arrayHigh level concepts and potential classes that could be found in the SPARQL endpoints
question *stringThe question to be answered with a SPARQL query
steps *arraySplit the question in standalone smaller parts if relevant (if the question is already 1 step, leave empty)
execute_sparql_queryExecute a SPARQL query against a SPARQL endpoint.
ParameterTypeDescription
endpoint_url *stringThe SPARQL endpoint URL to execute the query against
sparql_query *stringA valid SPARQL query string
search_proteins_tableresults of a UniProtKB query (up to 1000 rows) in a sortable table with facets for reviewed status, annotation score and organism. The rows selected by the user are sent back to the model
ParameterTypeDescription
max_rowsinteger
query *string
search_resourcesSearch general information about the resources and SPARQL endpoints indexed by this MCP server.
ParameterTypeDescription
question *stringThe user question
search_sparql_classesSearch classes and their schema (predicates and the types of their values) in the SPARQL endpoints.
ParameterTypeDescription
classes *arrayHigh level concepts and potential classes that could be found in the SPARQL endpoints
search_sparql_examplesSearch SPARQL query examples relevant to a question related to {settings.app_topics} Use the examples as a base to write a SPARQL query answering the question, then use `search_sparql_classes` to check the details of classes and predicates used in the query. Args: question: The question to be answered with a SPARQL query steps: Split the question in standalone smaller parts if relevant (if the question is already 1 step, leave empty) Returns: Relevant SPARQL query examples, with the question they answer and the endpoint to run them on
ParameterTypeDescription
question *string
steps *array
show_annotation_matrixheatmap of the reviewed proteins of a gene list by GO terms, keywords or Reactome pathways, for a quick functional overview. Opens on the `annotation_type` given, with terms filtered by `search`
ParameterTypeDescription
annotation_typeany
genes *array
organism_idinteger
searchstring
show_cell_lineShow a cell line of Cellosaurus to the user: identity (species, sex, age, disease, site), warnings when it is
ParameterTypeDescription
cell_line *string
show_gene_expressionShow where genes are expressed to the user, as a heatmap of anatomical entities and cell types by gene colored
ParameterTypeDescription
data_typeany
genes *array
gold_onlyboolean
organ_systemsboolean
searchstring
show_absentboolean
species_idinteger
show_gene_familyShow the history of the gene family of a protein from the OMA orthology database to the user: the species tree
ParameterTypeDescription
protein *string
show_lipidShow a lipid of SwissLipids to the user: its place in the lipid hierarchy (category > class > species >
ParameterTypeDescription
query *string
show_metanetxShow a chemical or a reaction of MetaNetX (MNXref namespace reconciling metabolic databases) to the user:
ParameterTypeDescription
query *string
show_ortholog_groupShow the OrthoDB ortholog group of a protein to the user: its phyletic profile (in how many species of each
ParameterTypeDescription
levelstring
query *string
show_protein_featuresNightingale tracks of domains, sites, PTMs, processing, topology, secondary structure and variants, zoomable along the sequence. Given `start` and `end` residues (e.g. 102 and 234, or only `start` for a mutation), the viewer opens zoomed on the region, highlighted on all tracks. Given `categories` (e.g. `["PTMs"]`), only them are shown when it opens
ParameterTypeDescription
accession *string
categoriesarray
endinteger
startinteger
show_protein_networkgraph connecting a protein list through 3 kinds of sourced relationships: directed regulations (activation, inhibition, or mixed when both are reported) from OmniPath with their resources, PubMed references and modification sites, physical interactions from IntAct (via UniProtKB), and Reactome pathway membership. It shows the best supported paths from a source to a target protein (highest minimum evidence, then shortest), and the feedback edges going back upstream with the loop they close. Proteins not listed are added when they connect 2 listed ones. Each relationship links to its source records: OmniPath records and sites, PubMed references with the resources citing them, IntAct evidence (PSI-MITAB) and UniProtKB interactions, Reactome pathways, and the queries of all the data used. Drawn with Cytoscape.js, in layers following the signal from the source
ParameterTypeDescription
genes *array
max_linkersinteger
organism_idinteger
sourcestring
targetstring
show_protein_structureAlphaFold model colored by pLDDT, or a PDB entry, in Mol\* (PDBe Molstar), next to the features list: clicking one highlights its residues. Residues can be highlighted from the start, e.g. a mutation, and the list filtered by `category` and `search`
ParameterTypeDescription
accession *string
categoryany
pdb_idstring
positionsarray
searchstring
show_protein_variantsdisease and natural variants from the EBI Proteins API positioned on the sequence next to the domains, filterable by consequence, clinical significance, evidence and disease, with links to ClinVar, dbSNP and PubMed. Given `start` and `end` residues, it opens zoomed on the region like the features viewer, and the table lists the variants in view. The model can give the filters checked when it opens: `significance` (e.g. `["Pathogenic", "Likely pathogenic"]`), `consequence`, `evidence`, `disease` (matched on part of the name) and a `search` text
ParameterTypeDescription
accession *string
consequencearray
diseasearray
endinteger
evidencearray
searchstring
significancearray
startinteger
show_reactionShow a Rhea biochemical reaction to the user: its atom map (atoms of each reactant colored in the products,
ParameterTypeDescription
reaction *string

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.6K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock and 3 more.
  • ✓No dynamic code executionScanned 53 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
Streamable HTTPsrc/sparql_llm/agent/main.py:64
Starts other programs
No calls that start other programs
Outbound network calls
50 callssrc/sparql_llm/agent/logs.py:40, src/sparql_llm/agent/webapp/assets/index-quqPNvA6.js:1, src/sparql_llm/agent/webapp/assets/index-quqPNvA6.js:67
Writes or deletes files
3 callssrc/sparql_llm/agent/main.py:230, src/sparql_llm/mcp_server.py:161, src/sparql_llm/utils.py:240
Lockfile
uv.lock and 3 more

Pattern matches on the source text of 53 files: places to read, not proof of what the code does at run time.

Releases

v0.1.4v0.1.4 · 21 Jan 20260.1.4 - 2026-01-21 🚜 Refactor Fix MCP deployment dependencies, make the experimental agent flow that uses MCP tools work - (9435c64) Improve handling of endpoints metadata to lazy load them - (560a5d9) Refactor: improve handling of…
v0.1.3v0.1.3 · 20 Jan 20260.1.3 - 2026-01-20 ⚙️ Continuous Integration Improve the compose setup to enable deploying dev with a simple `docker compose up` and prod with `podman compose -f compose.prod.yml up` - (e4c74fa) Remove py 3.10, add 3.14 from test workflow…
v0.1.2v0.1.2 · 14 Oct 20250.1.2 - 2025-10-14 ⚙️ Continuous Integration Update actions versions - (8a9b2c5) ⛰️ Features Feat: use stdio by default when starting MCP server alone feat: enable to provide settings such as endpoints list through a custom JSON file when…
v0.1.1v0.1.1 · 7 Oct 20250.1.1 - 2025-10-07 ⚙️ Continuous Integration Add release.sh script and improve docs - (ce4aa58) ⛰️ Features Use stdio by default when starting MCP server alone - (12754c8) 🛠️ Miscellaneous Tasks Fix dependency issue - (ef5ea39)
v0.1.0v0.1.0 · 6 Oct 20250.1.0 - 2025-10-06 ⚙️ Continuous Integration Improve test and release workflow, add pre-commit, and fmt for 3.10 - (b124ee2) ⛰️ Features Improve MCP integration, still need to fix how its called from the main expasy-agent - (7b62fd1)…

README

The repository's README runs to about 2.6K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Sparql LLM

How do I install Sparql LLM?

Run uvx sparql-llm, then add the server to your MCP client's configuration.

Is Sparql LLM safe to use with an AI agent?

Its trust score is 85 out of 100 (strong). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 53 source files found that it serves MCP over Streamable HTTP, makes outbound network calls (50 calls) and writes or deletes files (3 calls). Its dependencies are pinned by uv.lock and 3 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sparql LLM still maintained?

Yes — the last commit was 3 days ago. The repository has 134 stars and 27 forks and 4 open issues.

What tools does Sparql LLM provide?

Conduid read 18 tools from the source: access_sib_biodata_sparql, execute_sparql_query, search_proteins_table, search_resources, search_sparql_classes, search_sparql_examples, show_annotation_matrix, show_cell_line and 10 more. 18 of them publish their parameters, listed under Tools above.

What license is Sparql LLM released under?

The repository declares the MIT license. That applies to the latest release, v0.1.4, as well.