关于
SPARQL Assistant is a Model Context Protocol (MCP) server designed to simplify the creation of SPARQL queries from natural language. Developed for the SIB Expasy portal, it automatically indexes metadata such as query examples and endpoint schemas (using VoID) from a configurable list of SPARQL endpoints. The server exposes an `/mcp` endpoint with specialized tools for accessing SPARQL resources, retrieving endpoint information, and executing queries. Additionally, an optional `/chat` endpoint allows for LLM-powered interaction, supporting various providers like Mistral and OpenAI, to streamline the query generation process and provide streaming responses.
主要功能
- Generates SPARQL queries from natural language input via an MCP server
- Automatically indexes metadata including query examples and VoID schemas from SPARQL endpoints
- Provides MCP tools for accessing SPARQL resources, retrieving information, and executing queries
- Offers an optional HTTP chat endpoint for LLM-driven query generation with streaming responses
- Supports integration with popular LLM providers (Mistral, OpenAI, Groq) and MCP clients like VSCode GitHub Copilot
- 1 GitHub stars
使用案例
- Assisting users of scientific portals like SIB Expasy in constructing complex SPARQL queries
- Enabling natural language interfaces for data exploration over diverse SPARQL endpoints
- Integrating AI-powered query generation into development environments via MCP clients