Yet Sparql Mcp Server
Type: server
Category: research-and-data
Author: Temkit Sid-Ali
Language: Python
Tags: yet,mcp,sparql
Description: MCP SPARQL Server is a high-performance, configurable server that connects to any SPARQL endpoint and provides enhanced functionality including result formatting and caching. It's built on top of the MCP (Message Carrying Protocol) framework to provide a seamless, language-agnostic interface for querying semantic data.


Tools:
Server command: SPARQL_ENDPOINT={SPARQL_ENDPOINT} SPARQL_TIMEOUT={SPARQL_TIMEOUT} SPARQL_MAX_RESULTS={SPARQL_MAX_RESULTS} SPARQL_CACHE_ENABLED={SPARQL_CACHE_ENABLED} SPARQL_CACHE_TTL={SPARQL_CACHE_TTL} SPARQL_CACHE_MAX_SIZE={SPARQL_CACHE_MAX_SIZE} SPARQL_CACHE_STRATEGY={SPARQL_CACHE_STRATEGY} PYTHONPATH={PYTHONPATH} python3 /path/to/server.py --endpoint https://data.legilux.public.lu/sparqlendpoint --format simplified --cache-enabled true --cache-ttl 300 --cache-strategy lru
Server configuration:
{
    "mcpServers": [
      {
        "name": "sparql",
        "command": "python3",
        "args": [
          "/path/to/server.py",
          "--endpoint",
          "https://data.legilux.public.lu/sparqlendpoint",
          "--format",
          "simplified",
          "--cache-enabled",
          "true",
          "--cache-ttl",
          "300",
          "--cache-strategy",
          "lru"
        ],
        "env": {
          "SPARQL_ENDPOINT": "https://data.legilux.public.lu/sparqlendpoint",
          "SPARQL_TIMEOUT": "30",
          "SPARQL_MAX_RESULTS": "1000",
          "SPARQL_CACHE_ENABLED": "true",
          "SPARQL_CACHE_TTL": "300",
          "SPARQL_CACHE_MAX_SIZE": "100",
          "SPARQL_CACHE_STRATEGY": "lru",
          "PYTHONPATH": "/path/to/project/directory"
        },
        "transport": "stdio"
      }
    ],
    "defaultServer": "sparql"
  }