Convert To Json

by tonicco.huggingface.tonic/convert-to-json

Convert Free Text Into Json Using AI

  • Remote endpoint
  • 2 tools
  • MIT

Uptime

Checked  · every day

0%from 4 days of checks

Up without downtime on 0 of 3 days with data; down 3785 minutes in all, the longest 1440 minutes on 1 November.

  • No downtime
  • Degraded
  • Down over 5 minutes
  • No data
  • Not checked yet

How far each check got

  • Reached the address 100%
  • Completed the handshake 0.0%
  • Listed its tools 0.0%
Every day
DayResultChecksMedian
3 Nov (today)No verdict yet0–
2 NovDown 1440 minutes1of 1–
1 NovDown 1440 minutes1of 1–
31 OctDown 905 minutes11–

A failure counts as down time only when a second check five minutes later fails too. How we check

Connect to the publisher's own endpoint

Add to mcp.json (Program › Install › Edit mcp.json):

{
  "mcpServers": {
    "convert-to-json": {
      "url": "https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse"
    }
  }
}
For agents: the install prompt

Every step above as one Markdown text, for an assistant installing it for you.

# Install the MCP server Convert To Json (`co.huggingface.tonic/convert-to-json`)

Its page: https://plug.directory/servers/co.huggingface.tonic/convert-to-json

It runs on the publisher's servers; the client connects to its URL.

Use the section for the person's client.

## Claude Desktop

Paste into Settings › Connectors › Add custom connector:

```text
https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse
```

## Claude Code

Run in a terminal:

```sh
claude mcp add --transport sse convert-to-json https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse
```

## Cursor, Devin Desktop, LM Studio, Gemini CLI, oterm, ECA

Merge into the place for the person's client:

- Cursor: ~/.cursor/mcp.json
- Devin Desktop: ~/.config/devin/mcp_config.json
- LM Studio: mcp.json (Program › Install › Edit mcp.json)
- Gemini CLI: ~/.gemini/settings.json
- oterm: config.json in oterm's data folder (~/Library/Application Support/oterm on macOS, ~/.local/share/oterm on Linux, %APPDATA%\oterm on Windows)
- ECA: ~/.config/eca/config.json (global) or .eca/config.json in the project

```json
{
  "mcpServers": {
    "convert-to-json": {
      "url": "https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

## VS Code

Merge into .vscode/mcp.json:

```json
{
  "servers": {
    "convert-to-json": {
      "type": "sse",
      "url": "https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

## Zed

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Cline, AnythingLLM, Augment Code

Merge into the place for the person's client:

- Cline: cline_mcp_settings.json (MCP Servers › Configure › Configure MCP Servers)
- AnythingLLM: anythingllm_mcp_servers.json in the AnythingLLM storage plugins directory
- Augment Code: Augment Settings Panel – MCP section – Import from JSON (VS Code extension)

```json
{
  "mcpServers": {
    "convert-to-json": {
      "type": "sse",
      "url": "https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

## Continue

Merge into ~/.continue/config.yaml:

```yaml
mcpServers:
  - name: "convert-to-json"
    type: sse
    url: "https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse"
```

## Goose

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Codex

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## mcp-client-cli, TUUI, BoltAI, Bob Shell, Kiro, Kiro CLI

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Agenvoy

This server's endpoint speaks only SSE, which this client's documentation does not list among its transports; use another client for it.

## Amp

Merge into ~/.config/amp/settings.json (user) or .amp/settings.json (workspace):

```json
{
  "amp.mcpServers": {
    "convert-to-json": {
      "url": "https://tonic-convert-to-json.hf.space/gradio_api/mcp/sse"
    }
  }
}
```

Then restart the client, or reload its MCP servers, and ask it to list the server's tools to confirm it started.

Tools 2

  • Convert_to_Json_text_to_json Convert plain text to structured JSON using Osmosis Structure model. This function takes unstructured text and optionally a JSON schema, then uses the Osmosis Structure model to convert it into well-formatted JSON. The output will follow the provided schema if one is given, otherwise it will create a logical structure based on the input text. Returns: A JSON string containing the structured data, or an error message if something went wrong., , >>> input_text = "The conference will be held on June 10-12, 2024 at the Grand Hotel.", "object", "properties": {"event_start_date": {"type": "string", "format": "date"}}}', >>> result = text_to_json(input_text, schema), >>> print(result), {, "2024-06-10", }
  • Convert_to_Json_text_to_json_ Convert plain text to structured JSON using Osmosis Structure model. This function takes unstructured text and optionally a JSON schema, then uses the Osmosis Structure model to convert it into well-formatted JSON. The output will follow the provided schema if one is given, otherwise it will create a logical structure based on the input text. Returns: A JSON string containing the structured data, or an error message if something went wrong., , >>> input_text = "The conference will be held on June 10-12, 2024 at the Grand Hotel.", "object", "properties": {"event_start_date": {"type": "string", "format": "date"}}}', >>> result = text_to_json(input_text, schema), >>> print(result), {, "2024-06-10", }

From Hugging Face Spaces. Report a problem