Skip to main content
Glama

목적지 기반 공영주차장 추천 MCP 서버

Node.js + TypeScript로 만든 서울시 공영주차장 추천 MCP 서버 MVP입니다. 목적지명을 좌표로 바꾸고, 주변 공영주차장을 찾은 뒤, 실시간 가능대수와 과거 출차 통계 기반 예상 대기시간을 계산해 추천합니다.

API 키가 없으면 mock 데이터로 바로 실행됩니다.

설치

npm install

Related MCP server: seoul-essentials

환경 설정

.env.example을 참고해 .env를 만듭니다.

KAKAO_REST_API_KEY=
SEOUL_API_KEY=
SEOUL_PARKING_ENDPOINT=http://openapi.seoul.go.kr:8088
  • KAKAO_REST_API_KEY가 없으면 src/data/mockDestinations.ts를 사용합니다.

  • SEOUL_API_KEY가 없으면 src/data/mockParkingLots.ts를 사용합니다.

  • 과거 입출차 통계는 MVP 단계에서 src/data/mockParkingStats.ts를 사용합니다.

실행

개발 실행:

npm run dev

빌드 후 실행:

npm run build
npm start

MCP 클라이언트 연결 예시

Claude Desktop 또는 MCP 호환 클라이언트 설정에 아래 서버를 추가합니다.

{
  "mcpServers": {
    "parking-recommendation": {
      "command": "node",
      "args": ["C:/Users/ksj47/OneDrive/문서/dev/test-mcp/dist/index.js"],
      "env": {
        "KAKAO_REST_API_KEY": "",
        "SEOUL_API_KEY": ""
      }
    }
  }
}

개발 중에는 tsx로도 연결할 수 있습니다.

{
  "mcpServers": {
    "parking-recommendation-dev": {
      "command": "npx",
      "args": ["tsx", "C:/Users/ksj47/OneDrive/문서/dev/test-mcp/src/index.ts"]
    }
  }
}

제공 MCP tools

search_destination

{ "query": "코엑스" }

목적지명을 좌표로 변환합니다. 카카오 API 키가 있으면 카카오 로컬 검색 API를, 없으면 mock 데이터를 사용합니다.

find_parking_lots

{ "destination": "코엑스", "radius_m": 700 }

또는:

{ "latitude": 37.511823, "longitude": 127.059159, "radius_m": 700 }

목적지명이나 좌표 기준 주변 공영주차장을 찾습니다. 거리는 Haversine 공식으로 계산합니다.

get_parking_detail

{ "parking_lot_id": "seoul-gangnam-tancheon" }

주차장 상세 정보, 실시간 가능대수, 운영시간, 요금, 초보 친화 점수를 반환합니다.

estimate_wait_time

{
  "parking_lot_id": "seoul-gangnam-coex-north",
  "current_queue_count": 3
}

가능대수가 있으면 대기시간 0분, 만차면 현재 대기열과 과거 시간대별 출차 통계를 바탕으로 예상 대기시간을 계산합니다. 통계가 부족하면 기본값 5분/대를 사용합니다.

recommend_parking

{
  "destination": "코엑스",
  "radius_m": 900,
  "expected_parking_hours": 2,
  "priority": "fastest",
  "current_queue_count_by_lot": {
    "seoul-gangnam-coex-north": 4
  }
}

추천 우선순위:

  • nearest: 거리 우선

  • fastest: 가능대수와 예상 대기시간 우선

  • cheapest: 예상 요금 우선

  • beginner_friendly: 초보 친화 점수 우선

응답에는 도보 시간, 예상 대기시간, 예상 요금, 추천 점수, 추천 이유, 카카오맵 URL이 포함됩니다.

MVP 데이터 범위

  • 서울시 공영주차장 API 연동 함수 포함

  • API 키 없을 때 시연 가능한 mock 목적지, 주차장, 통계 포함

  • 실시간 가능대수가 없는 주차장은 available_spaces: null

  • beginner_score는 사진 분석 전 단계이므로 mock 필드로 처리

  • 요금 계산은 기본/추가 단위 요금 기반의 MVP 추정값

검증

npm run typecheck

Available Tools

6 tools
analyze_parking_congestionB

평일/주말 기준으로 혼잡하거나 대기 가능성이 높은 주차장을 분석합니다. 결과의 availability_summary, distance_summary, congestion_score를 답변에 함께 보여주세요.

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNo
day_typeNoweekday
latitudeNo
radius_mNo
longitudeNo
destinationNo
target_hourNo

TDQS

