Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · News & Media

How to Use Poly Haven asset categories in Claude Code

Returns Poly Haven's category hierarchy for browsing the asset library. Use it to find the right branch for materials, environments, or props before searching for individual assets.

Prompts to try with Poly Haven asset categories in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use Poly Haven asset categories to retrieve the wood hierarchy, then adapt my project's material browser to display the returned categories.

Poly Haven asset categoriesClaude Code
Try asking
  • Use Poly Haven asset categories to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Poly Haven asset categories and tell me what changed since last week.

  • Check Poly Haven asset categories and summarize what you find in three bullet points.

  • Pull the newest data from Poly Haven asset categories and give me the result as a table.

How to set up Poly Haven asset categories in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Poly Haven asset categories

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "polyhaven-com/graphics-assets/list_categories",
        "input": {
          "type": "hdris"
        }
      }'

Then paste one of the prompts above: Claude Code finds Poly Haven asset categories on Spiral, shows the price and runs it.

Poly Haven asset categories providers and prices

Spiral runs Poly Haven asset categories through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
Poly Haven · List categories
polyhaven-com/graphics-assets/list_categories

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Typehdris, textures, or models

Asset type.

Levels1 to 6

Levels below the top (or below parent) to include; default 2.

Every API field of Poly Haven · List categories is on its tool page: open its card above.

What can you do with Poly Haven asset categories in Claude Code?

Build a Poly Haven asset picker that turns category browsing into scene-ready file choices. A coding agent can use the taxonomy, asset metadata, and download links to add that workflow to your project.

Build an asset browser

Organize a browser around Poly Haven categories, show matching assets, and retrieve download links when an artist chooses one.

Prepare an architectural scene

Browse material and furniture categories, shortlist wood textures and props, and collect the files needed for an interior render.

Source assets for a game environment

Use categories to organize an environment's material and prop requirements, find candidates, and retrieve selected model and texture files.

Assemble a rendering research dataset

Select assets across category branches, collect their metadata, and retrieve file URLs for a dataset with documented material and object coverage.

Questions about Poly Haven asset categories in Claude Code

Can Claude Code use Poly Haven asset categories?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Poly Haven asset categories like any built-in tool.

How much does Poly Haven asset categories cost in Claude Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an Alexandria account to use Poly Haven asset categories in Claude Code?

No. Spiral runs Poly Haven asset categories on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Poly Haven asset categories in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Poly Haven asset categories runs?

Poly Haven asset categories runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

What does Poly Haven cover?

Poly Haven covers three types of 3D assets: HDRIs, textures, and models. Asset metadata includes tags, categories, authors, and dimensions.

How often does Poly Haven add assets?

Poly Haven says it publishes about one new public asset per weekday. Vault collections are released separately when their funding goals are reached.

What resolution does Poly Haven offer?

Poly Haven describes its HDRIs as 16K or higher and unclipped, and its photoscanned PBR textures as at least 8K. The downloadable files are organized by resolution and format.

Does a broad category include its subcategories?

Yes. Poly Haven's taxonomy is a tree for each asset type, and filtering by a parent category includes assets nested beneath it.

Does Poly Haven guarantee the metadata is complete?

No. Its API terms explicitly disclaim warranties about accuracy, completeness, and reliability, including the data and assets.

Get started

Start using Poly Haven asset categories in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options