Skip to main content
Glama
gflerm
by gflerm

aprs-mcp

Model Context Protocol (MCP) server exposing the APRS-IS network as tools for any LLM agent (opencode, Claude Desktop, Cursor, Windsurf, generic MCP clients). Built on aprslib and fastmcp.

IMPORTANT

APRS transmissions are public. Only transmit with a valid amateur-radio callsign and in accordance with the rules that apply in your jurisdiction.

Tools

Tool

Purpose

aprs_cmd_list()

List the APRS commands exposed by this MCP server

aprs_send_message(to_callsign, message)

Send an APRS message (max ~60 chars)

aprs_position(callsign, timeout=120)

Last known position, aprs.fi API first, live stream fallback

aprs_nearby(lat, lon, radius_km, timeout=8)

Stations transmitting within a radius

aprs_listen(filter_text, duration=5, max_packets=50, raw=false)

Stream raw or parsed packets against an APRS-IS filter

aprs_listen filter syntax

Example

Meaning

s/NOCALL

Station NOCALL

r/-33.9/18.4/50

Radius filter around lat/lon, 50 km

m/NOCALL

Messages to/from NOCALL

t/po

Positions and objects only

Related MCP server: A2A Client MCP Server

Requirements

Requires Python 3.11+ and uv.

Installation

git clone https://github.com/gflerm/aprs-mcp.git
cd aprs-mcp
uv sync

cp credentials.example credentials

On Windows PowerShell, the included installer creates the virtual environment and credentials template:

.\install.ps1

MCP client configuration

Codex

Register the local STDIO server globally:

codex mcp add aprs -- ".venv\Scripts\aprs-mcp.exe"

On macOS or Linux, use .venv/bin/aprs-mcp instead. Restart Codex after registration, then run aprs_cmd_list to verify the connection.

Other clients

opencode — add to ~/.config/opencode/opencode.json:

{
  "mcp": {
    "aprs": {
      "type": "local",
      "command": [".venv/bin/aprs-mcp"],
      "enabled": true
    }
  }
}

Claude Desktop — add to claude_desktop_config.json under mcpServers. Any other MCP client — point it at the mcp stdio transport with command .venv/bin/aprs-mcp (Windows: .venv\Scripts\aprs-mcp.exe).

Restart the agent after registering the server.

Credentials

The server reads network settings and station identity from a plain key=value file named credentials in the project. Copy credentials.example to credentials and fill in your own values.

The server looks for credentials in this order:

  1. Next to the installed module (site-packages)

  2. The project root (the checkout / install directory)

  3. The current working directory

Existing environment variables always win; the file never overrides them.

Populate the credentials file as follows:

Key

Type

Meaning

APRS_CALLSIGN

required

Your base callsign, e.g. ZL1ABC. Never transmit with NOCALL.

APRS_PASSCODE

required

APRS-IS passcode for the callsign. Use -1 for receive-only

APRS_HOST

optional

APRS-IS server, default euro.aprs2.net

APRS_PORT

optional

Default 14580 (140 for legacy tin)

APRSFI_API_KEY

optional

aprs.fi API key for fast aprs_position lookups

APRS_NTP_HOST

optional

NTP server for local timezone, default xxx.xxx.xxx.xxx

Getting your passcode. The passcode is a one-way hash of your base callsign — generate it once with the APRSPASS calculator shipped inside aprslib:

python -c "from aprslib import passcode; print(passcode('ZL1XXXX'))"

Then write the result into credentials:

APRS_CALLSIGN=ZL1XXXX
APRS_PASSCODE=12345
APRS_HOST=euro.aprs2.net
APRS_PORT=14580

Optionally add your aprs.fi key (free, low-volume) so aprs_position answers without waiting on the live stream.

credentials is your real file. credentials.example is the committed template. Never commit credentials.

Development

Install the project in its managed virtual environment:

uv sync
uv run python -m aprs_mcp.server

The MCP transport uses standard input/output. Client logs and diagnostics must go to standard error so they do not corrupt the protocol stream.

