TokenLab Model Explorer
Enables browsing TokenLab models, comparing pricing, and generating cURL examples for various AI endpoints.
README
TokenLab OpenAI Apps Model Explorer
Lightweight TokenLab Model Explorer prototype for ChatGPT/OpenAI Apps SDK. It exposes an MCP Streamable HTTP endpoint plus an interactive MCP Apps widget for:
- browsing TokenLab models from
/models.json - comparing pricing from
/pricing.json - generating copyable examples for Chat Completions, Responses, Anthropic Messages, and Gemini
generateContent
This repository is intentionally small so it can be used as a public discoverability asset and a starting point for a hosted ChatGPT app.
Live MCP endpoint: https://tokenlab-model-explorer.vercel.app/mcp
Run locally
npm install
npm test
npm start
The server listens on http://localhost:8000.
- MCP endpoint:
http://localhost:8000/mcp - Widget preview:
http://localhost:8000/widget
For ChatGPT local testing, expose the MCP endpoint with a tunnel such as ngrok, then add the /mcp URL as a connector in ChatGPT developer mode.
The Express app is also exported as the default module, so Vercel can deploy this repository without a custom adapter.
Environment
TOKENLAB_API_BASE=https://api.tokenlab.sh
PORT=8000
Tools
| Tool | Purpose |
|---|---|
open_tokenlab_model_explorer |
Browse TokenLab models by category or search query. |
compare_tokenlab_models |
Compare pricing metadata for up to 8 model IDs. |
generate_tokenlab_endpoint_example |
Generate cURL snippets for OpenAI-compatible and native TokenLab endpoints. |
Discovery inputs
https://api.tokenlab.sh/models.jsonhttps://api.tokenlab.sh/pricing.jsonhttps://api.tokenlab.sh/integrations.jsonhttps://docs.tokenlab.sh/openapi.json
Notes
- This app does not require a TokenLab API key for discovery tools.
- Inference tools should use
@tokenlab/mcp-server; this repo focuses on model exploration and endpoint examples. - The widget follows the MCP Apps pattern: tools are registered with UI metadata, and the HTML resource is served as an MCP app resource.
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.