Skip to main content
Glama

maviapi MCP server

Give Claude, Cursor, or any MCP client live, structured JSON from websites that have no API: Booking.com, Airbnb, Tripadvisor, Kiwi.com, Trainline, Hepsiburada, Yemeksepeti and more, plus any site you ask for.

You:    Find me a 3-night Airbnb in Lisbon next month under €120 a night.
Claude: → search_apis "airbnb" → get_api "airbnb" → call_api airbnb/search {location: "Lisbon", …}
        Here are the 5 best-rated options under €120…

Agents are bad at the web. Browsing is slow, burns tokens on raw HTML, and stalls on bot protection; hand-written scrapers break the next time the site changes its layout. maviapi turns a website into a hosted, schema-first JSON API, and monitors and repairs it when the site changes, so the endpoint your agent depends on keeps answering. This server puts those APIs one tool call away.

Works with no setup. Out of the box it uses maviapi's shared demo key: 30 requests a minute and 300 a day per network, plus 3 free API builds per 30 days. Create a free key for more.

Missing a site? Your agent can start a draft. create_api hands maviapi's build agent a URL and a description of the data you want. Follow progress with get_build_status, then review and publish the draft from your account before calling the public API. Build duration depends on the site and requested endpoints.

Install

Hosted: paste a URL, sign in

The same tools are hosted at https://mcp.maviapi.com/mcp, so nothing needs installing. In Claude or ChatGPT, add it as a custom connector and sign in to maviapi; calls use your plan's credits and the connection shows up on your keys page. Coding tools take the URL too:

claude mcp add --transport http maviapi https://mcp.maviapi.com/mcp

To try it without an account, connect to https://mcp.maviapi.com/demo (search and call on the shared demo key, no builds). More clients: maviapi.com/docs#mcp.

The rest of this section runs the server locally from npm.

Gemini CLI

gemini extensions install https://github.com/kuzenlabs/maviapi-mcp

The extension connects to the hosted server and signs you in to maviapi the first time a tool runs.

Claude Code

Install it as a plugin from this repo's marketplace:

/plugin marketplace add kuzenlabs/maviapi-mcp
/plugin install maviapi@maviapi

The plugin reads MAVIAPI_API_KEY (and MAVIAPI_TOOLS) from your environment, so export your key before starting Claude Code to use it instead of the demo key.

Or add the server directly. Quote the package name so zsh doesn't offer to "correct" the @ scope away:

claude mcp add maviapi -- npx -y '@maviapi/mcp'

# with your own key
claude mcp add maviapi -e MAVIAPI_API_KEY=mvk_live_... -- npx -y '@maviapi/mcp'

Claude Desktop, Cursor, Windsurf, and others

Add this to the client's MCP config (claude_desktop_config.json, ~/.cursor/mcp.json, …):

{
  "mcpServers": {
    "maviapi": {
      "command": "npx",
      "args": ["-y", "@maviapi/mcp"],
      "env": { "MAVIAPI_API_KEY": "mvk_live_..." }
    }
  }
}

Leave out env to try it with the demo key.

VS Code

.vscode/mcp.json:

{
  "inputs": [{ "type": "promptString", "id": "maviapi-key", "description": "maviapi API key", "password": true }],
  "servers": {
    "maviapi": {
      "command": "npx",
      "args": ["-y", "@maviapi/mcp"],
      "env": { "MAVIAPI_API_KEY": "${input:maviapi-key}" }
    }
  }
}

Related MCP server: data-refinery

Tools

Tool

What it does

search_apis

Find an API for a website or topic ("flights", "turkish news", "booking.com"). Empty query lists the whole catalog.

get_api

An API's endpoints, their parameters, and the fields each one returns.

call_api

Call an endpoint and get live JSON back. List endpoints return 10 results unless you pass limit.

create_api

No API for the site you need? Starts a build from a URL and a plain-language description, and returns a request_id.

get_build_status

Where a build is: its phase, each endpoint with its test results or what went wrong, and what the build said last. wait_seconds returns as soon as something changes. A finished build is not public until it is published.

request_endpoint

Add one endpoint to an API that exists, or a changed version of one (it ships beside the old one, e.g. /search-v2). Previews first; confirm: true starts the build.

list_requests

Your API and endpoint requests, with their status.

send_request_message

Tell a build something in plain words: add detail, fix or drop a failed endpoint, try again.

call_draft

Call an endpoint of a draft before it is published. Costs no credits.

publish_request

Make a finished request live. Needs a key with the requests:publish permission.

cancel_request

Stop the build running for a request.

report_endpoint_issue

Report an endpoint that fails, comes back empty or repeats the same page. maviapi replays the call and checks the endpoint itself: a fault its own check confirms is repaired in place, the rest go to a person. You can report an API you have called with your own key. With no arguments it lists your reports.

get_key_info

What the configured key may do: permissions, plan, remaining credits, limits.

get_changelog

An API's versions, newest first, with what changed. call_api takes a version.

The request tools need your own API key with request permissions. A key only calls data APIs unless you turn permissions on when you create it on the keys page: "Start and manage builds" for asking, steering, cancelling and reporting, and "Publish builds" for publish_request. create_api works with any key. Every rule (who may publish, one build per API at a time with up to 3 requests in line, the daily limits) is enforced by maviapi, not by this server.