License

Released under the MIT License.

Available Tools

5 tools
aprs_cmd_listA

List the APRS tools exposed by this MCP server.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.1/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description carries the full burden. It states the tool 'lists' tools, implying a read-only operation with no side effects, but it does not explicitly disclose safety characteristics or provide context about what happens when invoked. For a simple listing tool, this is adequate but not exceptional.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, concise sentence that directly conveys the tool's purpose with no superfluous words. It is perfectly sized for the tool's simplicity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's trivial nature (no parameters, clear purpose, and an output schema), the description is complete enough. It fully explains what the tool does, and the output schema handles return value documentation. There is no ambiguity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has zero parameters, so the baseline for parameter semantics is 4. The description does not need to add parameter information beyond what the schema provides, and it correctly omits any parameter details that would be irrelevant.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'List' and identifies the resource 'APRS tools exposed by this MCP server.' This clearly distinguishes it from sibling tools that perform APRS operations (send, position, nearby, listen).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for discovering available tools but does not explicitly state when to use it or mention alternatives. Unlike the TDQS 4.3 example, there is no explicit exclusion or alternative reference. However, the tool's purpose is self-evident, so an agent can infer when to invoke it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

aprs_listenA

Stream packets matching an APRS-IS filter string for a fixed duration.

ParametersJSON Schema
NameRequiredDescriptionDefault
rawNoReturn raw packet strings instead of parsed dictionaries.
durationNoSeconds to listen (default 5).
filter_textYesAPRS-IS filter, e.g. "s/ZS1GFL-4", "r/-33.9/18.4/50", "m/ZS1GFL-10" (messages), "t/po" (positions/objects).
max_packetsNoStop early after this many packets (default 50).

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description must carry behavioral transparency. It mentions a 'fixed duration' but does not disclose blocking behavior, early termination via max_packets, or any side effects. This is a minimal disclosure that leaves significant room for clarity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no redundant words. It efficiently conveys the core purpose, earning a perfect score for conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output schema exists and parameters are fully described in the schema, but the description lacks behavioral context (e.g., blocking, stopping conditions) and usage guidance relative to siblings. It is minimally viable but has gaps in completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides 100% parameter coverage, including default values and examples for filter_text. The description adds nothing beyond the schema, so the baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb 'Stream' and identifies the resource as 'packets matching an APRS-IS filter string'. This distinguishes it from siblings like aprs_send_message or aprs_position, which serve different purposes.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies a streaming/monitoring use case but does not explicitly state when to use this tool versus alternatives, nor does it mention exclusions or prerequisites. Sibling tools exist but are not referenced.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

aprs_nearbyA

List APRS stations transmitting within a radius of a latitude/longitude.

ParametersJSON Schema
NameRequiredDescriptionDefault
latYesLatitude in decimal degrees.
lonYesLongitude in decimal degrees.
timeoutNoSeconds to collect station reports (default 8).
radius_kmYesRadius in kilometers.

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must convey behavior. It states a read operation ('List') but does not disclose details such as the timeout-based collection behavior (via the 'timeout' parameter), potential no-data scenarios, or any network/rate considerations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, focused sentence that conveys the core function without unnecessary words. Fully front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With a full input schema and an output schema present, the description provides enough for basic invocation. However, it lacks explicit usage guidance and behavioral caveats, making it slightly above average but not fully comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes all parameters with 100% coverage. The description adds no extra semantic meaning beyond the schema, such as clarifying interaction between radius and timeout, so it meets the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'List' with a clear resource ('APRS stations') and a precise scope ('within a radius of a latitude/longitude'), which distinguishes it from sibling tools like aprs_send_message or aprs_listen.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies the tool is for finding nearby stations but provides no explicit guidance on when to use it instead of the sibling tools (e.g., aprs_position or aprs_cmd_list). The usage context is only implicit.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

aprs_positionA

Look up the last known position(s) of a callsign.

