Skip to main content
Glama
wayknow

wayknow/clearjson

by wayknow

ClearJSON

npm version Chrome Web Store Edge Add-ons License

プライバシー最優先のブラウザJSONビューア。トラッキングゼロ。完全ローカル。さらにAIエージェント向けのMCPサーバーも備えています。

ClearJSONは、ブラウザ内のJSONレスポンスを自動的に検出して整形するChrome拡張機能です。JSON Formatterの物議を受けて開発されました — 広告を注入したり、ユーザーを追跡したり、データを販売したりすることは決してありません。

MCPサーバー(新機能)

AIエージェント(Claude Code など)向け: npx -y clearjson-mcp

{
  "mcpServers": {
    "clearjson": {
      "command": "npx",
      "args": ["-y", "clearjson-mcp"]
    }
  }
}

10のツール — 整形、バリデーション、検索、JSONPathクエリ、ディープ差分、変換(CSV/TSV/YAML/TypeScript)、さらにライセンス管理。大容量ファイルでも安全な唯一のJSON MCPサーバーです。npmmcp.so で利用できます。詳細な設計思想については AGENT_FIRST.md を参照してください。

Related MCP server: agent-utils-mcp

機能

無料(永久に)

  • ✅ JSON/JSON-LD/JSON:API/NDJSONを自動検出・整形

  • ✅ インデントガイド付きの折りたたみ可能なツリービュー

  • ✅ シンタックスハイライト(文字列、数値、ブール値、null)

  • ✅ 10テーマ(Dark、Light、Sepia、Monokai、Dracula、Nord、One Dark、Solarized Light、GitHub、High Contrast)

  • ✅ システム追従のテーマ切り替え

  • ✅ クリックで値をコピー、右クリックでJSONPathを取得

  • ✅ 自動検出されたリンク(クリック可能)と画像プレビュー(ホバー)

  • ✅ Raw表示での行番号

  • ✅ 統計バー(ノード数、深さ、ファイルサイズ、解析時間)

  • ✅ キーボードショートカット([ 折りたたみ、] 展開、D テーマ、R Raw、Enter 検索ナビゲーション)

  • ✅ スタンドアロンビューア(JSONの貼り付け、ドラッグ&ドロップ、ファイル読み込み)

  • ✅ URL除外リスト(正規表現パターン)

  • ✅ 100%ローカル処理 — ネットワークリクエストはゼロ

Pro($2.99/月 または $19.99/年)

  • 💰 大容量ファイルの仮想スクロール(100MB以上でもフリーズしない)

  • 💰 高度な検索(正規表現、一致部分のハイライト、結果のナビゲーション)

  • 💰 JWT自動デコード(ヘッダー + ペイロードのインライン表示、有効期限の検出)

  • 💰 マルチフォーマットエクスポート(CSV、TSV、YAML、再帰的推論によるTypeScript型)

  • 💰 30のプレミアムテーマ(Catppuccin、Tokyo Night、Gruvbox、Nord、Dracula、Monokai…)

  • 💰 カスタムキーボードショートカット(6つの設定可能なバインディング)

インストール

Chrome Web Store

ClearJSON無料版をインストール

Edge Add-ons

EdgeでClearJSONを入手

パッケージ化されていない拡張機能を読み込む(開発)

  1. このリポジトリをクローンします

  2. chrome://extensions/ にアクセスします

  3. 「デベロッパーモード」を有効にします

  4. 「パッケージ化されていない拡張機能を読み込む」をクリックし、プロジェクトフォルダを選択します

プロジェクト構成

clearjson/
├── manifest.json              # Chrome Extension manifest (MV3)
├── server/                    # License server (Cloudflare Worker + D1)
│   ├── src/index.js           # API: verify/generate/webhook/admin
│   ├── schema.sql             # D1 database schema
│   └── wrangler.toml          # Worker config
├── clearjson-mcp/             # MCP server (npm: clearjson-mcp)
│   ├── package.json
│   ├── src/
│   │   ├── index.js           # MCP entry point (stdio transport)
│   │   ├── core/              # Core logic (parser, exporter, license)
│   │   └── tools/             # 7 JSON tools + 3 license tools
│   ├── tests/                 # 49 MCP unit tests
│   └── README.md
├── src/
│   ├── content/
│   │   ├── content.js         # Content script (JSON detection + viewer injection)
│   │   └── content.css        # Base styles + CSS variable theming
│   ├── viewer/
│   │   ├── viewer.html        # Standalone viewer page
│   │   └── viewer.js          # Viewer logic
│   ├── popup/
│   │   ├── popup.html         # Extension toolbar popup
│   │   ├── popup.js
│   │   └── popup.css
│   └── utils/
│       ├── parser.js          # JSON detection + parsing
│       ├── tokenizer.js       # Syntax highlighting tokenizer
│       ├── themes.js          # 30 theme definitions
│       ├── license.js         # Pro license system
│       ├── export.js          # CSV/TSV/YAML/TypeScript export
│       ├── stream-parser.js   # Web Worker streaming parser
│       ├── virtual-tree.js    # Virtual scrolling tree view
│       └── tree.js            # Standard tree view renderer
├── tests/                     # 136 unit tests (Node built-in runner)
│   ├── helpers/setup.js
│   ├── test-parser.js
│   ├── test-tokenizer.js
│   ├── test-jwt.js
│   ├── test-license.js
│   └── test-export.js
├── test-data/                 # Test data + automation scripts
│   ├── complex-api-response.json
│   ├── jwt-test.json
│   ├── users-array.json
│   ├── large-array.json       # 2.2 MB for Pro gate testing
│   ├── server.js              # Local test server (port 8765)
│   ├── run-checklist.js       # 130-item static analysis
│   ├── browser-test.js        # 21-item browser automation
│   └── TEST-CHECKLIST.md      # 43-item manual checklist
├── icons/
│   ├── icon.svg
│   ├── icon16.png
│   ├── icon48.png
│   └── icon128.png
└── README.md

開発

# For development, load the extension unpacked:
# 1. chrome://extensions/ → Developer mode ON
# 2. Load unpacked → select the project root
# 3. Edit files and click refresh on the extension card

# Run unit tests (zero dependencies, Node 18+):
npm test                    # 136 tests (Chrome extension)
cd clearjson-mcp && npm test   # 49 tests (MCP server)

# Run static analysis checklist (130 checks):
node test-data/run-checklist.js

# Run browser automation tests (requires puppeteer):
node test-data/browser-test.js

# Start local test server (Pro auto-enabled on localhost:8765):
node test-data/server.js

現在のステータス(v1.1.1 — CWSで公開中)

すべての機能が実装済みです。ProはCreem経由で利用できます($2.99/月 または $19.99/年)。 136件のユニットテストが成功しています。MCPサーバー v1.1.0 をnpmに公開済みです。

プロジェクトの完全な状態、アーキテクチャ上の決定、リリースチェックリストについては STATUS.md を参照してください。

プライバシー

ClearJSONはすべてをローカルで処理します。私たちは約束します:

  • ❌ どこにもデータを送信しません

  • ❌ アナリティクスやテレメトリは一切ありません

  • ❌ トラッキングはありません

  • ❌ 広告はありません

  • ❌ アカウントは不要です

  • ❌ サードパーティ製スクリプトは一切ありません

当拡張機能の権限は最小限です:

  • storage — テーマ設定を保存します

  • activeTab — 現在のタブでJSONを整形します

  • ホスト権限 — JSONコンテンツタイプを検出するためにのみ必要です。JSON以外のページではページコンテンツは読み取られません

リンク

なぜ「ClearJSON」なのか?

元のJSON Formatter(ユーザー200万人以上、10年間オープンソース)が売却され、広告の注入とユーザー追跡を始めた後、開発者には信頼できる代替手段が必要になりました。ClearJSONは、ユーザーを搾取するのではなく尊重する持続可能なProモデルを備えた、その代替手段として構築されています。

Install Server
A
license - permissive license
A
quality
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

  • F
    license
    C
    quality
    D
    maintenance
    An efficient MCP server for performing accurate, deep comparisons between JSON objects or strings using the deepdiff engine. It provides AI agents with standardized difference reports, supporting nested structures and various input formats to ensure precise data analysis.
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    Swiss-army-knife utility MCP server for AI agents. 18 tools for JSON validation/formatting, base64 encode/decode, hash generation, UUID generation, URL parsing, regex testing, markdown↔HTML conversion, text stats, slug generation, datetime conversion, cron parsing, text diffing, CSV↔JSON conversion, and JWT decoding. Zero API Key required
    5
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that provides tools for JSON validation, diffing, and transformation operations such as flattening and renaming. It also enables data format conversion between JSON, CSV, and YAML to streamline data processing for AI agents.
    40
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Developer-focused MCP server for code analysis and local engineering workflows. Provides tools for JSON repair, encoding fixes, import organization, format conversion, diff inspection, and regex testing.
    22
    153
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • JSON tools MCP.

  • Remote MCP server: 10 developer utilities (base64, JWT, DNS, UUID, URL, JSON, UA, IP lookup).

  • MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol

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/wayknow/clearjson'

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