Skip to main content

Basic Usage Examples

Practical examples showing how to use Tokencraft with Claude. Start with the connection test above, then try these patterns.

Common Questions New Users Ask

”How do I find token IDs?”

Don’t worry about IDs! Use these helper tools first:
  • list_resources - Shows everything with IDs
  • find_tokens_by_type - Search by type (color, spacing, etc.)
  • search_tokens - Search by name or value

”What’s the difference between tokensets and modes?”

  • Tokenset: A collection of related tokens (Colors, Typography, Spacing)
  • Mode: Different values for the same tokens (Light/Dark themes, Compact/Regular sizing)

“How do I export for my specific platform?”

Ask Claude directly:
  • “Export as CSS variables”
  • “Generate iOS Swift colors”
  • “Create Android XML colors”
  • “Give me JSON format”

Test the Connection

Start with the basics to make sure everything works:
If you see your workspaces, you’re connected! 🎉

Progressive Examples

Start simple, then go deeper:

1. Find Something Specific

2. Explore Your System

3. Get Technical Details

4. Export for Development

Deep Dive Examples

List Workspaces

Explore a Workspace

View a Tokenset

List Tokens

Searching Tokens

By Name

By Type

By Value

Exporting Tokens

Export as CSS

Copy this to your project’s CSS file.

Export Multiple Formats

CSS Export:

Analyzing Your Design System

Token Statistics

Compare Modes