tteg
Unsplash without registration. Search and save real stock photos with zero API keys.
tteg
Unsplash stock photos without registration or API keys.
uv tool install tteg
tteg save "startup office" ./public/hero --orientation landscape
# → saves a real photo to ./public/hero.jpg
No Unsplash app. No API key. No .env files. Just photos.
Why this exists
Unsplash has 4M+ free photos. To use them programmatically you need to register a developer account, create an application, and manage API keys. Their official JavaScript library was archived in 2024.
tteg handles all of that server-side. You get a CLI, an HTTP API, an MCP server, and an embeddable widget — all with zero setup.
Install
uv tool install tteg
# or: pip install tteg
Use
Search — get image URLs:
tteg "coffee shop" -n 3 --orientation landscape
Save — download one photo into your project:
tteg save "modern office" ./public/hero --orientation landscape
Batch — fill an entire landing page from a JSON manifest:
tteg batch landing-page-images.json
[
{"query": "startup office", "output": "./public/hero", "orientation": "landscape"},
{"query": "developer portrait", "output": "./public/founder"},
{"query": "team meeting", "output": "./public/team", "orientation": "landscape"}
]
HTTP API (no install needed)
curl "https://tteg-api-53227342417.asia-south1.run.app/search?q=coffee+shop&n=3"
No headers. No auth. CORS enabled. Try it live →
Parameters: q (query), n (count, 1-10), orientation (landscape/portrait/square/any), width, height
MCP server
For Claude Code, Cursor, or any MCP host:
{
"mcpServers": {
"tteg": {
"command": "uvx",
"args": ["tteg-mcp"]
}
}
}
Tools: search_images, save_image, search_and_save_image, batch_save_images
Embed widget
Drop into any HTML page:
<div data-tteg="coffee shop" data-count="3"></div>
<script src="https://tteg.kushalsm.com/embed.js"></script>
Options
| Flag | Default | Description |
|---|---|---|
-n, --count | 5 | Number of results (1–10) |
--orientation | any | landscape, portrait, square, or any |
--width | — | Max width in pixels |
--height | — | Max height in pixels |
Starter kit
Copy-paste blocks for CLAUDE.md and AGENTS.md: STARTER_KIT.md
Links
- tteg.kushalsm.com — landing page
- Try it live — search from your browser
- PyPI —
pip install tteg - Free tier: 50 queries/day per IP
Servidores relacionados
Marketplace Search MCP
Search trading cards (TCGPlayer), music gear (Reverb), and local service pros (Thumbtack) from one MCP server. Real-time prices, ratings, and listings.
APLCart MCP Server
An MCP server providing semantic search capabilities for APLCart data.
Rijksmuseum MCP Server
Explore the Rijksmuseum's art collection using natural language.
Adzuna Job Search MCP
MCP server for Adzuna Job Search API - search jobs, analyze salaries, and research employers across 12 countries
Simple Files Vectorstore
Provides semantic search across local files by creating vector embeddings from watched directories.
Search and Book 3M hotels worldwide
Official. Hosted. Free. MCP to connect your AI agent to 3M+ hotels worldwide. Search and book!
eBird MCP Server
Query rich bird observation data from the eBird API using natural language.
MTG MCP Servers
Magic: The Gathering (MTG) servers for deck management and card search using the MCP protocol.
Pixabay MCP Server
Search and retrieve royalty-free images and videos using the Pixabay API.
HeadHunter
An MCP server for the HeadHunter API, focusing on job seeker functionalities.