B3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full disclosure burden. It does add one genuinely useful behavioral trait: it instructs the agent to surface availability_summary, distance_summary, and congestion_score in the reply, which tells the caller how to handle the output. However, it does not disclose whether the operation is read-only, how the scores are derived, what 'congested or high wait probability' means operationally, or what happens when no lots match the criteria.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences with no filler. The first sentence front-loads the core purpose and filtering criterion; the second sentence earns its place by telling the agent which result fields to include in the user-facing answer. Every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 7-parameter tool with 0% schema coverage, no output schema, and no annotations, yet the description is only two sentences. It does not explain how latitude/longitude, destination, radius_m, or target_hour shape the analysis, nor what ranges or defaults govern them, nor how to interpret the three result fields. For a tool with this complexity and zero structured support, the description leaves substantial gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for all seven parameters, but it only implicitly references day_type through '평일/주말' (weekday/weekend). The remaining parameters (limit, latitude, longitude, radius_m, destination, target_hour) are entirely unexplained in both schema and description. The minimal partial coverage of day_type is the only semantic contribution.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action (analyze) applied to a concrete resource (parking lots with congestion/high waiting probability) with a clear criterion (weekday/weekend). Naming the three output fields (availability_summary, distance_summary, congestion_score) sharpens what the tool produces. It is distinguishable from sibling tools like search_destination and find_parking_lots, though its boundary with estimate_wait_time and recommend_parking is not explicitly drawn.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit when-to-use or when-not-to-use guidance is given, and no alternatives are mentioned despite several overlapping siblings (recommend_parking, estimate_wait_time, find_parking_lots). The intended usage is only implied by the description's wording, leaving the agent to infer when congestion analysis is the right choice versus a single-lot wait estimate or a generic recommendation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

estimate_wait_timeB

실시간 가능대수와 과거 출차 통계를 바탕으로 예상 대기시간을 계산합니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
parking_lot_idYes
target_datetimeNo
current_queue_countNo

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description bears the full burden of behavioral disclosure. It mentions the inputs to the calculation but does not state whether the operation is read-only, what the return value looks like, how optional parameters affect the estimate, or how missing data is handled.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single efficient sentence with no filler. It is front-loaded with the purpose and calculation inputs. Slightly more structure or explanation could improve it, but it is appropriately concise for a simple tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no annotations, no output schema, and 0% parameter description coverage, the description is too sparse for an agent to call the tool correctly with confidence. It omits the meaning of optional parameters, the output format, and any prerequisites or limitations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate by explaining parameters. It references '실시간 가능대수' and '과거 출차 통계' as data sources, but it does not map these to parking_lot_id, target_datetime, or current_queue_count, nor does it clarify their roles in the calculation.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb, '계산합니다' (calculates), with a clear resource, '예상 대기시간' (estimated waiting time), and even states the data basis: real-time available spaces and past departure statistics. This clearly distinguishes it from sibling tools that search, find, get, recommend, or analyze congestion.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage when an estimate of waiting time is needed, but it does not explicitly state when to prefer this tool over alternatives like analyze_parking_congestion. There is no exclusions or alternative guidance, so the usage context is only implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

find_parking_lotsB

목적지명 또는 좌표 기준으로 주변 주차장을 찾습니다. 답변에는 availability_summary(예: 🟢 여유 · 42/120면 가능), distance_summary(예: 450m · 도보 7분), 카카오맵 링크를 함께 보여주세요.

ParametersJSON Schema
NameRequiredDescriptionDefault
addressNo
latitudeNo
radius_mNo
longitudeNo
destinationNo
realtime_statusNo
parking_lot_codeNo

TDQS

B3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and does add some behavioral context: it reveals that the search can key off either a destination name or coordinates, and it specifies that answers must include availability_summary, distance_summary, and a KakaoMap link. However, it does not disclose data source, freshness, no-result behavior, or side effects — acceptable for a read-only lookup but not a thorough disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences with zero filler; the core purpose is front-loaded and the answer-format instruction earns its place given there is no output schema to convey what the response should contain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 7-parameter tool with 0 required params, no annotations, and no output schema needs far more guidance than this provides. The description covers the coordinate/name search basis and response components but omits the meaning of four parameters, when to prefer siblings, and what a result set looks like.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, but it only clarifies the destination and latitude/longitude parameters. address, radius_m, realtime_status, and parking_lot_code are left unexplained — including the default of radius_m (700) and the meaning of the realtime_status enum 0–3 — so an agent cannot confidently construct correct calls for all inputs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('finds nearby parking lots') and identifies the search basis (destination name or coordinates). This clearly separates it from get_parking_detail, estimate_wait_time, and analyze_parking_congestion, though it does not explicitly differentiate from the overlapping-sounding sibling recommend_parking.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus search_destination (for finding/validating a place) or recommend_parking (for choosing among lots). The response-format instruction ('show availability_summary, distance_summary, KakaoMap link') is about answer presentation, not tool selection, so an agent gets little help deciding between siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

get_parking_detailA

