Skip to main content
Glama

JitAPI

PyPI PyPI Downloads License: MIT Python 3.10+

Claude를 모든 API에 연결하세요. JitAPI는 어떤 엔드포인트를 어떤 순서로 호출해야 하는지 자동으로 파악합니다.

JitAPI는 Claude가 OpenAPI 사양을 통해 모든 API와 상호작용할 수 있게 해주는 MCP 서버입니다. 수백 개의 엔드포인트를 컨텍스트에 덤프하는 대신, JitAPI는 의미론적 검색과 의존성 그래프를 사용하여 필요한 것만 노출하며, 이후 Claude가 호출을 계획하고 실행합니다.

https://github.com/user-attachments/assets/53f72f89-a41a-4a9c-a688-ec876ea05fbd


문제점

Stripe는 300개 이상의 엔드포인트를 가지고 있고, GitHub는 800개 이상입니다. 전체 사양을 Claude의 컨텍스트에 로드하면 토큰이 낭비되고 환각 현상이 발생합니다. 사용하는 모든 API에 대해 커스텀 MCP 서버를 작성하는 것은 확장성이 떨어집니다.

JitAPI가 이 문제를 해결합니다: OpenAPI 사양을 한 번 등록하면, 필요한 것을 자연어로 요청하기만 하면 됩니다. JitAPI가 올바른 엔드포인트를 찾고, 그들 간의 의존성을 해결하며, Claude가 호출을 실행할 수 있도록 합니다.

Related MCP server: OpenAPI to MCP

빠른 시작

pip install jitapi

Claude Code 설정(.mcp.json)에 추가하세요:

{
  "mcpServers": {
    "jitapi": {
      "command": "uvx",
      "args": ["jitapi"]
    }
  }
}

이것으로 끝입니다. API 키가 필요 없습니다. JitAPI는 로컬 임베딩을 즉시 사용합니다.

그다음 Claude에서 다음과 같이 하세요:

You: Register the GitHub API from https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json

Claude: ✓ Registered GitHub v3 REST API — 1,107 endpoints indexed

You: List my repos

Claude: [searches for "list repositories for authenticated user" → finds GET /user/repos → executes]
Here are your repositories: ...

다중 API 오케스트레이션

핵심 기능: 여러 API를 등록하고 그에 걸친 질문을 하세요. JitAPI는 등록된 모든 API를 검색하고 Claude가 호출을 체인으로 연결합니다.

You: Register the TMDB API and OpenWeatherMap API
Claude: ✓ Registered both APIs

You: Find the top popular movie on TMDB, then get the weather where it was filmed

Claude: [searches TMDB → GET /movie/popular → GET /movie/{id} for production locations
         → searches OpenWeather → GET /data/2.5/weather with the city]

The #1 popular movie is "Inception", filmed in Los Angeles.
Current weather in LA: 72°F, partly cloudy.

작동 원리

Register API                          Ask a question
     │                                      │
     ▼                                      ▼
Parse OpenAPI spec               Embed query → vector search
     │                                      │
     ▼                                      ▼
Build dependency graph           Find relevant endpoints
     │                                      │
     ▼                                      ▼
Embed all endpoints              Expand with dependencies
     │                                      │
     ▼                                      ▼
Store in vector DB               Return schemas → Claude executes
  1. 등록 — OpenAPI 사양을 파싱하고, 의존성 그래프(어떤 엔드포인트가 다른 엔드포인트의 데이터를 필요로 하는지)를 구축하며, 모든 엔드포인트에 대해 검색 가능한 임베딩을 생성합니다.

  2. 검색 — 질문을 하면 JitAPI가 쿼리를 임베딩하고 코사인 유사도를 통해 가장 관련성 높은 엔드포인트를 찾습니다.

  3. 확장 — 의존성 그래프가 필요한 선행 엔드포인트를 추가합니다 (예: "POST /orders를 위해 먼저 GET /users를 호출하여 user_id를 얻어야 함").

  4. 실행 — Claude가 엔드포인트 스키마를 받아 API 호출을 수행하고 단계 간에 데이터를 전달합니다.

MCP 도구

도구

설명

register_api

OpenAPI 사양 URL에서 API 등록

list_apis

등록된 모든 API와 엔드포인트 개수 나열

search_endpoints

자연어를 사용하여 엔드포인트 전체 의미론적 검색

get_workflow

의존성 해결 및 전체 스키마와 함께 관련 엔드포인트 찾기

get_endpoint_schema

특정 엔드포인트의 전체 스키마 가져오기

call_api

인증, 경로 매개변수, 쿼리 매개변수 및 본문을 포함한 단일 API 호출 실행

set_api_auth

인증 구성 (API 키, 베어러 토큰, 기본 인증)

delete_api

등록된 API 및 모든 데이터 삭제

설정

Claude Code

프로젝트 디렉토리에 .mcp.json을 생성하세요 (전역 액세스를 위해서는 ~/.claude.json 사용):

{
  "mcpServers": {
    "jitapi": {
      "command": "uvx",
      "args": ["jitapi"]
    }
  }
}

