{"id":42741563,"url":"https://github.com/jeffkit/unsplash-mcp-server","last_synced_at":"2026-01-29T19:00:01.683Z","repository":{"id":310986415,"uuid":"1042047123","full_name":"jeffkit/unsplash-mcp-server","owner":"jeffkit","description":"MCP server for Unsplash photo search","archived":false,"fork":false,"pushed_at":"2025-08-22T03:22:57.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-28T17:49:28.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeffkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-21T12:02:58.000Z","updated_at":"2025-08-22T03:23:01.000Z","dependencies_parsed_at":"2025-08-21T12:55:38.975Z","dependency_job_id":"5025646c-7e64-4e4c-95c8-22e604928439","html_url":"https://github.com/jeffkit/unsplash-mcp-server","commit_stats":null,"previous_names":["jeffkit/unsplash-mcp-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jeffkit/unsplash-mcp-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Funsplash-mcp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Funsplash-mcp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Funsplash-mcp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Funsplash-mcp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeffkit","download_url":"https://codeload.github.com/jeffkit/unsplash-mcp-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeffkit%2Funsplash-mcp-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28882590,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-29T19:00:01.028Z","updated_at":"2026-01-29T19:00:01.676Z","avatar_url":"https://github.com/jeffkit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unsplash MCP Server\n\n[English](README.md) | [中文](README_CN.md)\n\nA Model Context Protocol (MCP) server that provides photo search functionality using the Unsplash API with stdio transport.\n\n## Features\n\n- 🔍 Search photos on Unsplash with various filters\n- 📄 Support for pagination, orientation filtering, and content filtering  \n- 📊 Returns formatted photo data including URLs, user info, and metadata\n- 🖼️ Two response formats: base64-encoded images (default) or JSON with URLs\n- 🔗 Uses stdio transport for seamless MCP integration\n- ⚡ Command-line API key support for easy deployment\n- 🚀 Concurrent image fetching for optimal performance\n\n## Installation\n\n### From npm (Recommended)\n\n```bash\nnpm install -g @jeffkit/unsplash-mcp-server\n```\n\n### From source\n\n```bash\ngit clone https://github.com/jeffkit/unsplash-mcp-server.git\ncd unsplash-mcp-server\nnpm install\nnpm run build\n```\n\n## API Key Setup\n\nGet your Unsplash API access key:\n1. Visit https://unsplash.com/developers\n2. Create a new application  \n3. Copy your Access Key\n\n## Usage\n\n### Command Line\n\n```bash\n# Using command line argument (default: image format)\nnpx -y @jeffkit/unsplash-mcp-server --access-key YOUR_API_KEY\n\n# Using text format (returns JSON with URLs)\nnpx -y @jeffkit/unsplash-mcp-server --access-key YOUR_API_KEY --response-format text\n\n# Using environment variable  \nUNSPLASH_ACCESS_KEY=YOUR_API_KEY @jeffkit/unsplash-mcp-server\n\n# Show help\nnpx @jeffkit/unsplash-mcp-server --help\n```\n\n### MCP Client Integration\n\nAdd to your MCP client configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"unsplash\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@jeffkit/unsplash-mcp-server\", \"--access-key\", \"YOUR_API_KEY\"]\n    }\n  }\n}\n```\n\n#### Claude Code\nEspecially for Claude Code, use the following command to add the MCP server to the MCP server list:\n\n```bash\nclaude mcp add-json unsplash '{\"command\": \"npx\", \"args\": [\"-y\", \"@jeffkit/unsplash-mcp-server\", \"--access-key\", \"YOUR_API_KEY\"]}'\n```\n\nWith text format (JSON URLs):\n\n```json\n{\n  \"mcpServers\": {\n    \"unsplash\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@jeffkit/unsplash-mcp-server\", \"--access-key\", \"YOUR_API_KEY\", \"--response-format\", \"text\"]\n    }\n  }\n}\n```\n\nOr with environment variable:\n\n```json\n{\n  \"mcpServers\": {\n    \"unsplash\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@jeffkit/unsplash-mcp-server\"],\n      \"env\": {\n        \"UNSPLASH_ACCESS_KEY\": \"YOUR_API_KEY\"\n      }\n    }\n  }\n}\n```\n\n### Development\n\n```bash\nnpm run dev -- --access-key YOUR_API_KEY\nnpm run dev -- --access-key YOUR_API_KEY --response-format text\n```\n\n## Tools\n\n### search_photos\n\nSearch for photos on Unsplash with configurable response format.\n\n**Parameters:**\n- `query` (required): Search term for photos\n- `page` (optional): Page number (default: 1)\n- `per_page` (optional): Number of photos per page (default: 10, max: 30)\n- `orientation` (optional): Filter by orientation (\"landscape\", \"portrait\", \"squarish\")\n- `content_filter` (optional): Content safety filter (\"low\", \"high\")\n\n**Response Formats:**\n\n#### Image Format (Default)\nReturns base64-encoded images with metadata. Each image is returned as an MCP Image content type.\n\n#### Text Format  \nReturns JSON with photo URLs and metadata:\n\n```json\n{\n  \"total\": 1000,\n  \"total_pages\": 100,\n  \"current_page\": 1,\n  \"per_page\": 10,\n  \"results\": [\n    {\n      \"id\": \"photo_id\",\n      \"description\": \"Beautiful landscape\",\n      \"urls\": {\n        \"raw\": \"https://...\",\n        \"full\": \"https://...\",\n        \"regular\": \"https://...\",\n        \"small\": \"https://...\",\n        \"thumb\": \"https://...\"\n      },\n      \"user\": {\n        \"name\": \"Photographer Name\",\n        \"username\": \"username\"\n      },\n      \"dimensions\": {\n        \"width\": 3000,\n        \"height\": 2000\n      },\n      \"likes\": 100,\n      \"color\": \"#f0f0f0\",\n      \"created_at\": \"2023-01-01T00:00:00Z\"\n    }\n  ]\n}\n```\n\n## Response Format Configuration\n\nThe server can be configured at startup to return either:\n\n1. **Image format** (default): Base64-encoded images as MCP Image content with complete JSON metadata\n2. **Text format**: JSON with photo URLs and metadata as MCP Text content\n\nChoose the format based on your MCP client's capabilities and use case.\n\n## Changelog\n\n### v1.0.2\n- ✨ Added complete image URLs in metadata for image mode\n- 🔧 Use original Unsplash API response structure for data integrity\n- 📚 Added Gemini CLI configuration examples\n- 🌏 Added Chinese documentation\n\n### v1.0.1\n- 🐛 Various bug fixes and performance improvements\n\n### v1.0.0\n- 🎉 Initial release\n- 🔍 Basic Unsplash photo search functionality\n- 📊 Support for two response formats (image/text)\n- ⚡ stdio transport support","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffkit%2Funsplash-mcp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffkit%2Funsplash-mcp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffkit%2Funsplash-mcp-server/lists"}