data-api-code
19 Data/API/Code MCP tools: OpenAPI, GraphQL, cURL, SQL/ER, JSON-TS/Path/Diff, YAML, SemVer.
사용해야 할까요
품질 및 안전성
발견 사항 (2)
- LOWjson_to_csv_convert에서
- LOWgraphql_query_build_and_validate에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"data-api-code": {
"url": "https://api.quickcoderhub.com/mcp/data-api-code"
}
}
}원격 엔드포인트
https://api.quickcoderhub.com/mcp/data-api-codestreamable-http할 수 있는 일
도구 목록
도구 (19)
🟢openapi_spec_inspect(filePath, text)
Inspect an OpenAPI 3.x / Swagger 2.0 JSON specification for paths, HTTP methods, security schemes, missing descriptions, and schema count.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}⚪openapi_mock_generate(filePath, text)
Generate deterministic JSON mock response payloads for every component schema in an OpenAPI 3.x spec or JSON Schema object.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}🟢graphql_schema_inspect(filePath, text)
Parse a GraphQL SDL schema or introspection JSON to inventory Types, Queries, Mutations, Subscriptions, Enums, and Input types.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}🟢graphql_query_build_and_validate(operationType, fieldName, fields, text)
Build or validate a GraphQL operation query/mutation string, check brace depth balancing, and extract declared variables.
입력 스키마
{
"type": "object",
"properties": {
"operationType": {
"type": "string",
"enum": [
"query",
"mutation"
],
"default": "query"
},
"fieldName": {
"type": "string",
"default": "user"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"text": {
"type": "string"
}
}
}⚪curl_to_code_convert(text, target)
Convert a cURL shell command into clean JavaScript fetch() or Python requests code preserving HTTP method, headers, and request body.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"target": {
"type": "string",
"enum": [
"fetch",
"python"
],
"default": "fetch"
}
}
}🟢sql_format_and_lint(filePath, text)
Format SQL queries with uppercase keywords & clean clause newlines, and lint for SELECT *, DELETE/UPDATE without WHERE, and SQL injection string patterns.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}🟡sql_ddl_to_mermaid_er(filePath, text)
Parse SQL CREATE TABLE DDL statements (columns, PK, FK REFERENCES) into a Mermaid erDiagram schema and normalized table inventory.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}⚪json_to_typescript_and_zod(text, rootName)
Infer clean TypeScript interfaces/types from any sample JSON payload.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"rootName": {
"type": "string",
"default": "RootPayload"
}
}
}⚪json_schema_validate_and_mock(schema, data, text)
Validate a JSON instance against a JSON Schema (required fields, types, enums, min/max) OR generate deterministic mock JSON matching the schema.
입력 스키마
{
"type": "object",
"properties": {
"schema": {
"type": "object"
},
"data": {},
"text": {
"type": "string"
}
}
}🟢jsonpath_query_eval(data, jsonPath, text)
Evaluate JSONPath / dot-path expressions (including $, wildcards *, array indices, and recursive descent ..) over any JSON document.
입력 스키마
{
"type": "object",
"properties": {
"data": {},
"jsonPath": {
"type": "string",
"default": "$.items[*].name"
},
"text": {
"type": "string"
}
}
}🟢json_structural_diff(left, right, text)
Compute a deep structural JSON diff (added, removed, changed key paths and exact old -> new values) between two JSON objects or arrays.
입력 스키마
{
"type": "object",
"properties": {
"left": {},
"right": {},
"text": {
"type": "string",
"description": "JSON object { \"left\": ..., \"right\": ... }."
}
}
}⚪json_to_csv_convert(text, delimiter)
Flatten an array of JSON objects into RFC-4180 CSV with escaped quotes and unified header columns.
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"delimiter": {
"type": "string",
"default": ","
}
}
}🟢csv_profile_and_query(filePath, text, delimiter)
Parse RFC-4180 CSV data and compute per-column types, null rates, distinct cardinalities, and numeric min/max/avg statistics.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
},
"delimiter": {
"type": "string",
"default": ","
}
}
}🟢ndjson_stream_analyze(filePath, text)
Validate and profile newline-delimited JSON (.ndjson / .jsonl) logs, detect malformed lines, and summarize schema keys.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}⚪yaml_json_convert(text, direction)
Convert YAML configuration documents to formatted JSON (or JSON back to YAML).
입력 스키마
{
"type": "object",
"properties": {
"text": {
"type": "string"
},
"direction": {
"type": "string",
"enum": [
"yaml-to-json",
"json-to-yaml"
],
"default": "yaml-to-json"
}
}
}🟢xml_format_and_to_json(filePath, text)
Pretty-print and balance-check XML documents and extract tag hierarchy counts.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}🟢js_code_complexity_analyze(filePath, text)
Analyze JavaScript/TypeScript source code for function declarations, import/export dependencies, cyclomatic complexity branches, and LOC metrics.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}🟢semver_range_evaluate(range, versions, text)
Parse Semantic Versioning (SemVer 2.0) versions and evaluate whether candidate versions satisfy ^, ~, >=, <=, or comparator ranges.
입력 스키마
{
"type": "object",
"properties": {
"range": {
"type": "string",
"default": "^1.2.3"
},
"versions": {
"type": "array",
"items": {
"type": "string"
}
},
"text": {
"type": "string"
}
}
}🟢junit_tap_test_report_parse(filePath, text)
Parse JUnit XML or TAP (Test Anything Protocol) test result reports into structured pass/fail/skip counts and failing test trace details.
입력 스키마
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}커뮤니티
증거