Skip to main content
Glama
DOL WHD MCP
by UHQ-Actual

DOL WHD MCP

노동부(DOL) WHD 집행, OFLC LCA 공개, OSHA 검사 및 SAM.gov 계약 기회 데이터에 액세스하기 위한 TypeScript MCP 서버입니다.

설정

npm install
npm run build

로컬 .env 파일을 생성합니다:

DOL_API_KEY=your-api-key
SAM_GOV_API_KEY=your-sam-gov-api-key
GOOGLE_PLACES_API_KEY=your-google-places-api-key

이 서버는 프로세스 환경에서 DOL_API_KEY, SAM_GOV_API_KEY 또는 SAM_API_KEY를 허용합니다. SAM.gov 도구는 SAM 키 없이 드라이 런(dry-run) 모드로 실행할 수 있습니다. 도구 응답은 요청 URL을 수정하며 키를 반환하지 않습니다.

Related MCP server: Swagger MCP Adapter

Stdio를 통한 로컬 실행

npm start

예시 MCP 클라이언트 구성:

{
  "mcpServers": {
    "dol-whd": {
      "command": "node",
      "args": ["dist/server.js"],
      "cwd": "<project-directory>"
    }
  }
}

HTTP를 통한 원격 실행

먼저 빌드한 다음 Streamable HTTP MCP 엔드포인트를 시작합니다:

npm run build
npm run start:http

기본값:

  • MCP 엔드포인트: http://127.0.0.1:8787/mcp

  • 상태 확인: http://127.0.0.1:8787/health

  • 전송: MCP Streamable HTTP, 요청당 상태 비저장(stateless).

원격 환경 설정:

DOL_MCP_HOST=127.0.0.1
DOL_MCP_PORT=8787
DOL_MCP_AUTH_TOKEN=change-this-before-exposing
DOL_MCP_ALLOW_ORIGIN=*

DOL_MCP_AUTH_TOKEN이 설정된 경우, MCP 클라이언트는 다음 중 하나를 보내야 합니다:

Authorization: Bearer change-this-before-exposing

또는:

X-API-Key: change-this-before-exposing

로컬 전용 액세스를 위해 기본 호스트를 유지하십시오. 다른 머신에서 접근 가능하게 하려면 0.0.0.0과 같은 접근 가능한 인터페이스에 바인딩하고 인증이 포함된 신뢰할 수 있는 터널이나 리버스 프록시 뒤에 배치하십시오. DOL 및 SAM.gov API 키는 서버 측 .env에 유지됩니다.

