Metadata-Version: 2.4
Name: mcp-server-sparql
Version: 0.1.0
Summary: MCP server for querying SPARQL endpoint
Author-email: Eric Zhu <ekzhu@users.noreply.github.com>
License: MIT
License-File: LICENSE
Keywords: mcp,sparql
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.10
Requires-Dist: mcp>=1.6.0
Requires-Dist: sparqlwrapper>=2.0.0
Description-Content-Type: text/markdown

# MCP Server SPARQL

A Model Context Protocol (MCP) server that provides tools for querying SPARQL endpoints.

## Usage

Example usage for querying the Wikidata SPARQL endpoint.

### uvx

```json
"mcpServers": {
  "mcp-server-sparql": {
    "command": "uvx",
    "args": ["mcp-server-sparql", "--endpoint", "https://query.wikidata.org/sparql"],
  }
}
```

### 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
