Skip to main content
Glama
advantagescope-mcp

advantagescope-mcp

by YianXie

advantagescope-mcp

A local, read-only MCP server that lets AI agents such as Claude read FRC robot telemetry: the data AdvantageScope shows, without going through AdvantageScope. It works with:

  • Live data from a running simulation (NetworkTables 4), recorded from the moment the agent session starts.

  • CTRE .hoot logs, including the one a simulation is still writing.

  • WPILib .wpilog logs.

It never publishes to NetworkTables and never changes a log.

Tools

Tool

What it does

status

Is a sim connected, how much is recorded, which log is newest

list_logs

Saved logs, newest first

list_signals

Signal names in a source

read_signals

Values over a time range, condensed but keeping spikes

signal_stats

Min, max, time-weighted mean and so on, or time spent in each state

find_events

When a signal was above, below or equal to a value, or changed

A source is live, latest (the newest log) or a log's path. Struct fields are addressed like signals: DriveState/Pose/translation/x. Times are seconds from the start of the source; start=-10 means the last 10 seconds.

Related MCP server: TopicForge

Setup

Needs uv and, for .hoot logs, AdvantageScope, which downloads CTRE's owlet converter the first time it opens a log of each format version.

claude mcp add --scope user advantagescope -- uv run --directory /Users/ianxie/Projects/FRC/advantagescope-mcp advantagescope-mcp

Start a new Claude session afterwards.

Settings

Environment variables, all optional:

Variable

Default

ASMCP_NT_ADDRESS

127.0.0.1:5810

ASMCP_LOG_DIRS

Extra log folders, separated by :. /Users/ianxie/Projects/FRC/*/logs is always included

ASMCP_CACHE_DIR

~/Library/Caches/advantagescope-mcp

ASMCP_OWLET_DIR

~/Library/Application Support/AdvantageScope/owlet

Limits

  • Tested with the simulation only, not a real robot.

  • Live data keeps the last 10 minutes, up to 200 MB, and starts over when the sim restarts.

  • A project that writes no log in simulation has no history from before the session started.

  • Live and log times use different zero points and do not line up.

  • Each question about a .hoot log that is still growing extracts it again, which takes longer the longer the run (about 9 s after 30 minutes). Finished logs are cached.

  • If the connection to a running sim drops and comes back, the gap in live data is not marked.

  • The cache of extracted .hoot signals is limited to 2 GB. It is safe to delete.

Development

uv run pytest

Available Tools

6 tools
find_eventsA
Read-only

Find when a signal was above, below or equal to a value, or when it changed. Returns time ranges, with the most extreme value for above and below.

Inputs: signal (required), source (required), condition (required), end, +5 more.

list_logsB
Read-only

List saved robot logs, newest first, with the robot project each came from.

Inputs: limit, project.

list_signalsA
Read-only

List signal names in a source. With too many matches, returns counts per group instead; narrow it with filter. For .hoot logs, types appear once a signal has been read.

Inputs: source (required), limit, filter.

read_signalsA
Read-only

Read values over time as [time, value] points. Long numeric ranges are reduced but keep each interval's minimum and maximum, so spikes survive; text and booleans show changes only. A whole struct returns all its fields. samples is the count before reduction.

Inputs: source (required), signals (required), end, start, +1 more.

signal_statsA
Read-only

Summarize signals over a time range: count, min and max with their times, mean, standard deviation, first and last. Includes the value already in effect when the range starts; mean and deviation are weighted by time. count is the number of samples that arrived, so 0 means the value did not update. Text and boolean signals report the seconds spent in each value. Call it on two logs to compare runs.

Inputs: source (required), signals (required), end, start, +1 more.

statusA
Read-only

Check what telemetry is available: whether a simulation is connected, how much live data has been recorded, and which log is newest and whether it is still being written. Call this first.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 6 tools

    Disambiguation4/5

    Each tool has a clearly different action: status reports connection state, list_logs/list_signals enumerate, read_signals returns raw time series, signal_stats aggregates, and find_events searches conditions. The only mild overlap is between signal_stats (min/max with times) and find_events (condition-based time ranges), which could occasionally be confused for 'when did X exceed Y' questions.

    Naming Consistency4/5

    Four tools follow a clear verb_noun pattern (list_logs, list_signals, read_signals, find_events), which is predictable and readable. The deviations are 'status' (bare noun, no verb) and 'signal_stats' (noun_noun), which are minor but break the otherwise consistent convention.

    Tool Count5/5

    Six tools is well within the ideal range and each earns its place across the discover-read-analyze workflow (status, logs, signals, values, stats, events). Nothing feels redundant or padded for a focused telemetry log analysis server.

    Completeness4/5

    The surface covers the full read-only lifecycle: check availability, enumerate logs and signals, read values, summarize, and search events, which covers core telemetry analysis needs. Minor gaps exist—no direct multi-log comparison tool (users must call signal_stats twice) and no metadata/export or plotting operation—but these are workable around.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to analyze ROS2 log files across multiple nodes by merging them into a unified timeline and providing smart query tools, without requiring ROS2 installation.
      11
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      A read-only MCP server that lets an AI agent inspect a ROS2 graph, its underlying DDS participants, readers, writers and QoS mismatches, and recorded bag files, with twelve typed tools that behave the same against a live robot or built-in mock fixtures. It has no write path at all, so it can never publish to the bus or command a robot.
      18
      139 PyPI
      3
      MIT
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents and developers to query traces, sessions, exceptions, prompts, datasets, annotation queues, scores, and metrics for local debugging and observability. Runs locally over stdio or HTTP with selective tool-group loading, read-only mode, and compact or file-dump output to control token usage.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides read-only access to locally stored device telemetry and threshold alerts through MCP tools, enabling AI clients to list devices, retrieve latest values, query history, and inspect recent alerts without device write access or network listeners.
      MIT