Claude Desktop

Claude Desktop 설정에 추가하세요:

OS

설정 경로

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

Linux

~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "jitapi": {
      "command": "uvx",
      "args": ["jitapi"]
    }
  }
}

임베딩 제공자

JitAPI는 로컬 임베딩(fastembed)과 즉시 작동하며 API 키가 필요 없습니다. 대규모 API에서 더 나은 검색 품질을 원하시면 클라우드 임베딩 제공자를 추가할 수 있습니다:

제공자

품질

설정

로컬 (기본값)

좋음

없음 — 즉시 작동

Voyage AI (권장)

우수

pip install jitapi[voyage] + VOYAGE_API_KEY 설정

OpenAI

우수

pip install jitapi[openai] + OPENAI_API_KEY 설정

Cohere

매우 좋음

pip install jitapi[cohere] + COHERE_API_KEY 설정

MCP 설정의 env 블록에 API 키를 설정하세요:

{
  "mcpServers": {
    "jitapi": {
      "command": "uvx",
      "args": ["jitapi"],
      "env": {
        "VOYAGE_API_KEY": "your-key-here"
      }
    }
  }
}

제공자는 사용 가능한 환경 변수에서 자동으로 감지됩니다. 우선순위: Voyage AI > OpenAI > Cohere > 로컬.

인증

등록 후 API 인증을 구성하세요. 권장되는 방법은 환경 변수를 사용하는 것이며, 이를 통해 비밀 정보가 디스크에 기록되지 않습니다:

{
  "mcpServers": {
    "jitapi": {
      "command": "uvx",
      "args": ["jitapi"],
      "env": {
        "GITHUB_TOKEN": "ghp_...",
        "OPENWEATHER_API_KEY": "your-key-here"
      }
    }
  }
}

그다음 Claude에게 환경 변수를 사용하도록 지시하세요:

You: Set bearer auth for GitHub using env var GITHUB_TOKEN
Claude: [calls set_api_auth with auth_type="bearer", env_var="GITHUB_TOKEN"]
✓ Auth configured for github (from env var $GITHUB_TOKEN)

env_var를 사용하면 JitAPI는 요청 시 환경에서 비밀 정보를 읽습니다. 환경 변수 이름만 유지되며 자격 증명 자체는 절대 저장되지 않습니다.

자격 증명을 직접 전달할 수도 있습니다 (0600 권한으로 ~/.jitapi/auth.json에 저장됨):

You: Set API key auth for OpenWeather with param name "appid"
Claude: [calls set_api_auth with auth_type="api_key_query", credential="...", param_name="appid"]
✓ Auth configured for openweather

지원되는 인증 유형: bearer, api_key_header, api_key_query, basic.

보안 참고: env_var를 사용할 때 자격 증명은 런타임에 해결되며 파일 시스템에 절대 닿지 않습니다. 자격 증명을 직접 전달할 경우, 비밀 정보는 ~/.jitapi/auth.json에 일반 텍스트 JSON으로 저장됩니다 (파일 권한 0600, 디렉토리 0700). 프로덕션 환경에서는 env_var 방식을 권장합니다.

환경 변수

변수

필수

설명

VOYAGE_API_KEY

아니오

Voyage AI API 키 (권장 클라우드 제공자)

OPENAI_API_KEY

아니오

OpenAI API 키 (대체 클라우드 제공자)

COHERE_API_KEY

아니오

Cohere API 키 (대체 클라우드 제공자)

JITAPI_STORAGE_DIR

아니오

데이터 디렉토리 (기본값: ~/.jitapi)

JITAPI_LOG_LEVEL

아니오

DEBUG, INFO, WARNING, ERROR (기본값: INFO)

개발

git clone https://github.com/nk3750/jitapi.git
cd jitapi
pip install -e ".[dev]"
pytest
ruff check src/

라이선스

MIT

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
1Releases (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
    -
    quality
    D
    maintenance
    A standalone proxy that transforms any OpenAPI or Swagger-described REST API into an MCP server by mapping API operations to executable MCP tools. It enables AI clients to interact with existing web services through automated HTTP requests based on their official documentation.
    15
    16
    MIT
  • F
    license
    -
    quality
    -
    maintenance
    Universal AI API Orchestrator. 850 tools across 53 services under a single MCP interface. Connect Claude, GPT, or Gemini to Stripe, Slack, GitHub, LinkedIn, Cloudflare, Shopify, Twilio, and 46 more via natural language. $0.10/execution, no subscription. Patent Pending.
    500
    5
  • A
    license
    A
    quality
    C
    maintenance
    Turn any OpenAPI spec into MCP tools for Claude — instantly. Point mcp-openapi at any OpenAPI 3.x spec and Claude can call every endpoint through natural language. No custom integration code. No manual tool definitions. One line of config.
    2
    48
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Stripe-native marketplace where AI agents discover and pay per call for API services.

  • Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.

  • Universal AI API Orchestrator — 1,554 tools, 96 services. One install.

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/nk3750/jitapi'

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