If APRSFI_API_KEY is configured, the aprs.fi API is queried first for the station's last known location (fast, reliable). Otherwise the APRS-IS stream is listened to with a station filter until a matching packet is received or the timeout expires.

ParametersJSON Schema
NameRequiredDescriptionDefault
timeoutNoSeconds to listen for a matching packet (default 120).
callsignYesStation callsign, e.g. "ZS1GFL-10".

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden. It discloses the API-first behavior, fallback to APRS-IS stream listening, and dependency on the timeout parameter for the fallback path. This is meaningful context that helps the agent anticipate latency or failure modes. Minor omission: what happens if the API is configured but fails.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise: one clear purpose sentence plus two sentences for the fallback logic. Front-loaded with the main action, no filler or redundant detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with complete schema coverage and an output schema, the description adequately explains the core behavior, fallback logic, and timeout edge case. A slight ambiguity about API failure fallback prevents a 5, but overall it is sufficiently complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with descriptions for both parameters. The description adds contextual color about the timeout in the stream-listening mode, but it does not introduce meaning beyond what the schema already states. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Look up') and resource ('last known position(s) of a callsign'), clearly distinguishing it from sibling tools like aprs_send_message or aprs_listen. The first sentence fully captures the tool's function.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description clearly implies when to use the tool (when you need a callsign's last known position) and provides context about the two execution modes based on APRSFI_API_KEY configuration. It does not explicitly name alternatives, but the overview makes the use case obvious.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

aprs_send_messageA

Send an APRS message to another callsign via APRS-IS.

ParametersJSON Schema
NameRequiredDescriptionDefault
messageYesFree text message (max ~60 chars).
to_callsignYesDestination callsign, e.g. "ZS1GFL-4".

Output Schema

ParametersJSON Schema
NameRequiredDescription
resultYes

TDQS

A3.5/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are present, so the description carries the full behavioral burden. It only states that it sends via APRS-IS, omitting side effects, authentication requirements, rate limits, or what happens on failure. For a mutation tool, this is a notable gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no filler. It is front-loaded with the key action and resource, making it extremely easy to parse quickly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter tool with an output schema, the description adequately states the core operation, but it lacks usage guidance and behavioral transparency. It is minimal but not fully self-contained, especially given the absence of annotations.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already provides full descriptions for both parameters, including a max length hint and an example callsign. The description adds no parameter-specific detail beyond what the schema covers, so it meets the baseline for high schema coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description specifies the verb 'Send' with a clear resource: 'an APRS message to another callsign via APRS-IS.' This clearly distinguishes it from sibling tools like aprs_listen, aprs_position, and aprs_nearby.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for sending APRS messages but provides no explicit when/when-not guidance or alternatives. Sibling tool names offer context, but the description itself does not distinguish when this tool should be preferred over them.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 5 tool updatesv0.1.0
    • First observedaprs_cmd_list
    • First observedaprs_listen
    • First observedaprs_nearby
    • First observedaprs_position
    • First observedaprs_send_message

TDQS

A3.9/5.0

Scored across 5 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: sending messages, looking up positions, finding nearby stations, streaming raw packets, and listing commands. There is minimal overlap between these operations.

Naming Consistency3/5

All tools share the 'aprs_' prefix, but the pattern is inconsistent: some use verb_noun (send_message), some are bare verbs (listen), and others are nouns or adjectives (position, nearby). The naming is readable but does not follow a single consistent convention.

Tool Count5/5

With 5 tools, the server is well-scoped for its purpose. Each tool serves a distinct APRS-related function, and the count is neither overwhelming nor too sparse.

Completeness4/5

The toolset covers key APRS operations: sending messages, retrieving positions, discovering nearby stations, and listening to filtered packet streams. Missing advanced features like weather data or route history are minor gaps that do not impede core workflows.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that publishes CLI tools on your machine for discoverability by LLMs
    5 npm
    1
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that exposes WiGLE.net wardriving lookups as tools for LLMs, enabling searches and details for WiFi networks, Bluetooth devices, and cell towers.
    8
    1
    MIT