get_exercise
Pack: wger · Endpoint: https://gateway.pipeworx.io/wger/mcp
Get detailed information for a specific exercise by its numeric ID.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | The numeric wger exercise ID. |
Example call
Arguments
{
"id": 1
}
curl
curl -X POST https://gateway.pipeworx.io/wger/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_exercise","arguments":{"id":1}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_exercise', {
"id": 1
});
More examples
{
"id": 42
}
Response shape
Always returns: id, name, description, category, muscles, muscles_secondary, equipment
| Field | Type | Description |
|---|---|---|
id | number | Exercise ID |
name | string | Exercise name |
description | string | Exercise description (HTML stripped) |
category | string | null | Exercise category name or null |
muscles | array | Primary muscles targeted |
muscles_secondary | array | Secondary muscles targeted |
equipment | array | Equipment required |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Exercise ID"
},
"name": {
"type": "string",
"description": "Exercise name"
},
"description": {
"type": "string",
"description": "Exercise description (HTML stripped)"
},
"category": {
"type": [
"string",
"null"
],
"description": "Exercise category name or null"
},
"muscles": {
"type": "array",
"items": {
"type": "string"
},
"description": "Primary muscles targeted"
},
"muscles_secondary": {
"type": "array",
"items": {
"type": "string"
},
"description": "Secondary muscles targeted"
},
"equipment": {
"type": "array",
"items": {
"type": "string"
},
"description": "Equipment required"
}
},
"required": [
"id",
"name",
"description",
"category",
"muscles",
"muscles_secondary",
"equipment"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"wger": {
"url": "https://gateway.pipeworx.io/wger/mcp"
}
}
}
See Getting Started for client-specific install steps.