ctx
(Context): The FastMCP context object.
How to use it
ctx is exposed by the MCP Rdf Explorer MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the ctx tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Rdf Explorer
$
pip install -r requirements.txtOther tools in MCP Rdf Explorer (11)
count_triples
endpoint
(str): The SPARQL endpoint URL to query.
execute_on_endpoint
full_text_search
get_mode
graph_stats
health_check
query
(str): The SPARQL query to execute.
search_term
(str): The term to search for.
sparql_query
use_service
(bool): Whether to use a SERVICE clause for federated queries in local mode (default: True).