도구

  • ask_government_data: 일반 영어 질문을 올바른 데이터베이스로 라우팅하고 WHD 집행, OSHA 검사, DOL 외국인 노동/LCA 공개 또는 SAM.gov 기회에 대해 쿼리를 실행합니다.

  • whd_enforcement_query: limit, offset, fields, sort, sort_by 및 filter_object를 사용하여 WHD/enforcement를 쿼리합니다.

  • whd_enforcement_case: 숫자 case_id를 조회합니다.

  • whd_enforcement_metadata: 선택적 search, category 및 limit과 함께 전체 메타데이터 행을 반환합니다.

  • whd_enforcement_fields: 쿼리 작성을 위한 간결한 필드 설명을 반환합니다.

  • dol_datasets_search: 공개 DOL 데이터셋 카탈로그를 검색합니다.

  • lca_disclosure_files: 회계 연도 분기에 대한 공식 DOL OFLC LCA 공개 및 레코드 레이아웃 URL을 반환합니다.

  • lca_disclosure_fields: DOL LCA 공개 XLSX 파일에서 필드 이름을 읽습니다.

  • lca_search: 고용주, 작업장, 직함, SOC, NAICS, 상태, 비자 등급, 임금 및 날짜별로 DOL OFLC LCA 공개 데이터를 검색합니다.

  • lca_employer_profile: 인증 수, 임금 통계, 주요 직함, SOC 코드, 작업장, H-1B 의존성 및 고의적 위반자 플래그가 포함된 DOL LCA 전용 고용주 프로필을 작성합니다.

  • foreign_labor_files: LCA, PERM, H-2A, H-2B 또는 CW에 대한 공식 DOL OFLC 공개 통합 문서, 레코드 레이아웃 및 보조 파일 URL을 찾습니다.

  • foreign_labor_fields: 공식 DOL 외국인 노동 공개 XLSX 파일에서 필드 이름을 읽습니다.

  • foreign_labor_search: DOL OFLC 외국인 노동 공개 통합 문서를 스트림 검색하고 LCA, PERM, H-2A, H-2B 및 CW-1 전반에 걸쳐 통합된 스키마를 반환합니다.

  • osha_fields: 공식 DOL OSHA inspection 또는 violation 데이터셋에 대한 메타데이터를 반환합니다.

  • osha_inspection_search: 사업장, 주, 도시, NAICS, 검사 유형, 안전/보건 및 개시 날짜 범위별로 OSHA 검사를 검색합니다. 선택적으로 삭제되지 않은 위반/인용 기록을 결합합니다.

  • osha_inspection_detail: activity_nr로 하나의 OSHA 검사를 조회하고 선택적으로 위반/인용 기록을 결합합니다.

  • sam_opportunities_search: 제목 키워드, NAICS 코드, 조달 유형, 세트어사이드(set-aside) 코드, 수행 장소 주 및 게시 날짜 범위별로 공식 SAM.gov 계약 기회를 검색합니다.

  • sam_opportunity_detail: noticeId로 하나의 SAM.gov 기회를 조회합니다.

  • sam_reference: 일반적인 SAM.gov 조달 유형 및 세트어사이드 코드를 반환합니다.

  • places_search: 지역 내 비즈니스에 대해 Google Places (New) 텍스트 검색을 수행합니다. 소스 추적을 위한 googleMapsUrl이 포함된 중복 제거된 결과를 반환합니다. 레스토랑 조사 에이전트를 위한 라운드별 검색 기본 요소로 설계되었습니다.

  • places_detail: Place ID로 하나의 Google 장소를 조회합니다. 영업 시간, 배달/매장 식사 플래그 및 (선택적으로) editorialSummary와 리뷰를 반환합니다.

LCA 도구는 DOL 성과 데이터 페이지의 공식 OFLC 공개 통합 문서를 사용합니다. 통합 문서가 클 수 있으므로 다운로드된 파일은 .cache/dol-lca/ 아래에 캐시됩니다. 이미 다운로드된 공식 LCA 공개 XLSX 파일을 localFile로 전달할 수도 있습니다.

LCA 프로필은 DOL 전용입니다. 별도의 USCIS 데이터 소스가 추가되지 않는 한 USCIS H-1B 청원 승인 및 거부율은 포함되지 않습니다.

외국인 노동 도구는 DOL 성과 데이터 페이지를 읽어 현재 공개 링크를 찾은 다음 XLSX 파일을 행 단위로 스트림 파싱합니다. 지원되는 프로그램은 LCA, PERM, H-2A, H-2B 및 CW이며, 지원되는 통합 파서 회계 연도는 2020년부터 2030년까지입니다. 이미 다운로드된 공식 통합 문서를 가리키려면 localFile을 사용하십시오.

OSHA 도구는 공식 DOL 오픈 데이터 API 데이터셋 OSHA/inspection 및 OSHA/violation을 사용합니다. 위반 행은 activity_nr에 의해 검사와 결합되며, delete_flag가 X인 행은 결합된 출력에서 제외됩니다.

SAM.gov 도구는 https://api.sam.gov/opportunities/v2/search의 공식 Opportunities API를 사용합니다. 실시간 검색에는 SAM_GOV_API_KEY 또는 SAM_API_KEY가 필요하며, 드라이 런 검색은 SAM.gov를 호출하지 않고 샘플 기회를 반환합니다. API는 게시 날짜 범위를 요구하므로 postedDaysAgo는 MM/dd/yyyy 형식의 postedFrom 및 postedTo로 변환됩니다.

예시

체불 임금이 있는 아이오와(Iowa) 기록 필터링:

{
  "limit": 10,
  "fields": ["case_id", "trade_nm", "st_cd", "bw_atp_amt", "findings_end_date"],
  "sort": "desc",
  "sort_by": "bw_atp_amt",
  "filter_object": {
    "and": [
      { "field": "st_cd", "operator": "eq", "value": "IA" },
      { "field": "bw_atp_amt", "operator": "gt", "value": 0 }
    ]
  }
}

필드 메타데이터 검색:

{
  "search": "backwage",
  "limit": 20
}

LCA 공개 데이터 검색:

{
  "fiscalYear": 2026,
  "quarter": 1,
  "employerName": "Google",
  "state": "CA",
  "jobTitle": "software",
  "maxResults": 25
}

DOL LCA 고용주 프로필 작성:

{
  "fiscalYear": 2026,
  "quarter": 1,
  "employerName": "Google",
  "searchMode": "contains",
  "maxResults": 5000
}

통합 DOL 외국인 노동 공개 검색:

{
  "visaProgram": "H-2A",
  "fiscalYear": 2026,
  "fiscalQuarter": "Q1",
  "worksiteState": "IA",
  "caseStatus": "Certified",
  "maxItems": 100
}

PERM 인증 검색:

{
  "visaProgram": "PERM",
  "fiscalYear": 2026,
  "fiscalQuarter": "Q1",
  "employerName": "Intel",
  "minAnnualWage": 150000,
  "maxItems": 500
}

인용 기록이 결합된 OSHA 검사 검색:

{
  "companyName": "Walmart",
  "state": "TX",
  "includeViolations": true,
  "maxResults": 25
}

사망/재난 건설 검사 검색:

{
  "state": "TX",
  "naicsCode": "23",
  "inspectionType": "A",
  "dateFrom": "2024-01-01",
  "includeViolations": true,
  "maxResults": 100
}

드라이 런 모드에서 SAM.gov 기회 검색:

{
  "keywords": "cybersecurity",
  "naicsCodes": ["541512"],
  "setAsideType": "SBA",
  "postedDaysAgo": 30,
  "maxResults": 10,
  "dryRun": true
}

SAM 키 추가 후 실시간 SAM.gov 기회 검색:

{
  "keywords": "software development",
  "naicsCodes": ["541512", "541511"],
  "procurementTypes": ["o", "k", "r"],
  "state": "VA",
  "postedDaysAgo": 30,
  "maxResults": 100,
  "dryRun": false
}

일반 영어 라우팅 질문하기:

{
  "question": "Show OSHA inspections and citations for Walmart in TX",
  "maxResults": 10
}

드라이 런 모드에서 SAM.gov 기회 요청하기:

{
  "question": "Find cybersecurity solicitations NAICS 541512 in Virginia",
  "maxResults": 10,
  "dryRun": true
}

DOL 외국인 노동 공개 기록 요청하기:

{
  "question": "H-2A certified farm jobs in IA SOC 45-2092 over $20 hourly",
  "maxResults": 10
}

도시 내 레스토랑에 대한 Google Places 검색:

{
  "query": "restaurants in Hillsdale, MI",
  "includedTypes": ["restaurant"],
  "maxResults": 30,
  "excludeClosed": true
}

Place ID로 하나의 Google 장소 조회:

{
  "placeId": "ChIJN1t_tDeuEmsRUsoyG83frY4",
  "includeAtmosphere": false
}

Available Tools

28 tools
adv_estimateEstimate Annual Dollar Volume (ADV) and FLSA $500K Coverage FlagA

Deterministic ADV screening calculator for FLSA enterprise-coverage triage. Encodes Methods 1-4 (per-employee, capacity-derived, chain per-unit, format default), the geographic multiplier, ±40% range math, and the $500,000 FLSA flag (Above / Below / Borderline / Insufficient Data). NOT a coverage determination — screening signal only. Method selection priority: chain per-unit ADV > employee count > capacity input > format default. Method 2 capacity input priority (highest first): seatCount > occupantLoad (×0.85 → seats) > squareFootage (BOH subtract + IBC 15-sqft-per-occupant + ×0.85) > parkingSpaces (× format-typical seats-per-space). Always pass capacitySource so the audit trail records where the number came from. Best practice: read employeeCount from osha_inspection_search results and pass it in here when an OSHA inspection record exists for the establishment (employee_count is a required OSHA field). Returns separate columns for estimate, range, method, capacity_input, capacity_source, flsa_flag, confidence, and a derivation-chain notes string.

Inputs: format, areaType, bohRatio, chainFlag, +12 more.

ask_government_dataAsk Government DataA

Route a plain-English question to the right source: WHD enforcement, OSHA inspections, DOL foreign-labor/LCA disclosures, or SAM.gov contract opportunities.

Inputs: question (required), dryRun, maxResults.

business_entity_detailGet Business Entity Detail via OpenCorporatesA

Look up one entity by jurisdiction + state company number via OpenCorporates. Use after business_entity_search to get the full canonical record (full address, previous names, branch info, dissolution date, registry URL). Free with attribution.

Inputs: companyNumber (required), jurisdictionCode (required), dryRun.

census_area_profileResolve US Place to Population, Area Tier, and Multiplier BaseA

Look up a US city/town/CDP via the Census geocoder, then fetch its total population from the ACS 5-year estimate. Returns: total population, area tier (major_metro / mid_metro / small_or_rural matching the adv_estimate multiplier table), row-scaling tier and target (matching the Restaurant Research Agent's row-scaling formula max(pop/250, floor)), county FIPS for usaspending_award_search, state FIPS, place FIPS, and the high-cost-of-living-state flag for CA/NY/MA/WA/HI. Use this BEFORE adv_estimate when sizing an enforcement universe or running a restaurant research workflow against an unfamiliar city. Free Census API; no key required for basic queries.

Inputs: city, state, dryRun, acsYear, +2 more.

foreign_labor_fieldsList DOL Foreign Labor Disclosure FieldsC

Read field names from an official DOL foreign-labor disclosure XLSX file.

Inputs: socCode, jobTitle, maxItems, localFile, +7 more.

foreign_labor_filesGet DOL Foreign Labor Disclosure FilesA

Discover official DOL OFLC disclosure workbook, record-layout, and auxiliary file URLs for LCA, PERM, H-2A, H-2B, or CW.

Inputs: fiscalYear, visaProgram, fiscalQuarter.

lca_disclosure_fieldsList DOL LCA Disclosure FieldsC

Read field names from a DOL LCA disclosure XLSX file.

Inputs: city, state, dateTo, quarter, +13 more.

lca_disclosure_filesGet DOL LCA Disclosure File URLsA

Return official DOL OFLC LCA disclosure, Appendix A, worksite, and record-layout URLs for a fiscal year quarter.

Inputs: quarter, fiscalYear.

lca_employer_profileBuild DOL LCA Employer ProfileB

Build a DOL LCA-only employer profile with certification counts, wage statistics, top job titles, SOC codes, worksites, H-1B dependent, and willful violator flags.

Inputs: employerName (required), city, state, dateTo, +13 more.

osha_fieldsList OSHA Dataset FieldsC

Return metadata fields for the official DOL OSHA inspection or violation dataset.

Inputs: limit, search, dataset.

osha_inspection_detailGet OSHA Inspection DetailA

Look up one OSHA inspection by activity number and optionally join violation/citation records.

Inputs: activityNumber (required), includeViolations.

osha_state_plan_lookupLook Up OSHA Jurisdiction by StateA

Static reference: returns the OSHA jurisdiction tier (federal_osha / public_only_state_plan / complete_state_plan), program name (MIOSHA, Cal/OSHA, IOSHA, etc.), administering agency, expected reporting lag in days for state-plan submissions to federal OIS, public-records request path, and a one-line caveat the agent can paste alongside osha_inspection_search results. Use this when an agent's OSHA query in MI / MN / IA / IN / CA / WA returns sparse recent data — the lookup tells the agent (and the user) why and how to get fresher data.

Inputs: stateCode (required).

places_detailGet Google Place DetailA

Look up one Google place by Place ID. Returns hours, delivery/dine-in flags, and other detail fields. Set includeAtmosphere=true to also fetch editorialSummary and reviews (higher pricing tier).

Inputs: placeId (required), dryRun, includeAtmosphere.

sam_opportunity_detailGet SAM.gov Opportunity DetailA

Look up one SAM.gov opportunity by notice ID. Live mode requires a SAM.gov API key in the environment.

Inputs: noticeId (required), dryRun.

sam_referenceList SAM.gov CodesA

Return common SAM.gov procurement type and set-aside codes used by the opportunity search tool.

Inputs: no named parameters.

sos_portal_lookupLook Up State Business Registration Portal by StateA

Static reference: returns the URL and agency for the Secretary of State (or DFI / Corporation Commission, depending on the state) business-entity search portal for a given US state. Use this when the user wants to verify an entity manually, file a records request, or use a state's own search form. Includes bulk-download availability and pricing where published. The 10 Midwest states are verified with detailed notes; the other 40 states are encoded with general portal URLs that should be sanity-checked before enforcement use. For programmatic lookups, prefer business_entity_search via OpenCorporates.

Inputs: stateCode (required).

whd_enforcement_caseGet WHD Enforcement CaseB

Look up WHD Enforcement records by numeric case_id.

Inputs: case_id (required), fields.

whd_enforcement_fieldsList WHD Enforcement FieldsB

Return concise WHD Enforcement field names, labels, descriptions, categories, data types, and units.

Inputs: limit, search, category.

whd_enforcement_metadataGet WHD Enforcement MetadataB

Return metadata rows for the WHD Enforcement (WHISARD) dataset, optionally filtered by text.

Inputs: limit, search, category.

whd_enforcement_queryQuery WHD Enforcement RecordsA

Query concluded Wage and Hour Division compliance actions from the DOL WHD Enforcement (WHISARD) dataset. IMPORTANT date semantics: findings_end_date is the date violations STOPPED occurring, NOT the date the case was concluded. Investigation lag from end-of-violation to case-closed is typically 6-24 months. When filtering for 'cases from 2024-2025,' use a wider findings_end_date window (e.g., findings_end_date >= 2022-10-01) and rank by recency; a strict 2024-2025 findings filter will return an artificially small slice. The ld_dt field is the dataset load date, not the case-conclusion date.

Inputs: sort, limit, fields, offset, +2 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 28 tools

    Disambiguation5/5

    Each tool targets a distinct data source or operation, such as FLSA screening, business entity lookup, OSHA inspections, foreign labor disclosures, places search, SAM.gov opportunities, USAspending awards, and WHD enforcement. Overlaps are minimal, and even similar tools like foreign_labor_files and lca_disclosure_files serve different datasets (OFLC vs. LCA).

    Naming Consistency3/5

    Tool names use snake_case but lack a consistent verb_noun pattern (e.g., adv_estimate, ask_government_data, osha_fields, sos_portal_lookup). Some are descriptive phrases, others are noun-first. The mix of styles and lack of uniformity reduces predictability.

    Tool Count3/5

    28 tools is on the higher side for a single server, covering multiple domains (WHD, OSHA, foreign labor, entities, places, SAM, USAspending). While each tool has a purpose, the breadth could be split into more focused servers. The count feels heavy but not extreme.

    Completeness3/5

    The server covers a wide range of DOL-related data sources, but there are notable gaps such as missing tools for WHD wage determinations, child labor, or DOL regulatory guidance. Some foreign labor tools are present but not exhaustive. The surface is broad but not fully comprehensive.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      C
      maintenance
      An MCP server for interacting with the USAspending.gov API, supporting local use with Claude Desktop and cloud deployment with login.gov authentication.
      3
      10
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      A comprehensive MCP server implemented in TypeScript that provides access to the German BIM Portal REST API, enabling querying of organizations, building properties, LOINs, domain models, and AIA resources through natural language.
      2
      MIT
    • A
      license
      A
      quality
      Not graded
      maintenance
      Search official US government data from any MCP client: building permits from 10 city open-data portals, federal contract opportunities from SAM.gov with contracting-officer contacts, and the CMS NPI healthcare-provider registry. Open-source TypeScript server; data delivered via Apify's pay-per-result actors using your own Apify token.
      3
      MIT