Skip to main content
Glama
polyhaven-mcp

polyhaven-mcp

by RN0000

PolyHaven MCP Server

An Model Context Protocol (MCP) server that provides agents and AI assistants access to the PolyHaven 3D asset library.

This server allows you to search, query, and retrieve download links for high-quality, CC0 HDRIs, textures, and 3D models directly through your AI assistant.

Features

This server exposes several tools that map directly to the PolyHaven public API:

  • get_asset_types: Lists available asset types (hdris, textures, models).

  • search_assets: Search for assets, optionally filtered by type and categories.

  • get_asset_info: Retrieve detailed metadata and information about a specific asset by its ID.

  • get_asset_files: Get a list of files for a specific asset, including direct download URLs for various formats and resolutions.

  • get_categories: View available categories for a given asset type (and their asset counts).

  • get_author_info: Retrieve information about a specific author.

Related MCP server: Blendkit MCP Server

Installation

Prerequisites

  • Node.js (v16 or higher)

  • npm

Setup

  1. Clone this repository:

    git clone https://github.com/RN0000/polyhaven-mcp.git
    cd polyhaven-mcp
  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build

Usage with MCP Clients

To use this server with an MCP-compatible client (such as Claude Desktop or Antigravity), you need to configure your client to launch the server.

Example Configuration

Add the following to your MCP client's configuration file:

{
  "mcpServers": {
    "polyhaven": {
      "command": "node",
      "args": [
        "/absolute/path/to/polyhaven-mcp/build/index.js"
      ]
    }
  }
}

Make sure to replace /absolute/path/to/polyhaven-mcp/build/index.js with the actual path to the compiled index.js file on your system.

Regarding API Usage

While this MCP server helps you connect to PolyHaven's API, this project is not affiliated with, endorsed by, or officially connected to PolyHaven in any way.

PolyHaven is generous enough to offer their API for free when used for non-commercial projects and academic research. If you're building something commercial, you'll need to reach out to them for a custom license or sponsorship. Be sure to check out PolyHaven's Terms of Service to make sure you're abiding by their terms of Service.

License

This project is licensed under the ISC License. See the package.json for more details. PolyHaven's assets are distributed under the CC0 license.

Available Tools

6 tools
get_asset_filesB

File list for a specific asset, providing URLs to download the actual files.

Inputs: id (required).

get_asset_infoC

Information about an individual asset.

Inputs: id (required).

get_asset_typesA

List of asset types available (e.g., hdris, textures, models).

Inputs: no named parameters.

get_author_infoC

Information about a specific author.

Inputs: id (required).

get_categoriesB

A list of available categories for a specific asset type.

Inputs: type (required), in.

search_assetsC

Returns a list of assets, optionally filtered by type and categories.

Inputs: type, categories.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updatesv1.0.0
    • First observedget_asset_files
    • First observedget_asset_info
    • First observedget_asset_types
    • First observedget_author_info
    • First observedget_categories
    • First observedsearch_assets

TDQS

A3.5/5.0

Scored across 6 tools

Disambiguation5/5

Each tool serves a unique purpose: searching assets, retrieving asset info, files, types, categories, and author info. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with underscores, either 'get_' or 'search_', which clearly indicates the action.

Tool Count5/5

6 tools is an appropriate size for the domain, covering essential operations without being overly numerous or sparse.

Completeness5/5

The tool set covers key operations for an asset library: search, asset details, file downloads, and metadata (types, categories, authors). No obvious gaps for read-only usage.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables searching, retrieving, and managing CC0 GLB 3D models and asset packs, including listing categories, tags, licenses, demos, and submitting or updating assets with API key authentication.
    20
    50 npm
    3
    Creative Commons Zero v1.0 Universal
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI assistants to search many 3D asset sites at once, inspect licences and metadata, and download selected models, materials, textures, HDRIs, or game asset packs directly into a project.
    337
    Apache 2.0