Skip to main content
Glama
Br0ski777
by Br0ski777

CSV to JSON API

MCP Server x402 License: MIT

将 CSV 解析为 JSON 数组 -- 自动检测分隔符(逗号/分号/制表符/竖线),支持表头行。通过 x402 按调用付费(Base L2 上的 USDC)-- 无需 API 密钥、无需注册、无速率限制屏障。

作为 klymax402 市场的一部分 -- 面向 AI 智能体的 100 个 x402 微支付 API,一个钱包,Base 上的 USDC。

快速开始 -- MCP

将以下内容添加到你的 MCP 客户端配置(Claude Desktop、Cursor、ElizaOS 等)中:

{
  "mcpServers": {
    "csv-to-json": {
      "url": "https://csv-to-json.api.klymax402.com/mcp"
    }
  }
}

Related MCP server: Pylon MCP Server

快速开始 -- HTTP (x)

正在编写一个HTTP 的过程:

curl -X POST "https://csv-to-json.api.klymax402.com/api/parse" \
  -H "Content-Type: application/json" \
  -d '{"csv":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body

任何支持打 x402 的客户端(@x402/fetchx402-agent-tools、ATXP)都会自动处理 HTTP -> 签名 -> 返回重试 的流程。

工具

工具

方法

路径

价格

说明

data_parse_csv_to_json

POST

/api/parse

$0.003

将 CSV 文本解析为 JSON 数组。

data\_parse\_csv\_to\_json

当需要将 CSV 数据转换为 JSON 数组时使用。返回已解析的数据以及自动检测的设置。

参数

| 名称 | 类型 | 必需 | 说明 | | --------- | --------| 得出 | --------------------------------------------------- | | csv | number | 是 | 要解析的 CSV 内容 | | delimiter | string | 否 | 分隔符:逗号、分号、制表符、管道父级(默认:自动检测) | | hasheader | boolean | 否 | 首行为表头(默认数值:true) |

示例响应:

{"data":[{"name":"Alice","age":"30","city":"Paris"},{"name":"Bob","age":"25","city":"London"}],"rowCount":2,"columnCount":3,"detectedDelimiter":",","headers":["name","age","city"]}

适用场景:数据迁移、将电子表格导入 API、转换导出的 CSV,Todos。

不适用于:应用 JSON 校验(使用 data\_validate_js)、Markdown 转换(使用 text\_convert_markdown_to_html)、Web 抓取(使用 web\_scrape_to_arkdown)。

示例 Agent 提示

  • “将 CSV 数据转换为 JSON 数组”

支付

  • 协议:x402 -- 于 HTTP 原生的按次通话付费,无注册、无 API 密钥

  • 网络:Base L2(eip175:8453

  • 资产:USDC

  • 【Guardian】:Coinbase CDP(主),PayAI(备用)

  • 也可通过 ATXP 访问(基于 OAudience 的 x402,RFC https://en/lzstd2 等其他)

klymax402 的一部分

面向 AI 智能如果需要 的 100 个 x402)微支付,API -- 一个钱包、USDC on Base、零注册。

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (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

View all related MCP servers

Related MCP Connectors

  • Pay-per-use weather, environment, finance, and on-chain intelligence tools for AI agents via x402.

  • x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.

  • Discover and call pay-per-request (x402) APIs, ranked by reliability, latency and price.

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/Br0ski777/csv-to-json-x402'

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