Accept Language Parser

Accept Language Parser MCP Connector for Claude

A+

Parse HTTP Accept-Language headers into priority-ordered language preferences with quality weights.

1 tools Official Updated Jun 28, 2026 Official Vinkius Partner

When a global routing agent reads Accept-Language: en-US,pt-BR;q=0.9,fr;q=0.8, it needs to correctly parse quality weights and determine the user's preferred language. This MCP does it deterministically.

The Superpowers

  • RFC 7231 Compliant: Parses quality values (q-factors) exactly as specified by the HTTP standard.
  • Priority Ordered: Returns languages sorted by quality weight, with the preferred language first.
http-headerslocalizationlanguage-detectionrfc-complianceparsingweb-standards

1 tools expose this connector's capabilities to your AI agent.

parse_accept_language

Pass the raw header value (e.g. "en-US,pt-BR;q=0.9,fr;q=0.8") and receive a priority-ordered list of languages with their quality weights. Never try to parse quality weights manually. Parses HTTP Accept-Language headers into an ordered list of user language preferences with quality weights. Essential for global routing and i18n agents

See how to talk to your AI agent using Accept Language Parser.

Parse this Accept-Language header: en-US,pt-BR;q=0.9,fr;q=0.8

Preferred: en-US (q=1) > pt-BR (q=0.9) > fr (q=0.8)

What is the user's preferred language from: de,en-GB;q=0.7,ja;q=0.3

Preferred: de (q=1, German)

How many languages does the browser support based on this header: zh-CN,zh;q=0.9,en;q=0.8,ko;q=0.7,ar;q=0.6

5 languages detected: zh-CN, zh, en, ko, ar

A value from 0 to 1 indicating preference. `q=1` (default) is highest priority. `q=0` means the language is explicitly not accepted.

Related Connectors