This guide covers the operating skills that come with fldigi-mcp and n3fjp-mcp. They teach an agent to key the transmitter and return to receive the moment an over ends. They also teach it to run a contest QSO from CQ to a logged contact, and to cope with what a real band throws at it. Every rule in this guide was tested on the air.
There are three skills. The table shows what each one governs and what you get from it. Each skill has a full page of its own inside.
| # | Skill | Ships with | What it governs | What you get |
|---|---|---|---|---|
| 01 | fldigi-operating | fldigi-mcp | The radio: keying the transmitter, returning to receive the instant an over ends, and polling the RX stream so no caller is missed. | Instant TX→RX handoff + a caller never ignored |
| 02 | contest-operating | n3fjp-mcp | The contest: the QSO state machine from CQ to logged contact, the special-case playbook, and verified N3FJP logging. | Completed exchanges + a clean, duplicate-free log |
| 03 | signal-hunting | fldigi-mcp | The band: naming each signal's mode from the audio, ranking the station that sits still and calls CQ, tuning to it, and reading fldigi's Signal Browser where the proposed browser.* patch is present. | The right station found, named and tuned before you call |
You do not invoke these skills by name. The agent does, when you say things like “call CQ on 20 meters” or “run the Field Day loop.” The skills are the agent's operating procedures. This guide is for the human at the station. It explains what the agent will do for you and how to check that it is doing it right.
The skills and the servers install separately. A desktop connector
(.mcpb) installs only its server, so you add the skills yourself. You do this
once.
fldigi-mcp.mcpb,
fldigi-operating.skill and signal-hunting.skill. Under n3fjp-mcp,
click n3fjp-mcp.mcpb and contest-operating.skill.fldigi-mcp.mcpb onto that page. If dragging does not work, click Advanced settings, then Install extension, and choose the file. The new connector then shows under Settings → Customize → Connectors. Then do the same with n3fjp-mcp.mcpb.fldigi-operating.skill, signal-hunting.skill and
contest-operating.skill all at once (hold ⌘ on a Mac or Ctrl on Windows to
select several). Click Upload.Cowork in the Claude desktop app uses the same connectors and skills. You install nothing else.
~/.claude/skills/
or a project's .claude/skills/: skills/fldigi-operating/,
skills/signal-hunting/ and skills/contest-operating/.uvx fldigi-mcp, uvx n3fjp-mcp or from the repos) so the tools
the skills reference are available.The MCP servers and skills are not tied to Claude. MCP is an open standard, so other assistants and agent programs such as OpenClaw should work too. They have not been tested yet.
diagnostics tool tells you whether it is a network
problem before you blame fldigi.fldigi's XML-RPC default port is 7362. A different configured port (for example
7372) means fldigi was started on another port, or that a relay such as
mcp-host-bridge sits in between. Check FLDIGI_PORT before concluding
fldigi is down.
You do not need to know anything about AI to run this station. If you can install fldigi and type a sentence, you can operate. This chapter covers everything you need to learn.
Claude is an assistant made by Anthropic. It runs in an ordinary desktop program, the Claude Desktop app (Windows or Mac). The app looks like a messaging window. You type at the bottom and the answers appear above. Think of the two MCP servers in this project as rig-interface cables. One connects Claude to fldigi, the other connects it to N3FJP. You type plain English and Claude works the programs. The skills are the operating procedure Claude follows: when to transmit, how an exchange runs and when to log. Your fldigi and N3FJP setup does not change. Both programs run as they always have.
claude.ai/download, install like any program, and sign in
(create the account on the same page). A paid plan is recommended, because the free tier
can run out of messages in the middle of a QSO.fldigi-mcp.mcpb and n3fjp-mcp.mcpb as in Chapter B, and
enter your callsign in the fldigi-mcp settings. That callsign is the transmit gate.fldigi-operating.skill, signal-hunting.skill and
contest-operating.skill under Customize → Skills, as in Chapter B. You
only do this once.The N3FJP loggers run only on Windows. fldigi runs on Mac, Windows and Linux. That gives two common stations, shown here with example addresses. Each connector runs as its own program beside Claude Desktop and reaches fldigi or N3FJP by address: 127.0.0.1 on the same computer, the LAN address on another.
All on one Windows PC. Claude, fldigi, N3FJP and the radio are on one PC. Everything talks over 127.0.0.1.
One Windows PC. Every connection stays on 127.0.0.1.
| Socket | Computer | Listening | Who connects |
|---|---|---|---|
| 127.0.0.1:7362 | Windows | fldigi XML-RPC | fldigi-mcp |
| 127.0.0.1:1100 | Windows | N3FJP TCP API | n3fjp-mcp; fldigi, to set band and mode |
Claude and fldigi on a Mac, N3FJP on Windows. The radio stays on the Mac, connected by USB or through a RigBlaster and a USB audio adapter. N3FJP runs in a Windows virtual machine or on a Windows PC, with no radio attached. n3fjp-mcp connects directly: set its N3FJP host to your Windows address (here 192.168.1.50). Two connections cross the network, both to N3FJP's API on port 1100. The first time, macOS checks the Local Network permission, and that first try can fail with “No route to host.” Ask Claude the same question again and it connects. If it keeps failing, allow Claude under System Settings → Privacy & Security → Local Network. If an older Claude Desktop or macOS cannot reach the address at all, relay through mcp-host-bridge on the Mac (mcp-host-bridge install n3fjp --to 192.168.1.50 in Terminal) and leave N3FJP host at 127.0.0.1.
Mac and Windows. n3fjp-mcp and fldigi both connect to N3FJP across the network.
| Socket | Computer | Listening | Who connects |
|---|---|---|---|
| 127.0.0.1:7362 | Mac | fldigi XML-RPC | fldigi-mcp |
| 192.168.1.50:1100 | Windows | N3FJP TCP API | n3fjp-mcp, over the LAN; fldigi, over the LAN, to set band and mode |
Band and mode in N3FJP come from fldigi. In N3FJP, open Settings → Rig Interface (Ctrl+R), choose N3FJP API under Select Rig. Enter the Windows computer's name and port 1100 under Command to Read Frequency (for example MYPC:1100), leave Mode Determined By at Rig, and click Save Settings. In fldigi, open Configure → Config Dialog → Logging → N3FJP logs, enter N3FJP's address (127.0.0.1 on one PC, the Windows address from a Mac) and port 1100, and tick Connect to the N3FJP log server.
There are no commands to memorize and no syntax to get wrong. You type what you would tell a competent operator sitting at your rig:
| You type | What happens |
|---|---|
| What is the fldigi status? | Mode, frequency, T/R state and callsign gate. This is your pre-flight check. |
| Set the rig to 14.070 USB and BPSK31. | Claude QSYs the rig and sets the modem. |
| Call CQ Field Day until someone answers. Work them (our exchange is 2A STX), log the contact to N3FJP, then keep calling. | The full loop in this guide: CQ, listen, exchange, TU, log, repeat. Claude narrates each QSO as it happens. |
| stop | Transmission stops immediately and the radio returns to receive. Works at any moment, mid-over included. |
Claude operates the station, but you hold the license. Part 97 responsibility remains yours: supervision, station identification, and staying in the band. It is the same as having a guest operator at your key. Stay at the station while it transmits. Two safeguards are built in: with no callsign configured the station physically cannot key up, and “stop” always works.
Start on a dummy load and test only the transmit side: “call CQ once, then listen”. The rig should key, send and drop back to receive, with no carrier left on. Nobody can answer a dummy load, so there is no QSO and no log entry yet. Then connect the antenna, start the loop, and watch the first contact all the way into the log. If anything misbehaves, type “run the fldigi diagnostics” and read the answer; it distinguishes a network problem from an fldigi problem.
A QSO is a loop with four states. fldigi-operating governs the radio in every state; contest-operating decides what to say and when to log.
^r handoff is not optional.transmit → abort, which drops PTT immediately and discards queued text. The
callsign gate means an unconfigured station cannot transmit at all.Watch the loop once before you trust it. A dummy load only proves the transmit side: the CQ, the drop back to receive, and “stop”. The rest needs a real station, so on the air watch the first complete QSO: TX drop, listen window, exchange, log entry.
Six rules, inherited by both skills. Every one of them exists because we broke it once, on the air, at Field Day 2026.
^r
(via transmit → send) and fldigi drops to receive at the exact sample the last
character finishes. Polling always lags; the lag is transmitted on top of your caller.logged: true, nothing else.
N3FJP's ENTERRESPONSE can report 0 for a QSO that was written (networked mode commits
asynchronously). Blind retries on records_added: 0 produced duplicate log
records. Retry only when logged is false.2A 2A STX STX, send your callsign twice on CQ, and echo the other station's exchange back
in your TU so they can verify what you logged before you QRZ.These skills were built by running one real autonomous Field Day session and keeping the
after-action report. The full account is in
n3fjp-mcp/docs/LESSONS-FIELD-DAY-2026.md, and the worked examples in chapter G
retell it verbatim.
Governs the radio: transmit, hand off to receive, listen properly.
transmit → send "<over text>\n" (return_to_rx=true, the default)
One call: clears the TX buffer, appends ^r, keys the radio. End messages with a
real newline (\n). The two-character string ^n transmits literally.
If building an over incrementally with text → add_tx, the last fragment must end
in ^r, with nothing added after it.
| Operation | Behavior | Use for |
|---|---|---|
| ^r via transmit → send | Graceful auto-return the moment the over ends | Every normal over |
| transmit → abort | Immediate stop, discards queued text | Panic button: caller back early, wrong message, operator says stop |
| transmit → rx | Returns to RX only after the buffer drains | Almost never: slow, and not the stop button |
text → rx_length for the end position, then
text → read from your last position. Save the new position.rx_length smaller than your last position means
fldigi restarted. Re-baseline and continue.get_trx_status returns "rx", listen
~10 seconds (1 to 2 polls) before the next CQ. PSK31 operators type slowly.[A-Z0-9]{1,3}[0-9][A-Z]{1,3} before any
directed reply. QRM garbage can look like a callsign.loop: transmit → send "CQ CQ de <MYCALL> <MYCALL> pse k\n" poll controls → get_trx_status until "rx" listen ~10 s (1-2 polls of text → rx_length) if plausible callsign in new RX text → work the station else → loop
Governs the contest: what to say in each state, when a QSO is real, and when it goes in the log.
2A 2A STX STX copies far better than
2A STX through QSB and QRM.QSL 1D AZ TU W7XYZ …). The other
station verifies you logged them correctly before you QRZ.log → log_qso {"call": "W7XYZ", "contest": "field_day",
"exchange": {"class": "1D", "section": "AZ"}}
Exchange fields go in the exchange dict; they are not top-level
parameters. Success is logged: true in the response; chapter H has the full
protocol and its quirks.
Never retry on records_added: 0 alone. That value can be 0 for a QSO that
was written. Retry only when logged is false. Blind retries are where duplicate
log records come from.
Finds a station worth working, reading the waterfall as an operator does: name what is there, rank the one that sits still and calls CQ, tune to it, confirm in twenty seconds.
The preferred way reads fldigi's own Signal Browser. It needs no audio setup, but it needs a
patched fldigi (see With the Signal Browser patch below, proposed and not yet in fldigi).
Until the patch is in fldigi, use the sound bridge: signal_hunt listens to the
same receiver audio as fldigi. With the radio on a sound card cable (an iMic, a SignaLink, the
radio's USB port), set Audio input device to the device fldigi uses,
because two programs can read one input at once. When the receiver audio plays on the computer
(an SDR program, a web receiver, wfview), split it with a virtual sound card: BlackHole 2ch and a
Multi-Output Device on a Mac, or VB-Audio Virtual Cable on Windows. ae5vg.com, Getting Started,
has the steps.
fldigi's XML-RPC exposes no spectrum, so signal_hunt taps the audio fldigi is listening to
(the Audio input device setting names it) and returns ranked candidates. It
needs the optional extra fldigi-mcp[hunt] (numpy and sounddevice). Each candidate tells you where
the cursor goes, what modem to run, and why it ranks where it does.
| Field | Meaning |
|---|---|
| carrier_hz | The audio carrier: where the waterfall cursor goes. fldigi's Freq is dial + carrier. |
| mode, fldigi_modem | RTTY with its shift, CW, BPSK31/63/125, Olivia with tones and bandwidth (OLIVIA-8/250), MFSK16, DominoEX, MT63, or unknown. |
| db_over_floor | Strength, from a max-hold spectrum so a station that transmits for part of the window still shows at full strength. |
| persistence | Fraction of the window the signal was present at that carrier. A CQ loop is near 1; the other side of a QSO comes and goes. |
| periodicity | How strongly the on/off pattern repeats at lags of 8 to 60 seconds. A CQ loop repeats; a QSO in progress does not. |
| score | Strength weighted by persistence and periodicity. The CQing station wins. |
The browser tool and signal_hunt method="browser" call two XML-RPC methods
that stock fldigi does not have: browser.get_channels (one struct per channel:
channel, freq, active, text) and browser.clear. They come from a
four-file patch offered to Dave W1HKJ on 11 September 2026 (w1hkj/fldigi issue 55) and shipped in
fldigi-mcp under patches/. Until he merges it, the names and fields are a
proposal and may change. On an unpatched fldigi both calls answer with a hint, and nothing else in this
chapter changes.
fldigi's own Signal Browser, the left-hand panel, is a bank of thirty demodulators with DCD; it copies
PSK, RTTY and CW stations too faint for any spectrum to rank. On a build that carries the patch,
browser channels or signal_hunt method="browser" returns every channel with its
carrier and the text already copied, line breaks kept: the confirm step is done before you tune. In a test
with four synthetic PSK31 stations from 0 to −26 dB, all four were copied in full. The browser names no mode; hunt the
audio first when the band's mode is unknown. Building the patched fldigi yourself takes three lines, given in the README.
The rsid tool calls rsid.get_hits and rsid.clear, from a second
four-file patch offered to Dave W1HKJ on 16 September 2026 (w1hkj/fldigi issue 55). It ships in
fldigi-mcp under patches/ and applies on top of the browser patch. Until it is merged the
names and fields are a proposal. On an unpatched fldigi the tool answers with a hint, and nothing else in
this chapter changes.
Naming a mode from its shape is guesswork for the hopping modes: Olivia and Contestia share a grid, so do
THOR and DominoEX. Most operators on those modes send an RSID burst at the start of an over, and fldigi's
detector hears it across the whole passband. Set RxID to notify only and the
detector reports the mode without switching the modem, so the pass you are running keeps its browser.
rsid hits then gives {utc, mode, hz} for every burst. The mode name
is exactly what tune_to takes, and the frequency is where the cursor goes. Check the RSID hits before
you guess the mode, especially when the analyzer says unknown on a strong signal.
From the signal's shape, the way you would from the waterfall, with the numbers checked against the Signal Identification Wiki. Two narrow lines a standard shift apart (170 Hz in amateur use) is RTTY, carrier at the midpoint. One 30 Hz line is PSK31, unless it is keyed on and off with gaps of 40 ms or more, which makes it CW. Tracked from one 30 ms frame to the next, the hopping modes show as a grid of discrete dots: Olivia, with tones = bandwidth / spacing; MFSK16, 16 tones at 15.6 Hz; DominoEX and THOR, 18 tones. MT63 is a flat continuous block. Contestia looks like Olivia and THOR like DominoEX; only RSID separates those.
signal_hunt seconds=20 (contest: mode="RTTY", seconds=40) read candidates highest score first tune_to carrier_hz, fldigi_modem (RxID off during a classified pass) wait 20 s, then text → read if CQ and a callsign-shaped token, twice → hand to fldigi-operating elif modem → get_quality below 30 → next candidate else a QSO in progress → wait for SK or 73
Verified on five recordings of known mode (PSK31, CW, RTTY at 170 and 450 Hz, Olivia 8/250): 5 of 5.
A small set; treat an unknown as an honest answer. Symbol rate is not measured yet, which is what would
separate Contestia from Olivia without RSID. Without audio access the tool falls back to stepping
fldigi's own search_up and reading get_quality: slow, and blind to mode.
Receive only; nothing in this skill keys the transmitter.
We ran into all seven on the air at Field Day 2026; none is hypothetical.
| Situation | What the agent does |
|---|---|
| Callsign only, no exchange | Normal. Send your exchange; theirs arrives in the next over. |
| Exchange arrives with the first call | Also normal (K6ABC de W7XYZ 1D AZ 1D AZ pse k). Send yours; they QSL; straight to TU. |
| “No copy” / “repeat” | Resend once, abbreviated: <CALL> de <MYCALL> · 2A STX 2A STX · BK. Still nothing → QRZ once, then CQ. |
| Garbled / partial callsign | de <MYCALL> AGN AGN pse k, one listen window. Still unreadable → CQ. Two overs maximum. |
| Two stations doubled | Interleaved callsigns and control garbage. One AGN, then CQ. Usually one calls again alone. |
| Another station CQing on frequency | PSK's narrow passband decodes neighbors. CQ … de <OTHERCALL> is not a caller. Ignore it and continue. |
| Signal lost mid-QSO | Exchange never completed → do not log. An incomplete QSO is not a contact. |
Modal dialogs on the logging PC block the entire N3FJP API. If logging calls stop responding mid-contest, a dialog is open and needs human attention. The agent cannot clear it remotely.
Three real QSOs from the session log, 14.070 MHz BPSK31, transcribed as decoded, garble included. All callsigns are anonymized (ARRL-style sample calls) out of respect for the stations worked; the exchanges, flow, and garble are verbatim.
The verified protocol, and every quirk we hit on the air.
log → log_qso {"call": "W7XYZ", "contest": "field_day",
"exchange": {"class": "1D", "section": "AZ"}}
log → set_many {"CALL": "W7XYZ", "CLASS": "1D", "SECTION": "AZ"} log → enter
Both paths return logged, true or false, worked out from the change in the
QSO count, an ENTEREVENT push, or both. records_added can report 0 for a QSO that was
written, because N3FJP networked (master-table) mode commits asynchronously. Retry only when
logged is false.
set_many → calltab can trigger an ENTEREVENT directly (the band/mode/dupe
check fires on callsign entry). If it does, the QSO is logged. Do not send another
enter.calltab also populates COUNTRY/STATE/section lookups, useful for checking
that the section you copied is plausible for the callsign.CALLTABDUPEEVENT means the call is already in the log for this band/mode,
usually a sign that you (or a retry) already logged it.exchange dict of log_qso. Passing
them as top-level parameters silently logs nothing.These skills were not designed on paper. They were written from one real autonomous contest session.
At ARRL Field Day 2026, a class-2A club station ran 20-meter
BPSK31 with an agent operating fldigi and N3FJP through fldigi-mcp and
n3fjp-mcp. The agent called CQ, worked callers and logged contacts, with the human
operator supervising and able to stop transmission at any moment. Every rule, timing, and
special case in this guide comes from that session's after-action report,
n3fjp-mcp/docs/LESSONS-FIELD-DAY-2026.md.
| Resource | Where |
|---|---|
| fldigi-mcp | github.com/sbrunner-atx/fldigi-mcp · PyPI: fldigi-mcp |
| n3fjp-mcp | github.com/sbrunner-atx/n3fjp-mcp · PyPI: n3fjp-mcp |
| Skill sources | <repo>/skills/<name>/SKILL.md |
| Skill downloads | ae5vg.com Downloads, one file per skill, under each server |
| This guide's sources | <repo>/docs/brand/ (HTML + CSS, WeasyPrint) |
| After-action report | n3fjp-mcp/docs/LESSONS-FIELD-DAY-2026.md |
Corrections and additions are welcome. Open an issue on either repository.
This is private, personal work by Stefan Brunner, AE5VG, built for amateur radio operators. It is not affiliated with fldigi, N3FJP, or any employer. GPL-3.0-or-later, like fldigi itself. GL es 73 de AE5VG sk.