- LIVE DATA
- LOCATION
- PLANNING
- HUMAN
Short answer
How can I check material stock levels with my AI?
Your agent uses the get_material_stock tool to pull live availability from specific plants and storage locations in SAP S/4HANA. You'll get exact counts for any material you ask about. Here is how the data moves from your ERP to your chat.
The results you get.
Where your data lands.
The AI handles the SAP queries so you can focus on the numbers.
LIVE DATA
Real-time stock counts
The agent pulls current availability directly from SAP. You get the most recent numbers for any material you request.
LOCATION
Plant and storage views
The AI can filter results by specific plants or storage locations. This shows you exactly where your stock is sitting.
PLANNING
Supply chain insights
With instant access to stock levels, you can decide if you need to move inventory or trigger a reorder.
HUMAN
Manual inventory tasks
The AI only reads stock levels. You still need to log into SAP to perform physical counts or adjust inventory records.
The workflow
What your AI does when the request arrives.
The AI acts as a bridge between your natural language questions and the SAP S/4HANA database.
Identify material
The AI parses your message to find the specific material number or description you need.
get_material_stockQuery SAP
The agent calls the tool to fetch data from the ERP based on your specific parameters.
get_material_stockFilter locations
The AI organizes the returned data by plant or storage location to match your request.
get_material_stockReport availability
The agent translates the raw SAP data into a clear summary of what is on hand.
get_material_stock
Try it
Copy these to start.
Use these prompts to test the connection immediately.
Starting points
Swap out the material numbers and plant IDs for your own SAP data.
SAP S/4HANA Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_eqX5erHLdIAURtxCaYfxRaRdpIvxLK4SXtvRKzq9/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — SAP S/4HANA capabilities are ready to use.
{
"mcpServers": {
"sap-s4hana-mcp": {
"url": "https://edge.vinkius.com/vk_preview_eqX5erHLdIAURtxCaYfxRaRdpIvxLK4SXtvRKzq9/mcp"
}
}
}What is the current stock level for material 100-452?
Show me all available stock for plant 1010.
How much of material 'Steel Bolt' is in storage location 0001?
Check availability for material 50022 across all plants.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect SAP S/4HANA once, then ask.
Link your SAP credentials through Vinkius. Your login stays encrypted on our side, and you can start querying immediately.
Connect SAP S/4HANA to your AIFAQ
How this task behaves.
- 01
Can the AI change stock levels in SAP?
No. This MCP is read-only for stock levels. It cannot perform goods movements or adjust inventory.
- 02
Does the AI see all my SAP data?
No. The AI only accesses the specific data points provided by the get_material_stock tool.
- 03
Can I search for stock using a description?
Yes, if the material description is unique enough for the AI to identify the correct material in SAP.
- 04
Is the stock data real-time?
Yes. The AI queries SAP S/4HANA directly when you ask, so you aren't looking at a cached report.
- 05
Can the AI delete material records?
No. The AI has no capability to delete or modify any data within SAP S/4HANA.
More questions about SAP S/4HANA? See everything the SAP S/4HANA Connector can do
Connect SAP S/4HANA to Claude, Cursor, ChatGPT & more
