cleanup_workspace
Delete all workspace files for the current connection and start fresh
How to use it
cleanup_workspace is exposed by the Orionbelt Analytics MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the cleanup_workspace tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Orionbelt Analytics
claude mcp add orionbelt-analytics http://localhost:9000/mcpOther tools in Orionbelt Analytics (26)
Add custom metadata triples to the RDF store
Apply LLM-suggested semantic names and descriptions to ontology
Connect to any supported database using .env credentials
Analyze schema structure with automatic GraphRAG + ontology generation
Download ontology or R2RML mapping as a Turtle file
Execute SQL with OBQC validation, security checks, and fan-trap detection
Generate Plotly charts (bar, line, scatter, heatmap) with MCP-UI rendering
Generate RDF/OWL ontology from schema with SQL mapping annotations
Retrieve a stored semantic model by name
Get detailed column, key, and constraint info for a specific table
Discover join paths between tables via graph traversal
Get optimized context for SQL generation (85-95% token reduction)
Semantic search + schema overview (auto-initialized by discoverschema)
List available schemas in the connected database
List all stored semantic models for the current connection
Load a custom .ttl ontology file from an import folder
Measure-capable tables for an anchor grain (one-to-many closure)
Advise a fan-trap-safe Composite Fact Layer (UNION ALL) decomposition
Execute SPARQL queries (SELECT, ASK, CONSTRUCT — auto-detected)
Dimension-capable tables for an anchor grain (many-to-one closure)
Clear cached schema and ontology data for the current session
Preview table data with row limit and injection protection
Save a semantic model (e.g., OBML YAML) to the workspace
Persist ontology in Oxigraph for SPARQL access
Detect abbreviations and cryptic names for business-friendly renaming