A handful of generic tools keeps the agent's context small however large the catalog grows. If you rely on a few APIs, MAVIAPI_TOOLS also exposes each of their endpoints as its own typed tool, with a full input schema:

claude mcp add maviapi -e MAVIAPI_TOOLS=booking,airbnb,kiwi -- npx -y '@maviapi/mcp'
# adds booking_search, booking_explore, airbnb_listing_by_id, kiwi_search, …

What you can ask

  • "Cheapest flights from Istanbul to Berlin any day in the first week of December?" (Kiwi.com, FlightList)

  • "Train or plane from London to Paris on Friday: which is cheaper?" (Trainline, Kiwi.com)

  • "Top-rated restaurants in Istanbul on Tripadvisor, with review counts."

  • "Bu hafta sonu İstanbul'da hangi konserler var?" (Bubilet)

  • "What are gold and silver trading at right now?" (Selcoin)

  • "What does 'serendipity' mean in Turkish? Give me every sense." (Sesli Sözlük)

search_apis with no query lists everything currently in the catalog. And for a site that is not there yet:

  • "Start an API build for news.ycombinator.com with front-page stories, points and comment counts."

And for an API that exists but lacks something:

  • "Tripadvisor has no endpoint for a hotel's reviews. Ask for one, tell me when it is ready, and show me a sample before you publish it."

Use your own account and API key when you need to review and publish a build from the dashboard. The shared demo key can start builds, but does not provide an owner dashboard session for them. If an API is already public, get_api and call_api use its current public build; a newly completed candidate may still await publication.

Configuration

Variable

Default

Purpose

MAVIAPI_API_KEY

shared demo key

Your key from the maviapi dashboard.

MAVIAPI_TOOLS

none

Comma-separated API slugs to expose as typed per-endpoint tools, or all.

MAVIAPI_BASE_URL

https://api.maviapi.com

Point at another maviapi deployment.

Pricing

Each successful call uses one credit; failed calls are free. Building an API is free on any plan, within the daily build limit (10 a day per account with your own key). New accounts start with a 7-day trial of 5,000 credits, no card required. Plans are on maviapi.com/pricing.

Development

pnpm install
pnpm test          # unit and protocol tests, offline
pnpm build
pnpm test:live     # smoke test of the built server against the real API
pnpm inspect       # open the MCP Inspector against the built server

License

MIT

Available Tools

5 tools
call_apiCall a maviapi endpointA
Read-only
Inspect

Fetch live, structured JSON from a website through a maviapi endpoint. api is the API slug (or domain), endpoint the endpoint name or path from get_api, and params its parameters, path parameters such as {id} included. List endpoints return 10 results unless you pass limit; page with offset. Each successful call uses one maviapi credit.

Inputs: api (required), endpoint (required), params.

create_apiBuild a new maviapi APIAInspect

Start an API draft for a website that no catalog API covers. maviapi's build agent studies the site and builds a JSON API from a plain-language description. This returns a request_id at once; follow it with get_build_status. Build completion does not publish the API. Use your own account and key to review and publish the draft in the dashboard. With the shared demo key each network gets 3 free builds per 30 days.

Inputs: url (required), description (required), build_anyway.

get_apiShow a maviapi APIA
Read-onlyIdempotent
Inspect

Show one maviapi API's endpoints: what each returns, its parameters (required ones marked), and the fields in the response. Accepts the API slug from search_apis, or the site's domain (e.g. "airbnb.com"). Read this before call_api.

Inputs: api (required).

get_build_statusCheck a maviapi buildA
Read-only
Inspect

Progress of a build started with create_api: queued, building, deploying, published, or failed. The build status published means the build completed, not that the API is publicly available. Checks catalog visibility separately; the owner reviews and publishes drafts in the dashboard. Check back every few minutes rather than in a tight loop.

Inputs: request_id (required).

search_apisSearch maviapi APIsA
Read-onlyIdempotent
Inspect

Find a ready-made maviapi API for a website or topic, e.g. "hotels", "flights", "booking.com" or "turkish news". maviapi turns websites that have no official API into structured JSON endpoints, and monitors and repairs them when the site changes. Leave query empty to list every API. Next step: get_api, to see an API's endpoints and parameters.

Inputs: query.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool maps to a distinct stage of one workflow: search_apis discovers, get_api inspects endpoints/params, call_api executes, create_api drafts a new API, and get_build_status polls a build. The descriptions explicitly spell out the handoffs (e.g. search_apis → get_api → call_api), so misselection is unlikely even between get_api and call_api.

    Naming Consistency5/5

    All names follow a consistent verb_noun snake_case pattern: search_apis, get_api, call_api, create_api, get_build_status. The get_* prefix is used coherently for read operations and create_ for mutation.

    Tool Count5/5

    Five tools is tightly scoped to the domain: discovery, schema inspection, execution, provisioning, and async status. No tool looks redundant and none feels padded.

    Completeness4/5

    The core discover→inspect→call and request→build→status workflows are covered. There is a gap at the end of the lifecycle: publishing a draft must happen in the dashboard, and there is no tool to update, delete, or manage created APIs, nor to check credits.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers