Free stock photos and videos
## Pexels MCP Server: Free Stock Photo Discovery The **Pexels MCP Server** integrates the popular free stock photo and video platform directly into Google Antigravity, enabling AI assistants to search, curate, and download high-quality visual content programmatically. This integration brings millions of free, high-resolution images and videos to your development workflow. ### Why Pexels MCP? - **Completely Free**: All content is free for commercial and personal use without attribution requirements - **High Quality**: Professionally curated photos and videos in high resolution - **Diverse Content**: Wide variety of categories from business to nature to technology - **Video Library**: Access free stock video clips alongside the photo library - **Regular Updates**: Thousands of new photos and videos added daily by contributors ### Key Features #### 1. Photo Search ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Find professional office workspace photos suitable for a business website header" }], tools=[{ "name": "pexels_photos", "description": "Search photo library" }] ) ``` #### 2. Video Search ```python # Search stock videos response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Find short technology-themed video clips for our product landing page" }], tools=[{"name": "pexels_videos", "description": "Search video library"}] ) ``` #### 3. Curated Collections ```python # Browse collections response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Show me curated collections related to remote work and home office" }], tools=[{"name": "pexels_collections", "description": "Browse curated collections"}] ) ``` #### 4. Popular Content ```python # Get trending content response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Get the most popular photos this month in the abstract category" }], tools=[{"name": "pexels_popular", "description": "Access popular content"}] ) ``` ### Configuration ```json { "mcpServers": { "pexels": { "command": "npx", "args": ["-y", "@anthropic/mcp-pexels"], "env": { "PEXELS_API_KEY": "your-pexels-api-key" } } } } ``` ### Use Cases **Web Design**: Find hero images, background photos, and visual content for websites and landing pages. **Marketing Materials**: Source high-quality visuals for social media, presentations, and marketing campaigns. **App Placeholders**: Generate realistic placeholder content during development with real stock photos. **Content Creation**: Build blog posts and articles with relevant, professional imagery. The Pexels MCP Server brings free professional stock content directly into your development workflow, enabling beautiful visual design without licensing complexity.
{
"mcpServers": {
"pexels": {
"mcpServers": {
"pexels": {
"env": {
"PEXELS_API_KEY": "your-api-key"
},
"args": [
"-y",
"pexels-mcp-server"
],
"command": "npx"
}
}
}
}
}