cosmos-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cosmos-mcpsearch images of Tokyo skyline at dusk"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cosmos-mcp
MCP server for searching cosmos.so. Returns direct CDN image URLs — no page scraping.
Used by TVLR to find destination photos for places.json.
Install
git clone https://github.com/vihaanshahh/cosmos-mcp.git
cd cosmos-mcp
npm installRelated MCP server: Wikimedia-Search-Images
Cursor / Claude Code
{
"mcpServers": {
"cosmos": {
"type": "stdio",
"command": "node",
"args": ["/path/to/cosmos-mcp/dist/index.js"]
}
}
}Tools
Tool | What it does |
| Search by keyword. Filter by color, content type, sort order. |
| Search curated boards. |
| Look up one element by ID or |
search_images
{
"query": "Tokyo skyline dusk",
"limit": 10,
"exclude_ai": true,
"order": "RELEVANT",
"color": "FF5500"
}Returns results[].media_id, thumbnail_url, image_url, caption.
get_element
{ "element_id": 1169598936 }Or pass a full share URL.
TVLR workflow
search_images({ query: "Porto azulejos tiles", exclude_ai: true })Pick a result → copy UUID from CDN URL → set as
cosmosIdinplaces.jsonURL pattern:
https://cdn.cosmos.so/<cosmosId>?format=webp&w=800
Dev
npm run build
npm run devNotes
No API key. Uses Cosmos's public GraphQL endpoint.
Not an official Cosmos API — same backend the website uses.
Typical search: ~300ms.
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vihaanshahh/cosmos-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server