JSON to Excel MCP by WTSolutions
This server converts JSON data into CSV format (importable into Excel) using two tools:
Convert JSON strings to CSV (
json_to_excel_mcp_from_data): Pass a raw JSON array or object directly as a string and receive a CSV-formatted string ready for Excel importConvert JSON from a URL to CSV (
json_to_excel_mcp_from_url): Fetch a JSON file from a publicly accessible URL and convert it to CSVHandle various JSON structures: JSON arrays (each object becomes a row) and single JSON objects (converted to key-value pairs)
Customize conversion options: Choose between
flatornestedJSON modes, set delimiter characters (.,_,__,/) for nested keys, and control maximum depth (1–20orunlimited)Automatic data type handling: Numbers, booleans, strings, arrays, and objects are all handled automatically
Free and Pro versions: Free version processes up to 6 rows; a valid Pro Code unlocks unlimited row processing
Error handling: Descriptive errors for invalid JSON, network issues, file not found, and invalid Pro Codes
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@JSON to Excel MCP by WTSolutions convert this JSON data to CSV: [{"name": "Alice", "age": 28}, {"name": "Bob", "age": 35}]"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
JSON to Excel MCP by WTSolutions
Introduction
The JSON to Excel MCP (Model Context Protocol) provides a standardized interface for converting JSON data into CSV format string using the Model Context Protocol. This MCP implementation offers two specific tools for data conversion:
json_to_excel_mcp_from_data: Converts JSON data string into CSV format.
json_to_excel_mcp_from_url: Converts JSON file from a provided URL (.json format) into CSV format string.
JSON to Excel MCP is part of JSON to Excel toolkit by WTSolutions:
JSON to Excel Web App: Convert JSON to Excel directly in Web Browser.
JSON to Excel Excel Add-in: Convert JSON to Excel in Excel, works with Excel environment seamlessly.
JSON to Excel WPS Add-in: Convert JSON to Excel in WPS, works with WPS environment seamlessly.
JSON to Excel API: Convert JSON to Excel by HTTPS POST request.
JSON to Excel MCP Service: Convert JSON to Excel by AI Model MCP SSE/StreamableHTTP request. (<-- You are here.)
Related MCP server: JXLS Excel Template Generator
Server Config
Available MCP Servers (SSE and Streamable HTTP):
Using Stdio (NPX)
Server Config JSON:
Case 1 : Free Version (Up to processing 6 Rows of data)
If you are using the free version:
{
"mcpServers": {
"json-to-excel-mcp": {
"args": [
"json-to-excel-mcp"
],
"command": "npx"
}
}
}Case 2 : Pro Version
If you are using the pro version (with a valid proCode):
{
"mcpServers": {
"json-to-excel-mcp": {
"args": [
"json-to-excel-mcp"
],
"command": "npx",
"env": {
"proCode": "type in your proCode here"
}
}
}
}Using SSE
Not supported starting from v0.3.0
Using Streamable HTTP
Not supported starting from v0.3.0
MCP Tools
json_to_excel_mcp_from_data
Converts JSON data string into CSV format string.
Parameters
Parameter | Type | Required | Description |
data | string | Yes | JSON data string to be converted to CSV. Must be a valid JSON array or object. |
options | object | No | Optional configuration object for customizing the conversion process. |
Note:
Input data must be a valid JSON string. JSON schema available at JSON Schema and validator available at JSON to Excel Web App.
If the JSON is an array of objects, each object will be treated as a row in the CSV.
If the JSON is a single object, it will be converted into a CSV with key-value pairs.
The CSV will include headers based on the keys in the JSON objects.
This tool returns CSV-formatted data that can be easily converted/imported to Excel.
Options Object
The options object can contain the following properties:
Property | Type | Default | Description |
proCode | string | "" | Pro Code JSON to Excel service. |
jsonMode | string | "flat" | Format mode for JSON output: "nested", or "flat" |
delimiter | string | "." | Delimiter character for nested JSON keys when using jsonMode: "nested", acceptable delimiters are ".", "_", "__", "/". |
maxDepth | string | "unlimited" | Maximum depth for nested JSON objects when using jsonMode: "nested". For maxDepth, "unlimited", "1" ~ "20" acceptable. |
Note:
Example Prompt 1:
Convert the following JSON data into CSV format:
[
{"Name": "John Doe", "Age": 25, "IsStudent": false},
{"Name": "Jane Smith", "Age": 30, "IsStudent": true}
]Example Prompt 2:
Convert the following JSON object into CSV format:
{
"Name": "John Doe",
"Age": 25,
"IsStudent": false,
"Courses": ["Math", "Science"]
}json_to_excel_mcp_from_url
Converts JSON data from a provided URL into Excel data.
Parameters
Parameter | Type | Required | Description |
url | string | Yes | URL pointing to a JSON file (.json) |
options | object | No | Optional configuration object for customizing the conversion process. |
Note:
The url should be publicly accessible.
The JSON file should be in .json format.
The JSON file should contain a valid JSON array or object. JSON schema available at JSON Schema and validator available at JSON to Excel Web App.
If the JSON is an array of objects, each object will be treated as a row in the CSV.
If the JSON is a single object, it will be converted into a CSV with key-value pairs.
This tool returns CSV-formatted data that can be easily converted/imported to Excel.
Options Object
The options object can contain the following properties:
Property | Type | Default | Description |
proCode | string | "" | Pro Code for JSON to Excel service. |
jsonMode | string | "flat" | Format mode for JSON output: "nested", or "flat" |
delimiter | string | "." | Delimiter character for nested JSON keys when using jsonMode: "nested", acceptable delimiters are ".", "_", "__", "/". |
maxDepth | string | "unlimited" | Maximum depth for nested JSON objects when using jsonMode: "nested". For maxDepth, "unlimited", "1" ~ "20" acceptable. |
Note:
If you do not have a valid Pro Code, max 6 rows will be processed.
Detailed conversion rules can be found in Pro Features.
Example Prompt 1
Convert JSON file to Excel, file URL: https://mcp.wtsolutions.cn/example.json
Example Prompt 2
(applicable only when you do not have a URL and working with online AI LLM)
I've just uploaded one .json file to you, please extract its URL and send it to MCP tool 'json_to_excel_mcp_from_url', for JSON to Excel conversion.
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 CSV data string, '' if there was an error. This CSV data can be easily imported into Excel. |
Example Success Response
{
"content": [{
"type": "text",
"text": "{\"isError\":false,\"msg\":\"success\",\"data\":\"Name,Age,IsStudent\nJohn Doe,25,false\nJane Smith,30,true\"}"
}]
}Above is the response from MCP tool, and in most cases your LLM should interpret the response and present you with a JSON object, for example as below.
Note, different LLM models may have different ways to interpret the JSON object, so please check if the JSON object is correctly interpreted by your LLM model.
{
"isError": false,
"msg": "success",
"data": "Name,Age,IsStudent\nJohn Doe,25,false\nJane Smith,30,true"
}Example Failed Response
{
"content": [{
"type": "text",
"text": "{\"isError\": true, \"msg\": \"Invalid JSON format\", \"data\": \"\"}"
}]
}Above is the response from MCP tool, and in most cases your LLM should interpret the response and present you with a JSON object, for example as below.
Note, different LLM models may have different ways to interpret the JSON object, so please check if the response is correctly interpreted by your LLM model.
{
"isError": true,
"msg": "Invalid JSON format",
"data": ""
}or it is also possible that your LLM would say "Invalid JSON format, please provide a valid JSON string" to you.
Data Type Handling
The API automatically handles different data types in JSON:
Numbers: Converted to numeric values in CSV
Booleans: Converted to 'true'/'false' strings
Strings: Escaped and quoted if necessary
Arrays: Converted to JSON.stringify array string
Objects: Converted to JSON.stringify object string
Error Handling
The MCP returns descriptive error messages for common issues:
Invalid JSON format: When input data is not a valid JSON stringEmpty JSON data: When input data is an empty JSON stringNetwork 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 foundServer Internal Error: When an unexpected error occursPro Code Invalid: When the provided Pro Code is invalid or not subscribedMax 6 rows processed: When no valid Pro Code is provided, only the first 6 rows of data will be processed
Service Agreement and Privacy Policy
By using JSON to Excel MCP, you agree to the service agreement, and privacy policy.
Pricing
Free version, max 6 rows processed. Pro version, unlimited data processing.
Please refer to the pricing page for more details.
Available Tools
2 toolsjson_to_excel_mcp_from_dataJSON to Excel MCP by WTSolutions - from dataA
Convert JSON data to CSV data. If you do not have a Pro Code, please pass only the data parameter, and do not pass the options parameter.
Inputs: data (required), options.
json_to_excel_mcp_from_urlJSON to Excel MCP by WTSolutions - from urlB
Convert JSON data from publicly accessible URL(.json format) to CSV data. If you do not have a Pro Code, please pass only the url parameter, and do not pass the options parameter.
Inputs: url (required), options.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: one processes JSON data directly, while the other fetches JSON from a URL before conversion. There is no overlap or ambiguity between them.
Both tools follow a consistent verb_noun pattern with 'json_to_excel_mcp_from_' prefix, differentiated by 'data' and 'url' suffixes. The naming is perfectly uniform and predictable.
Two tools are borderline for a JSON-to-Excel conversion server, as it feels thin but covers the basic input methods (direct data and URL). It's reasonable but could benefit from additional tools like format customization or batch processing.
The server covers the core conversion functionality from JSON to CSV (implied Excel format) for both data and URL inputs, with minor gaps such as lack of output format options or error handling tools, but agents can work around these.
Maintenance
Related MCP Connectors
Hosted MCP: CSV/XLSX to JSON rows and text-PDF pages; private uploads or URLs, no API key.
Turn a JSON file or pasted JSON into an Excel workbook and a CSV, right in the chat.
Remote MCP: JSON repair, JSON Schema validation, JSON to TypeScript, CSV to JSON and JSON to CSV.
Related MCP Servers
- FlicenseAqualityCmaintenanceThe Excel to JSON MCP provides a standardized interface for converting Excel and CSV data into JSON format using the Model Context Protocol.211 npm8-
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server that generates Excel templates conforming to JXLS specifications, supporting both JSON objects and arrays data formats.1MIT
- AlicenseNot gradedqualityDmaintenanceBidirectional CSV ↔️ JSON ↔️ Markdown transformer exposed as an HTTP-based MCP server, enabling format conversion through natural language.46 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP clients to create and manipulate Excel workbooks programmatically, including sheets, cell data, formatting, formulas, charts, and pivot tables.ISC