- Excel To JSON MCP By WTSolutions
Excel To JSON MCP By WTSolutions
The Excel to JSON MCP (Model Context Protocol) provides a standardized interface for converting Excel and CSV data into JSON format using the Model Context Protocol. This MCP implementation offers two specific tools for data conversion:
excel_to_json_mcp_from_data: Converts tab-separated or comma-separated text data
excel_to_json_mcp_from_url: Converts Excel from a provided URL
Content
Excel to JSON MCP by WTSolutions Documentation
Introduction
The Excel to JSON MCP (Model Context Protocol) provides a standardized interface for converting Excel and CSV data into JSON format using the Model Context Protocol. This MCP implementation offers two specific tools for data conversion:
- excel_to_json_mcp_from_data: Converts tab-separated or comma-separated text data
- excel_to_json_mcp_from_url: Converts Excel from a provided URL
Endpoints
SSE https://mcp.wtsolutions.cn/excel-to-json-mcp-sse 📋
MCP Tools
excel_to_json_mcp_from_data
Converts tab-separated or comma-separated text data into JSON format.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| data | string | Yes | Tab-separated or comma-separated text data with at least two rows (header row + data row) |
Example Request
{
"tool": "excel_to_json_mcp_from_data",
"parameters": {
"data": "Name\tAge\tIsStudent\nJohn Doe\t25\tfalse\nJane Smith\t30\ttrue"
}
}
excel_to_json_mcp_from_url
Converts an Excel or CSV file from a provided URL into JSON format.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | URL pointing to an Excel (.xlsx) or CSV file |
Example Request
{
"tool": "excel_to_json_mcp_from_url",
"parameters": {
"url": "https://example.com/path/to/your/file.xlsx"
}
}
Response Format
The MCP tools return a JSON object with the following structure:
| Field | Type | Description |
|---|---|---|
| isError | boolean | Indicates if there was an error processing the request |
| msg | string | 'success' or error description |
| data | string | Converted data as array of sheet objects if using URL, string if using direct data, '' if there was an error. Each sheet object contains 'sheetName' (string) and 'data' (array of objects) if using URL |
Example Success Response
{
"content": [{
"type": "text",
"text": "{\"isError\":false,\"msg\":\"success\",\"data\":\"[{\"Name\":\"John Doe\",\"Age\":25,\"IsStudent\":false},{\"Name\":\"Jane Smith\",\"Age\":30,\"IsStudent\":true}]\"}"
}]
}
Data Type Handling
The API automatically detects and converts different data types:
- Numbers: Converted to numeric values
- Booleans: Recognizes 'true'/'false' (case-insensitive) and converts to boolean values
- Dates: Detects various date formats and converts them appropriately
- Strings: Treated as string values
- Empty values: Represented as empty strings
Requirements on data and url
excel_to_json_mcp_from_data
- Input data must be tab-separated or comma-separated text with at least two rows (header row + data row).
- The first row will be considered as "header" row, and this API will use it as column names, subsequently JSON keys.
- The following rows will be considered as "data" rows, and this API will use them as JSON values.
excel_to_json_mcp_from_url
- Each sheet of the Excel file should contain at least two rows (header row + data row).
- The first row will be considered as "header" row, and this API will use it as column names, subsequently JSON keys.
- The following rows will be considered as "data" rows, and this API will use them as JSON values.
- This Excel file should be in '.xlsx' format.
- Each sheet of the Excel file will be converted to a JSON object.
- Each JSON object will have 'sheetName' (string) and 'data' (array of objects) properties.
- Each JSON object in 'data' array will have properties corresponding to column names.
- Each JSON object in 'data' array will have values corresponding to cell values.
Error Handling
The API returns descriptive error messages for common issues:
Excel Data Format Invalid: When input data is not tab-separated or comma-separatedAt least 2 rows are required: When input data has fewer than 2 rowsBoth data and url received: When both 'data' and 'url' parameters are providedNetwork Error when fetching file: When there's an error downloading the file from the provided URLFile not found: When the file at the provided URL cannot be foundBlank/Null/Empty cells in the first row not allowed: When header row contains empty cellsServer Internal Error: When an unexpected error occurs
Pricing
Free for now.
Donation
Server Config
{
"mcpServers": {
"excel_to_json_by_WTSolutions": {
"args": [
"mcp-remote",
"https://mcp.wtsolutions.cn/excel-to-json-mcp-sse"
],
"command": "npx",
"tools": [
"excel_to_json_mcp_from_data",
"excel_to_json_mcp_from_url"
]
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
CursorThe AI Code Editor
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Serper MCP ServerA Serper MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright McpPlaywright MCP server
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
WindsurfThe new purpose-built IDE to harness magic
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Amap Maps高德地图官方 MCP Server