Skip to content
Eden Engine

UniProt SPARQL Query: Proteins, Taxonomy and Citations (UniProt)

uniprot/sparql-query

Runs a SPARQL 1.1 SELECT or ASK query against UniProt's SPARQL endpoint (sparql.uniprot.org, the RDF triple store, not the UniProt REST API), covering protein entries, sequences, annotations, cross-references to other databases, taxonomy and citations, and returns the SPARQL-JSON result: the variable names in `head.vars` and one object per row in `results.bindings`. CONSTRUCT and DESCRIBE queries are not supported. Always include a LIMIT: broad or unbounded queries over the full dataset can run past the time allowed and fail, and a large result set makes a large response. UniProt data, licensed CC BY 4.0, passed through unmodified and served by Eden Engine; not an official UniProt product.

activeper callv2

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

UniProt Consortium

Data from the UniProt Consortium (UniProt), licensed under Creative Commons Attribution 4.0 International (CC BY 4.0, https://creativecommons.org/licenses/by/4.0/). Credit: UniProt Consortium. Served by Eden Engine; not an official UniProt product.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "uniprot/sparql-query" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "uniprot/sparql-query" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "uniprot/sparql-query", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "uniprot/sparql-query", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "pattern": "^(?![\\s\\S]*(?:(?:^|[^A-Za-z?$:])[Ss][Ee][Rr][Vv][Ii][Cc][Ee](?![A-Za-z0-9_.-]*:)|\\\\[uU]))[\\s\\S]*$",
      "maxLength": 4000,
      "minLength": 1,
      "description": "A SPARQL 1.1 query, including its PREFIX lines. Example: PREFIX up: <http://purl.uniprot.org/core/> SELECT ?protein WHERE { ?protein a up:Protein . ?protein up:mnemonic 'A4_HUMAN' } LIMIT 10. Always end with a LIMIT. SERVICE clauses and backslash-u/U escapes are refused; the word service is also refused inside string literals, so use a regex on a different spelling or a STR comparison."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "head"
  ],
  "properties": {
    "head": {
      "type": "object",
      "properties": {
        "vars": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Result header. `vars` lists the variable names of a SELECT query.",
      "additionalProperties": true
    },
    "boolean": {
      "type": "boolean",
      "description": "The answer to an ASK query."
    },
    "results": {
      "type": "object",
      "properties": {
        "bindings": {
          "type": "array",
          "items": {
            "type": "object",
            "additionalProperties": true
          },
          "description": "One object per row, keyed by variable name. Each value has `type` (uri or literal) and `value` (always a string), and a typed literal also has `datatype`."
        }
      },
      "description": "Present for a SELECT query.",
      "additionalProperties": true
    }
  },
  "description": "The SPARQL-JSON result document returned by the UniProt endpoint.",
  "additionalProperties": true
}