MCP server for querying SPARQL endpoint
Project description
MCP Server SPARQL
A Model Context Protocol (MCP) server that provides tools for querying SPARQL endpoints.
Usage
Example usage for querying a single SPARQL endpoint or multiple endpoints defined in a configuration file.
uvx
"mcpServers": {
"mcp-server-sparql": {
"command": "uvx",
"args": ["mcp-server-sparql", "--endpoint", "https://query.wikidata.org/sparql"],
}
}
To load multiple endpoints from a configuration file:
"mcpServers": {
"mcp-server-sparql": {
"command": "uvx",
"args": ["mcp-server-sparql", "--config", "config.json"],
}
}
Tool: query
Execute a SPARQL query against the configured endpoint.
Parameters:
query_string: A valid SPARQL query string
Returns:
- The query results in JSON format
For configuring multiple endpoints see docs/config.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_sparql_9k-0.1.0.tar.gz.
File metadata
- Download URL: mcp_server_sparql_9k-0.1.0.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea0d963b7ceb987f272051dc85ab26f02dfd5718cad57a6f71cb672c9aa9de53
|
|
| MD5 |
8200eaf63e10477a76533a1bb86311f1
|
|
| BLAKE2b-256 |
fa73236fe338ef8b0552809e3a6e8be95abd40ea8f7669b3502000c324b6bf56
|
File details
Details for the file mcp_server_sparql_9k-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_sparql_9k-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab695fe614216855566b49b541207b4e464985b3d247a5580ed5099e8d077b6d
|
|
| MD5 |
786faab7ea3cab6b9199ac2c41b10f95
|
|
| BLAKE2b-256 |
a6778b66d42f0e020da01daba7c05acbf010267fcd6a1dfd97a9e23895d8f7c5
|