Connect Claude, ChatGPT, Cursor or VS Code to our free MCP server, and your AI assistant can translate text to Morse code and back. No account or API key.
MCP (Model Context Protocol) is an open standard that lets AI assistants use tools on other websites. Add this server to your assistant, and it can translate text to Morse code, decode Morse code, make the Morse code sound as an audio file and show the Morse code alphabet, with the same rules as our translator.
Server URL
https://morsecodetranslator.com/mcp/
Transport
Streamable HTTP
Sign-in
None: no account, no API key
Access
Read-only
Limit
60 requests a minute
Connect Your Assistant
Every client below uses the server URL above. The name morse is only a label: you can choose another one.
Claude Code
Run this command in a terminal. Add --scope user before the name to use the server in all your projects.
Terminal: Claude Code
claude mcp add --transport http morse https://morsecodetranslator.com/mcp/
Claude
On claude.ai and in the Claude apps (Free, Pro and Max plans; on Team and Enterprise an owner adds it first, in Organization settings, Connectors):
Open Customize, then Connectors.
Select + Add, then Add custom connector.
Enter the name Morse Code Translator and the server URL, then select Continue.
Check the detected settings and select Continue.
Under Authentication, choose No sign in, then select Add.
ChatGPT
Where your plan and workspace allow custom MCP servers:
Open chatgpt.com/plugins, select the plus button, then Add custom MCP server.
Enter the name Morse Code Translator and the server URL.
Choose No authentication, accept the warning, then select Create as a plugin.
Install the plugin from your personal plugins, then use it in a conversation.
Cursor
Add the server to ~/.cursor/mcp.json for all your projects, or to .cursor/mcp.json in one project:
Add the server to .mcp.json in the workspace root, or to ~/.copilot/mcp-config.json for all your workspaces. You can also run MCP: Add Server from the Command Palette:
Most other clients take the server URL directly. A client that can only start local servers can reach this one through mcp-remote, which needs Node.js:
After you connect the server, ask your assistant in your own words, for example:
Translate “Happy birthday” into Morse code.
What does .. / .-.. --- ...- . / -.-- --- ..- mean?
Show me the Morse code for the digits 0 to 9.
Write my name in Morse code and give me a link to hear it.
Play “SOS” in Morse code at 15 words per minute.
Tools
Every tool is read-only. Each translation ends with a link to our translator with the code already in it, where you can play the code as sound or download it.
text_to_morseText to Morse code
Translates text into International Morse code (letters A-Z, digits 0-9 and common punctuation). Returns the code with "." and "-", one space between letters and " / " between words, lists any characters that have no Morse code, and gives a link to the translator on morsecodetranslator.com with the code filled in.
textstring, required
The text to translate, at most 1000 characters.
Arguments
{
"text": "Hello world"
}
Result
Morse code:
.... . .-.. .-.. --- / .-- --- .-. .-.. -..
Open it in the Morse code translator to play the sound or download it: https://morsecodetranslator.com/?c=....%20.%20.-..%20.-..%20---%20%2F%20.--%20---%20.-.%20.-..%20-..
morse_to_textMorse code to text
Decodes International Morse code into text. Write dots as "." and dashes as "-"; separate letters with a space and words with " / ", a line break or three spaces. Returns the text in capital letters, lists any groups that are not Morse characters (shown as # in the text), and gives a link to the translator on morsecodetranslator.com with the code filled in.
morsestring, required
The Morse code to decode, at most 5000 characters, for example ".... .. / - .... . .-. .".
Text:
HELLO WORLD
Open it in the Morse code translator to play the sound or download it: https://morsecodetranslator.com/?c=....%20.%20.-..%20.-..%20---%20%2F%20.--%20---%20.-.%20.-..%20-..
morse_audioMorse code audio
Translates text into International Morse code and returns the sound as a WAV audio file (8 kHz mono), with the code as text and a link to the translator on morsecodetranslator.com. Choose the speed in words per minute (5-40, default 20) and the tone in hertz (300-1000, default 600). The sound can be at most 60 seconds long: use a higher speed or a shorter text for more.
textstring, required
The text to play as Morse code, at most 200 characters.
wpminteger
The speed in words per minute, 5 to 40. Default: 20.
frequencyinteger
The tone in hertz, 300 to 1000. Default: 600.
Arguments
{
"text": "SOS"
}
Result
Morse code:
... --- ...
Audio: WAV, 1.8 seconds, 20 WPM, 600 Hz.
Open it in the Morse code translator to play the sound or download it: https://morsecodetranslator.com/?c=...%20---%20...
[Audio: audio/wav, 14.3 KB, base64 in the result]
morse_alphabetMorse code alphabet
Returns the International Morse code chart: the letters A-Z, the digits 0-9 and punctuation, each with its code.
This tool takes no input.
Result
International Morse code: "." is a dot, "-" a dash. One space separates letters, " / " separates words.
Letters:
A .- B -... C -.-. D -..
E . F ..-. G --. H ....
I .. J .--- K -.- L .-..
M -- N -. O --- P .--.
Q --.- R .-. S ... T -
U ..- V ...- W .-- X -..-
Y -.-- Z --..
Digits:
0 ----- 1 .---- 2 ..--- 3 ...--
4 ....- 5 ..... 6 -.... 7 --...
8 ---.. 9 ----.
Punctuation:
. .-.-.- , --..-- ? ..--.. ' .----.
! -.-.-- / -..-. ( -.--. ) -.--.-
& .-... : ---... ; -.-.-. = -...-
+ .-.-. - -....- _ ..--.- " .-..-.
$ ...-..- @ .--.-. ¿ ..-.- ¡ --...-
The chart with sound on the site: https://morsecodetranslator.com/alphabet/
Call It Without an Assistant
The server speaks JSON-RPC 2.0 over HTTP POST, and needs no session. To test it, call a tool with curl:
Each IP address (for IPv6, each /64 network) can send 60 requests a
minute. Over the limit, the server answers with HTTP 429 and a
Retry-After header that says how many seconds to wait.
text_to_morse takes up to 1,000 characters in one call,
morse_to_text up to 5,000 and morse_audio up to 200, for a sound
of at most 60 seconds. Your assistant can split longer text into
parts.
Characters that have no Morse code are left out of the code and listed
in the result. Morse code groups that are not a character show as #
in the text.
When an argument is missing or too long, the tool result has
isError:true and a message that says what to change.
Data and Privacy
The server needs no account and sets no cookie. It translates the text
or Morse code that it gets and does not store it. Your assistant sends
only the tool arguments, not your conversation. Like every request to
our servers, a request can appear in our server logs, as our
Privacy Policy explains.
Questions
Does it cost anything?
No. The server is free, like the translator on this site.
Which characters does it know?
International Morse code: the letters A to Z, accented Latin letters,
the digits 0 to 9 and common punctuation. For Japanese and Russian Morse
code, binary and the NATO alphabet, use our other translators.
Can it play the sound?
Yes, with morse_audio. It returns the sound as a WAV file, at the
speed (5 to 40 words per minute) and the tone (300 to 1000 Hz) that you
ask for, up to 60 seconds long. Your assistant app decides if it plays
the file: some apps show only the text. Each translation also ends with
a link to our translator with the code filled in. There you can play
it, change the speed and the tone, and download it.
Can I use it in my own app?
Yes. Any MCP client can call it, within the limit above. For a
translator on your own website, see Embed.