Oxigraph MCP Server logo

Oxigraph MCP Server

by identimoji

A Model Context Protocol (MCP) server for Oxigraph, a fast and lightweight RDF triple store with SPARQL support. It provides a Claude-friendly wrapper for accessing PyOxigraph through the Model Context Protocol.

View on GitHub

Last updated: N/A

What is Oxigraph MCP Server?

Oxigraph MCP Server is a Model Context Protocol server that provides a Claude-friendly interface to the PyOxigraph Python bindings for the Oxigraph RDF triple store. It allows you to easily store, query, and manage RDF data within Claude.

How to use Oxigraph MCP Server?

Install the server using uv pip install mcp-server-oxigraph. Then, configure your Claude Desktop MCP settings to point to the server. You can optionally set the OXIGRAPH_DEFAULT_STORE environment variable to specify a default database location. Use the provided API functions to interact with the RDF data.

Key features of Oxigraph MCP Server

  • Direct PyOxigraph access

  • Multiple store management

  • Comprehensive RDF support

  • Full SPARQL implementation

  • Rich serialization options

Use cases of Oxigraph MCP Server

  • Quickly building knowledge bases

  • Prototyping semantic applications

  • Schema development

  • Local data storage

FAQ from Oxigraph MCP Server

What is Oxigraph?

Oxigraph is an open-source RDF triple store implemented in Rust, known for its speed, low memory footprint, and full SPARQL support.

How do I set a default database?

You can set the OXIGRAPH_DEFAULT_STORE environment variable to specify the location of the default Oxigraph database file.

What RDF formats are supported?

The server supports Turtle, N-Triples, N-Quads, TriG, RDF/XML, and N3 formats.

Do I need to create a default store?

No, the system default store is automatically created. The user default store is created if the OXIGRAPH_DEFAULT_STORE environment variable is set.

How do I query the data?

Use the oxigraph_query function with a SPARQL query string. You can optionally specify a store_path to query a specific store.