Science & Education
Codon to Amino Acid Translator
Translate a DNA or mRNA sequence into protein using the standard genetic code. Scans all 6 reading frames (forward and reverse complement), marks start (AUG) and stop codons, identifies the longest open reading frames (ORFs), and shows the amino-acid composition with color-coded residue types. Supports T→U normalisation and reverse-complement translation.
Quick start
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/codon-amino-acid-translator' \
-H 'Content-Type: application/json' \
-d '{"sequence":"AUGGCCAUAUAA","strand":"both","display":"best","maxCodons":60,"precision":1}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
POST https://api.elysiatools.com/en/api/tools/codon-amino-acid-translatorParameters
| Name | Type | Required | Description |
|---|---|---|---|
| sequence | textarea | Yes | — |
| strand | select | No | — |
| display | select | No | — |
| maxCodons | number | No | 0 = show all codons. Long sequences are truncated for display. |
| precision | number | Yes | — |
Response format
MCP integration
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Server configuration
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-codon-amino-acid-translator": {
"name": "codon-amino-acid-translator",
"description": "Translate a DNA or mRNA sequence into protein using the standard genetic code. Scans all 6 reading frames (forward and reverse complement), marks start (AUG) and stop codons, identifies the longest open reading frames (ORFs), and shows the amino-acid composition with color-coded residue types. Supports T→U normalisation and reverse-complement translation.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=codon-amino-acid-translator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}List available tools
After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Call this tool
Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "codon-amino-acid-translator",
"arguments": {
"sequence": "AUGGCCAUAUAA",
"strand": "both",
"display": "best",
"maxCodons": 60,
"precision": 1
}
}
}