data-api-code
19 Data/API/Code MCP tools: OpenAPI, GraphQL, cURL, SQL/ER, JSON-TS/Path/Diff, YAML, SemVer.
Should I use this
Quality & Safety
Findings (2)
- LOWin json_to_csv_convert
- LOWin graphql_query_build_and_validate
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"data-api-code": {
"url": "https://api.quickcoderhub.com/mcp/data-api-code"
}
}
}Remote endpoints
https://api.quickcoderhub.com/mcp/data-api-codestreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input 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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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).
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"text": {
"type": "string"
}
}
}Community
Evidence