Skip to main content
Glama
hedging8563

TokenLab Model Explorer

by hedging8563

TokenLab OpenAI Apps Model Explorer

CI MCP

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.

Deploy with Vercel

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.

Related MCP server: OpenRouter MCP Server

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.json

  • https://api.tokenlab.sh/pricing.json

  • https://api.tokenlab.sh/integrations.json

  • https://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.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Provides AI assistants with real-time access to 1000+ AI models including their latest pricing, context windows, capabilities, and specifications. Supports model search, comparison, recommendations, and live testing.
    Last updated
    3
    220
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to 400+ AI models from OpenRouter, enabling users to chat with models like GPT-4, Claude, Gemini, and Llama, compare responses across multiple models, and retrieve model information with pricing details.
    Last updated
    4
    14
    13
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to real-time LLM pricing, speed metrics, and performance benchmarks for over 300 models from Artificial Analysis. It enables users to list, filter, and compare models based on costs, tokens per second, and intelligence indices.
    Last updated
    2
    5
    5
    MIT

View all related MCP servers

Related MCP Connectors

  • Live status, API pricing and rate limits for ChatGPT, Claude, Gemini, Cursor and 42+ AI tools.

  • Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.

  • One API key for 6 AI models. Pay-per-use. MCP protocol support with web search.

View all MCP Connectors

Latest Blog Posts

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/hedging8563/tokenlab-openai-apps-model-explorer'

If you have feedback or need assistance with the MCP directory API, please join our Discord server