주차장의 상세 정보, 가능대수, 운영시간, 요금 정보를 조회합니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
parking_lot_idYes

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. '조회합니다' clearly conveys a read-only query and the description enumerates the returned information (capacity, hours, fees). However, it does not disclose behavior for invalid IDs, data freshness, authentication needs, or error handling.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single compact sentence that front-loads the resource and then lists the specific data categories returned. Every word adds value and there is no redundant or vague filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter detail lookup, the description provides the main return categories and is mostly adequate. However, with no output schema, no annotations, and no parameter guidance, it leaves gaps around usage context, invalid ID behavior, and whether the data is real-time.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not mention parking_lot_id at all. The parameter name is self-explanatory, but the description does not compensate for the missing schema description by explaining where the ID comes from or how to use it, which is a clear gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The Korean description uses a specific verb '조회합니다' (retrieves) with a clear resource: detailed parking lot information including available capacity, operating hours, and fees. This clearly distinguishes it from sibling tools like find_parking_lots (discovery) or recommend_parking (recommendation), as it is explicitly a detail lookup.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this tool is for retrieving details about a specific parking lot, but it never explicitly states when to use it versus alternatives. It does not mention that find_parking_lots should be used first to locate lots, nor does it state when not to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

recommend_parkingB

목적지 주변 주차장을 거리, 대기시간, 요금, 초보 친화도 기준으로 추천합니다. 답변에는 각 추천의 availability_summary(예: 🟢 여유 · 42/120면 가능), distance_summary(예: 450m · 도보 7분), 예상 대기시간, 카카오맵 링크를 함께 보여주세요.

ParametersJSON Schema
NameRequiredDescriptionDefault
priorityNofastest
radius_mNo
destinationYes
expected_parking_hoursNo
current_queue_count_by_lotNo

TDQS

B3.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description is the only source of behavioral disclosure. It usefully specifies that each recommendation must include availability_summary, distance_summary, expected wait time, and a KakaoMap link, but it does not mention data sources, freshness, real-time semantics, or that this is a read-only operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and front-loaded: the purpose sentence comes first, followed by a concise output-format requirement. The example summaries are useful rather than redundant, though the response-formatting sentence could have been slightly tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has five parameters, no output schema, and no annotations, so the description alone must make the tool safely callable. It gives a good outline of the output but omits semantics for several inputs and fails to distinguish when to use this instead of find_parking_lots or estimate_wait_time.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the five parameters. It only maps the first sentence's criteria to possible priority choices and leaves radius_m, expected_parking_hours, and current_queue_count_by_lot unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's function: recommend parking lots around a destination using distance, wait time, fee, and beginner-friendliness criteria. It uses a specific verb and resource, and the 'recommend' framing broadly separates it from sibling tools like find_parking_lots, though it does not explicitly name the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied from 'recommends parking lots around the destination' — an agent can infer it should be called when a user wants a parking recommendation. However, there are no explicit when/when-not conditions or references to sibling tools such as find_parking_lots, estimate_wait_time, or analyze_parking_congestion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

search_destinationA

사용자가 입력한 목적지명을 좌표로 변환합니다.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYes

TDQS

A3.9/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral disclosure burden. It correctly communicates a read-like transformation, but does not mention how ambiguous or non-existent destinations are handled, whether partial names are accepted, or what the exact coordinate output format is. This is minimally transparent but not richly so.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single Korean sentence conveys the action, the input, and the output with no filler words. The core idea is front-loaded and immediately understandable, making it highly efficient for an agent to parse.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple one-parameter geocoding tool, the essential happy-path context is present. However, since there is no output schema, the description should ideally state the coordinate format (e.g., lat/lng) and behavior for missing or ambiguous destinations. The lack of such details leaves a small but real completeness gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only defines 'query' as a string with minLength 1, while the description clarifies that the query is the user-entered destination name. Since this is the only parameter, the description effectively provides the missing semantic meaning beyond the raw schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action—converting a user-entered destination name into coordinates—which clearly distinguishes it from parking-focused siblings like find_parking_lots and recommend_parking. The verb '변환합니다' (converts) and resource '목적지명' (destination name) make the tool's purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The intended use is implied: call this tool when a destination name needs to be geocoded. However, there is no explicit statement about when to avoid it, prerequisites, or how it fits into a workflow with the sibling parking tools. This is adequate but relies on inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. 6 tool updatesv0.1.0
    • First observedanalyze_parking_congestion
    • First observedestimate_wait_time
    • First observedfind_parking_lots
    • First observedget_parking_detail
    • First observedrecommend_parking
    • First observedsearch_destination

TDQS

A3.7/5.0
Disambiguation4/5

Most tools have clearly distinct roles: geocoding, listing, detail, wait-time, recommendation, and congestion analysis. However, find_parking_lots, recommend_parking, and analyze_parking_congestion all return overlapping availability/distance summaries, which could cause some selection ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with clear action prefixes: search, find, get, estimate, recommend, analyze. No mixed conventions or vague verbs.

Tool Count5/5

Six tools cover the parking recommendation workflow without redundancy or bloat. Each tool addresses a distinct stage or type of query an agent would need.

Completeness5/5

The toolset forms a complete workflow: geocode destination, find parking lots, inspect details, estimate wait time, get recommendations, and analyze congestion. No critical dead ends or missing operations for the stated purpose.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

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/devbluelemony-creator/malhaebwa-parking'

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