jitapi — Claude Code MCP server: what it does, how to install
jitapi turns an OpenAPI description into an agent-facing API interface, finding related endpoints and running calls in dependency order.
claude mcp add jitapi -e OPENAI_API_KEY=<OPENAI_API_KEY> -- uvx jitapiWhat jitapi does
jitapi connects an API through its OpenAPI description. It indexes the available endpoints, matches a natural-language request to relevant methods, and uses a dependency graph to find prerequisite calls. The agent receives the required schemas, passes values between steps, and invokes the API through MCP tools.
The server can register an API from a URL, list registered services, search endpoints, inspect endpoint schemas, and run individual calls. Several APIs can be registered together, allowing one service to provide data for a request to another. Local embeddings are used by default; Voyage AI, OpenAI, and Cohere are also supported.
The claude mcp add installation command includes OPENAI_API_KEY, while the local embedding mode works without an API key. API authentication is configured separately with a bearer token, a custom-header key, or a query-parameter key.
What it helps with
- connect an API from an OpenAPI specification
- find an endpoint from a plain-language request
- resolve prerequisites between API calls
- pass values from one workflow step to another
- configure authentication for a registered API
Example prompts for the agent
- Register the API from this OpenAPI URL in
jitapi, then show its available endpoints. - Find the endpoints needed to list my repositories and run the API calls.
- Use the registered APIs together: take the result from the first service and use it in a request to the second.
How to install jitapi
Platform CLI
claude mcp add jitapi -e OPENAI_API_KEY=<OPENAI_API_KEY> -- uvx jitapiReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from jitapi <command>
Platform CLI
codex mcp add jitapi --env OPENAI_API_KEY=<OPENAI_API_KEY> -- uvx jitapiReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from jitapi <command>
Config file
{
"mcpServers": {
"jitapi": {
"command": "uvx",
"args": [
"jitapi"
],
"env": {
"OPENAI_API_KEY": "<OPENAI_API_KEY>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from jitapi <command>
Config file
{
"servers": {
"jitapi": {
"type": "stdio",
"command": "uvx",
"args": [
"jitapi"
],
"env": {
"OPENAI_API_KEY": "<OPENAI_API_KEY>"
}
}
}
}Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from jitapi <command>
Platform CLI
gemini mcp add -e OPENAI_API_KEY=<OPENAI_API_KEY> jitapi uvx jitapiReplace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from jitapi <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about jitapi
How do I install jitapi in Claude Code?
Run claude mcp add jitapi -e OPENAI_API_KEY=<OPENAI_API_KEY> -- uvx jitapi. This adds the jitapi MCP server to Claude Code.
What does jitapi do?
It reads OpenAPI descriptions, indexes their endpoints, and selects methods that match a natural-language request. The server can then help the agent execute dependent API calls in sequence.
Which authentication methods does jitapi support?
It supports bearer tokens, API keys sent in custom headers, and API keys sent as query parameters. Secrets can be supplied through environment variables.