language
Pack: iso-codes · Endpoint: https://gateway.pipeworx.io/iso-codes/mcp
“Language code for [X]” / “ISO 639-3 / 639-1 for [language]” / “what’s the code for [English / Spanish]” — language record (ISO 639-1/639-3) by name or code. Returns 2-letter, 3-letter, bibliographic forms.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes |
Example call
Arguments
{
"query": "English"
}
curl
curl -X POST https://gateway.pipeworx.io/iso-codes/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"language","arguments":{"query":"English"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('language', {
"query": "English"
});
More examples
{
"query": "en"
}
{
"query": "fra"
}
Response shape
| Field | Type | Description |
|---|---|---|
alpha_2 | string | ISO 639-1 two-letter code |
alpha_3 | string | ISO 639-3 three-letter code |
bibliographic | string | Bibliographic code |
name | string | Language name |
inverted_name | string | Inverted language name |
Full JSON Schema
{
"type": [
"object",
"null"
],
"properties": {
"alpha_2": {
"type": "string",
"description": "ISO 639-1 two-letter code"
},
"alpha_3": {
"type": "string",
"description": "ISO 639-3 three-letter code"
},
"bibliographic": {
"type": "string",
"description": "Bibliographic code"
},
"name": {
"type": "string",
"description": "Language name"
},
"inverted_name": {
"type": "string",
"description": "Inverted language name"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"iso-codes": {
"url": "https://gateway.pipeworx.io/iso-codes/mcp"
}
}
}
See Getting Started for client-specific install steps.