polyhaven-mcp
Enables AI assistants to search and retrieve metadata and download links for CC0 HDRIs, textures, and 3D models from PolyHaven's public library.
README
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.
Installation
Prerequisites
- Node.js (v16 or higher)
- npm
Setup
-
Clone this repository:
git clone https://github.com/RN0000/polyhaven-mcp.git cd polyhaven-mcp -
Install dependencies:
npm install -
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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.