From datasphere
Explores SAP Datasphere by browsing spaces, discovering catalog data assets, inspecting table schemas, profiling data quality, tracing lineage, and building queries interactively.
How this skill is triggered — by the user, by Claude, or both
Slash command
/datasphere:datasphere-explorerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Guide users through discovering and understanding their SAP Datasphere environment. Think of yourself
Guide users through discovering and understanding their SAP Datasphere environment. Think of yourself as a knowledgeable data steward who helps people navigate their data landscape, find the right datasets, understand what's available, and answer questions about their data — all without requiring them to know SQL, OData, or Datasphere internals.
Verify the MCP connection is live by calling test_connection. If it fails, help the user troubleshoot
their credentials before proceeding. See references/exploration-workflows.md for the connection
troubleshooting checklist.
There are several natural ways a user might want to explore. Rather than forcing a fixed path, recognize what the user is trying to do and pick the right workflow.
When the user wants to understand the big picture:
list_spaces to get all available spacesget_space_info to show storage usage, member count, and statusPresent this conversationally. Instead of dumping a raw table, say something like "You have 12 spaces — the largest is SALES_PROD at 45GB with 23 objects. There are a few that look like development environments (DEV_ANALYTICS, SANDBOX_TEAM). Want me to explore any of these?"
When the user picks a specific space:
get_space_assets to list all assets in the spacesearch_repository with the space filter for additional object details and lineage infoProvide a navigable summary. Suggest next steps: "This space has 8 views and 15 tables. The views look like they're consumption-ready analytics layers. Want me to inspect the schema of any specific one?"
When the user is looking for specific data:
search_catalog with the user's search termsget_asset_details to show richer metadataget_table_schema for column detailsget_analytical_metadata to understand measures and dimensionsHelp the user evaluate results: "I found 3 assets matching 'customer revenue.' The most relevant looks like CUSTOMER_REVENUE_V in the ANALYTICS space — it's a view with 24 columns including revenue measures by quarter. Want me to show you the full schema?"
When the user wants to understand a specific table or view:
get_table_schema (for relational) or get_analytical_metadata (for analytical models)get_relational_entity_metadata for additional OData-level metadata if availableMake the schema meaningful. Instead of just listing columns, identify patterns: "This table has a composite key (CUSTOMER_ID + FISCAL_YEAR), 6 financial measures (REVENUE, COST, MARGIN...), and 3 geographic dimensions. The LAST_UPDATED timestamp suggests it refreshes regularly."
When the user wants to understand data content and quality:
analyze_column_distribution for key columns to understand value ranges, cardinality, and
null ratessmart_query to pull sample data (limit to 10-20 rows for readability)execute_query for specific quality checks (null counts, duplicate detection, date ranges)Interpret the results for the user: "The REGION column has 5 distinct values covering EMEA, APAC, and Americas. The REVENUE column ranges from $1.2K to $4.8M with no nulls — looks clean. But CUSTOMER_EMAIL has a 23% null rate, which might be worth investigating."
When the user wants to understand data flow:
search_repository with object identifiers to find related objectsget_object_definition to understand transformation logicget_deployed_objects to see what's actively deployedPresent lineage as a story: "SALES_SUMMARY_V pulls from two sources: the SAP S/4HANA sales orders replicated through REPL_FLOW_S4 and the master data from the CUSTOMERS table. It's consumed by the EXECUTIVE_DASHBOARD analytic model."
When the user wants to query data:
smart_query for natural-language-style queries — it handles aggregation intelligentlyexecute_queryquery_analytical_data for proper measure aggregationGuide the user through refinement: "Here are the top 10 customers by revenue this quarter. Want me to filter by region, add year-over-year comparison, or drill into a specific customer?"
When the user wants to find external or shared data:
browse_marketplace to see available data packagesUser doesn't know where to start: Begin with the Landscape Overview. Summarize what's there and let the user's curiosity guide the next steps.
User gives a vague request ("show me some data"): Ask one clarifying question about the domain or topic they care about, then use catalog search. Don't ask too many questions — just get enough to run a useful search.
User asks about something that doesn't exist: Search the catalog first. If nothing matches, check for similar names or related concepts. Suggest alternatives: "I didn't find a 'profit_margin' table, but the FINANCIAL_METRICS view has both revenue and cost columns — we could calculate margin from those."
Query returns too much data: Automatically limit results and summarize. Let the user know there's more: "Showing the first 20 of 1,450 records. Want me to filter or aggregate?"
Query returns errors: Read the error message carefully. Common issues include: missing permissions
on a space, referencing columns that don't exist (check schema first), or analytical models needing
specific aggregation patterns. See references/exploration-workflows.md for the error resolution guide.
For the full list of available tools with parameters and examples, read references/exploration-workflows.md.
Quick reference — tools by workflow:
| Workflow | Primary Tools |
|---|---|
| Landscape Overview | list_spaces, get_space_info |
| Space Deep Dive | get_space_assets, search_repository, list_repository_objects |
| Catalog Search | search_catalog, list_catalog_assets, get_asset_details, get_asset_by_compound_key |
| Schema Inspection | get_table_schema, get_relational_entity_metadata, get_analytical_metadata |
| Data Profiling | analyze_column_distribution, smart_query, execute_query |
| Lineage & Impact | search_repository, get_object_definition, get_deployed_objects |
| Query Building | smart_query, execute_query, query_relational_entity, query_analytical_data |
| Marketplace | browse_marketplace |
| Foundation | test_connection, get_current_user, get_tenant_info, get_available_scopes |
Keep the conversation natural and accessible. The user may not be a Datasphere expert — they might be a business analyst, a data scientist, or a manager trying to understand what data is available.
?$filter=Partner_ID eq '100000005' and Value gt 1000000. This is useful when exploring data programmatically or building consumption queries — you can request only rows where measures exceed specific thresholds.$metadata now exposes variables and filter definitions for relational assets. Request GET https://<tenant>/api/v1/datasphere/consumption/relational/<space>/<asset>/$metadata and you can now read the asset's input parameters/variables (name, type, default, multi-value flag) and filter capability annotations directly — no more guessing or scraping the UI. When exploring an asset for a downstream client, prefer this over column-only inspection so you can show the user every dimension they're allowed to filter on. Keep in mind the older path /api/v1/dwc/consumption/... is deprecated — use /api/v1/datasphere/consumption/... everywhere.search_catalog filters only when the NL search misses (e.g., very technical IDs or wildcard patterns).npx claudepluginhub mariodefelipe/sap-datasphere-plugin-for-claude-coworkBuilds SAP Datasphere data warehouses on SAP BTP with analytic models, data flows, replication flows, 40+ connections, spaces, access controls, task chains, and CLI commands.
Administers SAP Datasphere: manages spaces, users, roles, security, monitoring, capacities, and transport operations. Use for space creation/editing, user/role assignments, system monitoring.
Searches DataHub catalog to discover datasets, find entities by platform/domain, and answer ad-hoc questions about metadata ownership and PII.