JSON Mapping & Context MCP Servers

JSON Mapping & Context MCP Servers

Enables schema-aware exploration of JSON data by uploading samples, flattening nested structures, and using heuristic search with token overlap and fuzzy matching to find field paths for target names, accelerating ETL and API onboarding workflows.

Category
Visit Server

README

JSON Mapping & Context MCP Servers

This repo hosts two small MCP servers that showcase schema-aware JSON exploration and live data retrieval:

  • JSON Mapping Finder (json_mapping_server.py): Upload any JSON sample, flatten its schema, and use heuristic search (token overlap + fuzzy matching) to find paths for target field names. Great for accelerating ETL/API onboarding.

It is intentionally lightweight and fully HTTP-based for easy inspection with the MCP Inspector or Copilot Chat.

Highlights

  • Schema-aware parsing: Flattens nested JSON, captures types/examples, and tracks depth.
  • Heuristic mapping: Token overlap, substring checks, and fuzzy matching to suggest likely field paths.
  • Plug-and-play MCP: Uses StreamableHTTPSessionManager for modern MCP HTTP transport.
  • Portable: Pure Python, no external services beyond Open-Meteo.

Quick Start

Prereqs: Python 3.12+ and a virtual environment (.venv recommended).

python -m venv .venv
source .venv/bin/activate
pip install -r <(python - <<'PY'
import tomllib, sys
deps = tomllib.load(open("pyproject.toml","rb"))["project"]["dependencies"]
print("\n".join(deps))
PY)

Run the JSON Mapping Finder (port 3004)

.venv/bin/python json_mapping_server.py

Then inspect with:

npx -y @modelcontextprotocol/inspector http://localhost:3004

Exposed tools:

  • upload_json_sample(json_data): load a JSON sample (e.g., sample_json.json) and build the schema index.
  • list_schema(limit=200): view flattened paths with type + example values.
  • search_fields(query, top_k=10): find likely paths for a single query.
  • map_targets(targets, top_k=5): bulk mapping suggestions for multiple field names.
  • clear_samples(): reset the index.

Sample Data

  • sample_json.json: a non-medical, nested sample for testing the JSON Mapping Finder.

Configuration

If you want to wire these into Copilot Chat, add entries like:

{
  "mcpServers": {
    "json-mapping": { "url": "http://localhost:3004" }
  }
}

How it works (JSON Mapping Finder)

  1. Indexing: Walks objects/arrays, records paths ($.foo.bar[*]), types, example values, and depth.
  2. Scoring: Combines exact/substring boosts, Jaccard token overlap, and fuzzy ratio; lightly penalizes deep paths.
  3. Suggestions: Returns top matches with scores so you can review/accept quickly.

Notes

  • No API keys required.
  • All code is ASCII-only and dependency-light.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured