# Key-Value Extractor

> Use this tool when you need to extract structured key-value pairs from unstructured or noisy text, such as emails, receipts, or documents, and require accurate information retrieval with proper data type maintenance. It solves problems of data extraction from messy text by leveraging language detection, named entity recognition, and large language models. The tool accepts Japanese, English, and Chinese text inputs and outputs results in JSON, YAML, or TOML formats.

Canonical page: https://skillsregistry.net/skills/kunihiros-kv-extractor  
JSON: https://api.skillsregistry.net/v1/skills/kunihiros-kv-extractor

## Description

The Flexible Key-Value Extraction MCP Server extracts structured key-value pairs from unstructured or noisy text using a multi-step pipeline powered by GPT-4.1-mini and pydantic-ai. Developed by KunihiroS, it performs language detection and named entity recognition with spaCy before using LLMs for extraction, type annotation, evaluation, and normalization. The server supports Japanese, English, and Chinese inputs, ensures type safety through Pydantic validation, and returns results in JSON, YAML, or TOML formats. It's particularly valuable for applications requiring information extraction from messy text like emails, receipts, or documents where maintaining proper data types and structure is essential.

## Trust

- **Trust score (0–1):** 0.65
- **Verification tier:** scanned
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** devops-ci
- **Updated:** 2026-09-02

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/kunihiros-kv-extractor)
- **Repository:** <https://github.com/kunihiros/kv-extractor-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "kunihiros-kv-extractor"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/kunihiros-kv-extractor` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/kunihiros-kv-extractor/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
