export_library_json
Export your full Spotify library—saved tracks, albums, shows, episodes, audiobooks—to local JSON or CSV files. Respects per-type fetch caps and reports truncation when limits apply.
Instructions
Export your full library (saved tracks, albums, shows, episodes, audiobooks) to a local directory as JSON or CSV sidecar files. Respects SPOTIFY_MCP_FETCH_ALL_CAP per type; when capped, reports cap_reached + truncated and a prose footer ("first N of … — raise SPOTIFY_MCP_FETCH_ALL_CAP").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: json (single file) or csv (one file per type) | json |
| output_dir | No | Local directory to write into, confined to the output root (default ~/.spotify-mcp/portability, set SPOTIFY_MCP_PORTABILITY_DIR to move it) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |