Skip to main content
Glama
switch-parental-controls

switch-parental-controls

switch-parental-controls

NOTE

Unofficial community project. Not affiliated with, endorsed or authorized by Nintendo.

PyPI Docker Python udondan/switch-parental-controls MCP server Tests codecov Maintainability License

A CLI and MCP (Model Context Protocol) server that expose Nintendo Switch Parental Controls as commands and AI-accessible tools. It wraps the pynintendoparental library and allows humans and AI assistants to monitor and manage parental control settings on Nintendo Switch devices.

Table of Contents

Related MCP server: gemini-bridge

Features

  • Authentication: Interactive Nintendo OAuth login flow, or pre-configured session token

  • Device monitoring: List devices, view playtime, remaining time, sync status

  • Playtime controls: Set daily limits, add extra time, configure per-day-of-week schedules

  • Bedtime controls: Set bedtime alarms and end times

  • Restriction controls: Set restriction mode (forced termination vs. alarm), content restriction levels

  • Player tracking: View player profiles and today's app usage

  • Application management: List apps, manage the allow-list (bypass content restrictions)

Prerequisites

  • uv — install once, no Python or clone needed:

curl -LsSf https://astral.sh/uv/install.sh | sh

CLI Usage

The switch-parental-controls CLI gives you direct terminal access to all parental control features.

Installation

No clone required — run directly with uvx:

uvx switch-parental-controls --help

Or install globally:

pip install switch-parental-controls
switch-parental-controls --help

The CLI and the MCP server are also available as the Docker image udondan/switch-parental-controls (amd64 and arm64), no Python needed. See Docker.

Authentication

Interactive login

switch-parental-controls login

This starts an interactive flow:

  1. A Nintendo login URL is printed — open it in your browser

  2. Log in with your Nintendo Account

  3. Right-click the "Select this person" button and copy the link

  4. Paste the copied URL at the prompt

On success, the token is saved to ~/.config/switch-parental-controls/credentials (respects XDG_CONFIG_HOME) — all other commands will use it automatically. No further setup needed.

The CLI also prints an export SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN=... snippet after login, so you can copy the token value for use in other tools or scripts.

Storing your token

The token lookup order is: environment variable → credentials file.

Credentials file (recommended):

The login command writes the token here automatically. To store it manually:

mkdir -p "${XDG_CONFIG_HOME:-$HOME/.config}/switch-parental-controls"
echo "your-token-here" > "${XDG_CONFIG_HOME:-$HOME/.config}/switch-parental-controls/credentials"
chmod 600 "${XDG_CONFIG_HOME:-$HOME/.config}/switch-parental-controls/credentials"

The default path is ~/.config/switch-parental-controls/credentials; set XDG_CONFIG_HOME to use a different base directory. The file must contain only the token, one line, no quotes. The chmod 600 keeps it readable by your user only.

Environment variable (shell profile):

# Add to ~/.zshrc, ~/.bashrc, or equivalent
export SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN="your-token-here"

The environment variable takes precedence over the credentials file, so this is also useful for temporarily overriding a stored token.

Inline for one-off runs:

SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN="your-token-here" switch-parental-controls today-summary

Note: Session tokens can expire. If you get authentication errors, repeat the login flow.

Docker

The image stores the token and the caches in /data. Mount a volume there so they survive between runs. Log in once (-it for the interactive prompt):

docker run --rm -it -v switch-parental-controls:/data udondan/switch-parental-controls login

With the same volume, an alias makes the image behave like an installed switch-parental-controls. -e NAME without a value passes the variable from your shell, if set:

alias switch-parental-controls='docker run --rm -i -e SWITCH_PARENTAL_CONTROLS_TIMEZONE -e SWITCH_PARENTAL_CONTROLS_LANG -v switch-parental-controls:/data udondan/switch-parental-controls'

switch-parental-controls today-summary

Instead of the volume, the token can be passed as -e SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN.

Global Options

switch-parental-controls [OPTIONS] COMMAND [ARGS]...

Options:
  -t, --timezone TEXT   IANA timezone  [env: SWITCH_PARENTAL_CONTROLS_TIMEZONE; default: Europe/London]
  -l, --lang TEXT       Language code  [env: SWITCH_PARENTAL_CONTROLS_LANG; default: en-GB]

Commands

All device commands accept an optional [DEVICE] argument — a device name or ID. If omitted and the account has exactly one Switch, it is auto-selected. Run list-devices once to populate the local cache.

Device info:

switch-parental-controls list-devices [--format markdown|json]
switch-parental-controls get-device [DEVICE] [--format markdown|json]
switch-parental-controls today-summary [DEVICE] [--format markdown|json]
switch-parental-controls monthly-summary [DEVICE] [--year YEAR --month MONTH] [--player PLAYER_ID] [--no-cache] [--format markdown|json]
switch-parental-controls playtime [DEVICE] [--year YEAR --month MONTH] [--day DAY] [--player PLAYER_ID] [--no-cache] [--format markdown|json]

# DEVICE may be a name or an ID
switch-parental-controls today-summary "Switch #1"
switch-parental-controls today-summary abc123def456

Playtime limits:

switch-parental-controls set-playtime-limit [DEVICE] --minutes 120   # set 2-hour limit
switch-parental-controls set-playtime-limit [DEVICE] --no-limit       # remove limit
switch-parental-controls add-extra-time [DEVICE] 30                   # add 30 extra minutes today
switch-parental-controls set-timer-mode [DEVICE] DAILY
switch-parental-controls set-timer-mode [DEVICE] EACH_DAY_OF_THE_WEEK

Per-day restrictions:

# Enable playtime + bedtime on Monday
switch-parental-controls set-day-restrictions [DEVICE] MONDAY \
  --playtime-enabled --max-playtime-minutes 90 \
  --bedtime-enabled \
  --bedtime-alarm-hour 21 --bedtime-alarm-minute 0 \
  --bedtime-end-hour 7 --bedtime-end-minute 0

# Disable all restrictions on Saturday
switch-parental-controls set-day-restrictions [DEVICE] SATURDAY \
  --playtime-disabled --bedtime-disabled

Restriction and content controls:

switch-parental-controls set-restriction-mode [DEVICE] FORCED_TERMINATION
switch-parental-controls set-restriction-mode [DEVICE] ALARM
switch-parental-controls set-content-restriction [DEVICE] CHILDREN
switch-parental-controls set-bedtime-alarm [DEVICE] 21 0    # 21:00
switch-parental-controls set-bedtime-alarm [DEVICE] 0 0     # disable
switch-parental-controls set-bedtime-end [DEVICE] 7 0       # 07:00

Players and applications:

switch-parental-controls list-players [DEVICE] [--format json]
switch-parental-controls get-player [DEVICE] <player-id>
switch-parental-controls list-applications [DEVICE]
switch-parental-controls set-app-allow-list [DEVICE] <app-id> --allow
switch-parental-controls set-app-allow-list [DEVICE] <app-id> --no-allow

# Per-player usage data — use --player to filter monthly-summary and playtime
switch-parental-controls monthly-summary [DEVICE] --year 2026 --month 4 --player <player-id>
switch-parental-controls playtime [DEVICE] --year 2026 --month 4 --player <player-id>
switch-parental-controls playtime [DEVICE] --player <player-id>   # current month

# Single-day playtime — use --day to get one specific date instead of the whole month
switch-parental-controls playtime [DEVICE] --year 2026 --month 5 --day 15
switch-parental-controls playtime [DEVICE] --year 2026 --month 5 --day 15 --player <player-id>

Cache management:

switch-parental-controls clear-cache                          # clear entire cache
switch-parental-controls clear-cache --device "Switch #1"    # clear for one device
switch-parental-controls clear-cache --year 2026             # clear all months of a year
switch-parental-controls clear-cache --year 2026 --month 4   # clear a specific month

Start the MCP server:

switch-parental-controls mcp

Caching

monthly-summary and playtime cache their API responses locally so past months don't require a network round-trip on subsequent calls.

What is cached: Raw API responses for months where both --year and --month are provided explicitly and the month is not the current calendar month. Data for the current month — and requests without an explicit year/month — always fetch live from the Nintendo API.

Cache location: ~/.config/switch-parental-controls/cache/ (respects XDG_CONFIG_HOME), organised as {device-id}/{YYYY}-{MM}.json.

Bypassing the cache: Pass --no-cache to monthly-summary or playtime to skip both reading from and writing to the cache. Useful when data looks unexpectedly stale.

Clearing the cache: Use the clear-cache command (CLI) or switch_clear_cache tool (MCP) — see the command examples above.

MCP Server

Running the Server

uvx switch-parental-controls mcp

No clone or install required — uvx fetches the package from PyPI and runs it in an isolated environment.

The server is listed in the MCP Registry as io.github.udondan/switch-parental-controls.

Environment Variables

Variable

Required

Default

Description

SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN

Yes*

—

Nintendo session token

SWITCH_PARENTAL_CONTROLS_TIMEZONE

No

Europe/London

IANA timezone (e.g. America/New_York)

SWITCH_PARENTAL_CONTROLS_LANG

No

en-GB

Language code (e.g. en-US)

*The token can also be provided via the credentials file (~/.config/switch-parental-controls/credentials by default; respects XDG_CONFIG_HOME). Since the CLI login command writes to that same file, running switch-parental-controls login once is sufficient — the MCP server will pick up the stored token automatically, no environment variable needed. The only exception where no token is needed upfront at all is when using the interactive switch_get_login_url / switch_complete_login tools to authenticate.

MCP Client Configuration

Add to your MCP client configuration (e.g. Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "nintendo": {
      "command": "uvx",
      "args": ["switch-parental-controls", "mcp"],
      "env": {
        "SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN": "your-token-here",
        "SWITCH_PARENTAL_CONTROLS_TIMEZONE": "America/New_York",
        "SWITCH_PARENTAL_CONTROLS_LANG": "en-US"
      }
    }
  }
}

With Docker instead of uvx, the entry looks like this. -e NAME without a value passes the variable from env to the container:

{
  "mcpServers": {
    "nintendo": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "-e",
        "SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN",
        "-e",
        "SWITCH_PARENTAL_CONTROLS_TIMEZONE",
        "-e",
        "SWITCH_PARENTAL_CONTROLS_LANG",
        "udondan/switch-parental-controls"
      ],
      "env": {
        "SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN": "your-token-here",
        "SWITCH_PARENTAL_CONTROLS_TIMEZONE": "America/New_York",
        "SWITCH_PARENTAL_CONTROLS_LANG": "en-US"
      }
    }
  }
}

To use the token saved by login instead (see Docker), replace the token's -e pair with "-v", "switch-parental-controls:/data".

Docker MCP Toolkit

With the Docker MCP Toolkit in Docker Desktop, the server runs as a container behind the MCP Gateway. The gateway starts the container on demand and passes the tools on to the connected clients. The token is stored as a secret in Docker Desktop instead of in plain text in the client configuration.

Requires Docker Desktop with the MCP Toolkit enabled.

  1. Download the server definition docker-mcp.yml and add it to a Toolkit profile. The Toolkit only reads such files from its catalogs directory:

    mkdir -p ~/.docker/mcp/catalogs
    curl -fsSL https://raw.githubusercontent.com/udondan/switch-parental-controls/main/docker-mcp.yml -o ~/.docker/mcp/catalogs/switch-parental-controls.yml
    # New profile:
    docker mcp profile create --name switch-parental-controls --id switch-parental-controls --server "file://$HOME/.docker/mcp/catalogs/switch-parental-controls.yml"
    # Or add it to an existing profile:
    docker mcp profile server add default --server "file://$HOME/.docker/mcp/catalogs/switch-parental-controls.yml"
  2. Store the token as a secret (see Authentication for how to get one):

    docker mcp secret set switch-parental-controls.session_token=your-token-here
  3. Optionally set timezone and language. Without them, the defaults Europe/London and en-GB apply:

    docker mcp profile config switch-parental-controls --set switch-parental-controls.timezone=America/New_York --set switch-parental-controls.lang=en-US
  4. Connect a client to the profile:

    docker mcp client connect claude-desktop --profile switch-parental-controls

    docker mcp client connect --help lists other clients such as claude-code, cursor or vscode. This also works in Docker Desktop under MCP Toolkit.

docker mcp gateway run --profile switch-parental-controls --dry-run --verbose checks the setup without starting a client. It should end with switch-parental-controls: (20 tools).

Available Tools

Authentication Tools

Tool

Description

switch_get_login_url

Generate the Nintendo login URL and step-by-step instructions

switch_complete_login

Complete login with the redirect URL from the browser

Devices

Tool

Description

switch_list_devices

List all Nintendo Switch devices on the account

switch_get_device

Get detailed status for a device, including the rules of each weekday

switch_get_today_summary

Get today's usage summary for a device

switch_get_monthly_summary

Get monthly usage summary (optionally for a specific month)

switch_get_playtime

Get per-day playtime breakdown for a month (current month or historical)

switch_clear_cache

Clear locally cached historic play data (all, by device, year, or month)

Playtime Controls

Tool

Description

switch_set_daily_playtime_limit

Set the daily playtime limit (0-360 min, or -1 to remove)

switch_add_extra_time

Add extra playtime for today

switch_set_timer_mode

Switch between DAILY and EACH_DAY_OF_THE_WEEK modes

switch_set_day_restrictions

Set per-day playtime and bedtime restrictions

Restriction Controls

Tool

Description

switch_set_restriction_mode

Set FORCED_TERMINATION or ALARM mode

switch_set_content_restriction_level

Set age-based content restrictions

switch_set_bedtime_alarm

Set the bedtime alarm time (16:00-23:00)

switch_set_bedtime_end_time

Set when bedtime ends (05:00-09:00)

Players

Tool

Description

switch_list_players

List all players on a device

switch_get_player

Get player details including apps played today

Applications

Tool

Description

switch_list_applications

List all tracked applications on a device

switch_set_app_allow_list

Add/remove an app from the content restriction allow-list

Development

Requires mise. It installs uv and the Python version from .python-version; dependencies are locked in uv.lock.

# Install dependencies
mise run install

# Run tests
mise run test

# Run linter
mise run lint

# Fix lint issues
mise run lint-fix

# Open MCP Inspector (browser UI to test tools interactively)
mise run inspect

# Build the wheel, then the Docker image from it
mise run docker-build

# Add the local image to a Docker MCP Toolkit profile (default: switch-parental-controls)
mise run docker-register [profile]

# Both of the above
mise run docker

The locally built udondan/switch-parental-controls:latest takes the place of the published image, so the Docker MCP Toolkit runs the local build. docker pull udondan/switch-parental-controls switches back.

MCP Inspector

The inspect task launches the MCP Inspector — a browser-based UI for testing MCP tools interactively without needing a full AI client.

mise run inspect

This opens the inspector connected to the switch_parental_controls server. You can call any tool directly from the UI, which is useful for testing the authentication flow and verifying tool responses.

CI

Tests run automatically on pull requests via GitHub Actions. See .github/workflows/test.yml. The docker job builds the image and lists its tools through the Docker MCP Gateway.

Each release runs .github/workflows/publish.yml, which uploads the package to PyPI and pushes the signed image udondan/switch-parental-controls (amd64 and arm64, tags x.y.z, x.y, x, latest) to Docker Hub.

License

MIT

Disclaimer

This is an unofficial, independent open-source project and is not affiliated with, funded or endorsed by Nintendo. Nintendo and Nintendo Switch are trademarks or registered trademarks of Nintendo in the U.S. and/or other countries. The names are used only to describe compatibility. The API used is not public and may change at any time. Use at your own risk and in accordance with the Nintendo Account terms of service.

Available Tools

20 tools
switch_add_extra_timeA

Give a device extra playtime for today only, on top of its limit.

Use it for a one-off "30 more minutes today"; the limit of other days stays as it is. Every call adds to the extra time already given. To change the limit itself use switch_set_daily_playtime_limit. Returns a confirmation.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: minutes (required), device_id (required). Returns: result

switch_clear_cacheA
Idempotent

Delete the local copies of past monthly summaries, so they are fetched again.

Use it when switch_get_monthly_summary or switch_get_playtime show old or unexpected numbers for a past month; for a single call, skip_cache=true on those tools does the same without deleting anything. Without arguments it clears everything, or only one device, year or month. It does not contact Nintendo and changes nothing on the console.

Returns "✓ Cleared cached file(s)." or "No cached files found matching the given filters."

Inputs: year, month, device_id. Returns: result

switch_complete_loginA

Finish the Nintendo login with the link copied after switch_get_login_url.

Use it once the user has the link of the "Select this person" button. It signs in, makes the other tools usable and returns the session token with the command to save it as SWITCH_PARENTAL_CONTROLS_SESSION_TOKEN.

Returns "Error: No pending login found. ..." if switch_get_login_url was not called first, and "Error: ..." if the link is invalid or the login fails.

Inputs: redirect_url (required). Returns: result

switch_get_deviceA
Read-onlyIdempotent

Get the current parental control settings and today's usage of one device.

Use it to see how a device is set up: timer mode, daily limit, today's playtime and remaining time, restriction mode (forced termination or alarm only), bedtime alarm and end, and the number of players and tracked apps. For the settings of each day of the week there is no read tool; for playtime history use switch_get_playtime or switch_get_monthly_summary.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), response_format. Returns: result

switch_get_login_urlA
Read-only

Start the Nintendo login: returns the login URL and the steps to follow.

Use it first when the server has no session token, or after a tool reported that the token expired. The user opens the URL, logs in, copies the link of the "Select this person" button and gives it to switch_complete_login. Every call starts a new login and replaces the previous one.

Returns "Error: ..." if the login URL cannot be created.

Inputs: no named parameters. Returns: result

switch_get_monthly_summaryA
Read-onlyIdempotent

Get the playtime totals of a month for a device, per player, or for one player.

Use it for monthly reports ("how much was played in March"). Without player_id it returns the month's total and the total of each player; with player_id that player's total and playtime per day. Without year and month it returns the most recent month Nintendo has summarised, which is usually the previous month. For single days use switch_get_playtime.

Returns "No monthly summary available for device ''." if Nintendo has none for the month, and "Error: Player '' not found ..." for an unknown player_id. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), year, month, player_id, +2 more. Returns: result

switch_get_playerA
Read-onlyIdempotent

Get today's playtime of one player, per app.

Use it for "what did play today and for how long". It returns the nickname, avatar URL, today's total and the time of each app played today. For other days use switch_get_playtime, for a month switch_get_monthly_summary, both with player_id.

Returns "Error: Player '' not found on device ''. ..." for an unknown player_id. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), player_id (required), response_format. Returns: result

switch_get_playtimeA
Read-onlyIdempotent

Get the playtime per day of a month, or of a single day, for a device or one player.

Use it for questions about specific days ("how long on Saturday", "each day this month"). Without year and month it covers the current month, from live data that also shows disabled and exceeded time per day; past months come from the monthly summary. With day it returns that day only, with player_id only that player. For today only use switch_get_today_summary, for the totals of a month switch_get_monthly_summary.

Returns "No daily data available for on device ''." or "No data available for ..." when there is nothing for the period, and "Error: Player '' not found ..." for an unknown player_id. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), day, year, month, +3 more. Returns: result

switch_get_today_summaryA
Read-onlyIdempotent

Get today's totals of one device: playing, disabled and exceeded time.

Use it for "how long was the console used today". Disabled time is time the device was blocked, exceeded time is play beyond the limit. For one player use switch_get_player, for other days switch_get_playtime.

Returns "No usage summary available for today () on device ''." before the first sync of the day. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), response_format. Returns: result

switch_list_applicationsA
Read-onlyIdempotent

List the games and apps played on one device, with their allow-list status.

Use it to find an application_id for switch_set_app_allow_list, or to see today's playtime per app across all players. Each app comes with name, application ID, image URL, today's playtime and whether it is allow-listed (ALLOW: starts regardless of the content restriction level, NONE: normal restrictions). For the apps of one player use switch_get_player.

Returns "No applications tracked on device ''." if none were played.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), response_format. Returns: result

switch_list_devicesA
Read-onlyIdempotent

List the Nintendo Switch consoles of the account, with their device IDs.

Start here: every other tool needs a device_id from this list. Each device comes with its name, model, today's playtime, daily limit, remaining time and last sync; the JSON adds the timer mode, bedtime and restriction mode. Use switch_get_device for the settings of one device.

Returns "No Nintendo Switch devices found on this account." if there are none. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: response_format. Returns: result

switch_list_playersA
Read-onlyIdempotent

List the players (user profiles) of one device, with their player IDs.

Use it to find a player_id for switch_get_player, switch_get_playtime or switch_get_monthly_summary, or to compare today's playtime of all players. Each player comes with nickname, player ID, avatar URL and today's playtime; the JSON adds the apps played today.

Returns "No players found on device ''." if the device has none.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), response_format. Returns: result

switch_set_app_allow_listA
Idempotent

Allow one app regardless of the content restriction level, or remove that exception.

Use it when a specific game is blocked by the age rating filter but should be allowed (allow=true), or to undo that (allow=false). To change the filter for all apps use switch_set_content_restriction_level instead. Returns a confirmation with the app name.

Returns "Error: Application '' not found on device ''. ..." for an unknown application_id. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: allow (required), device_id (required), application_id (required). Returns: result

switch_set_bedtime_alarmA
Idempotent

Set the time from which a device shows the bedtime alarm, for every day.

Use it for the evening part of bedtime (16:00 to 23:00), or hour=0 and minute=0 to turn the alarm off. The morning end is set with switch_set_bedtime_end_time, a bedtime for single weekdays with switch_set_day_restrictions. Returns a confirmation.

Times outside 16:00 to 23:00 are rejected with the reason. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: hour (required), device_id (required), minute. Returns: result

switch_set_bedtime_end_timeA
Idempotent

Set the time in the morning from which a device can be used again, for every day.

Use it for the end of bedtime (05:00 to 09:00), or hour=0 and minute=0 to turn it off. The evening alarm is set with switch_set_bedtime_alarm, a bedtime for single weekdays with switch_set_day_restrictions. Returns a confirmation.

Times outside 05:00 to 09:00 are rejected with the reason. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: hour (required), device_id (required), minute. Returns: result

switch_set_content_restriction_levelA
Idempotent

Set which games may start, by age rating, for all apps of a device.

Use it to change the age rating filter: NONE, CHILDREN, YOUNG_TEENS, OLDER_TEENS or CUSTOM. To allow one blocked app use switch_set_app_allow_list instead. Returns a confirmation.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: level (required), device_id (required). Returns: result

switch_set_daily_playtime_limitA
Idempotent

Set the daily playtime limit of a device, or remove it with minutes=-1.

Use it to change the limit that applies to every day while the timer mode is DAILY. For different limits per weekday use switch_set_day_restrictions (with timer mode EACH_DAY_OF_THE_WEEK), for more time today only switch_add_extra_time. Returns a confirmation with the new limit.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: minutes (required), device_id (required). Returns: result

switch_set_day_restrictionsA
Idempotent

Set the playtime limit and bedtime of one weekday.

Use it to give e.g. weekends other rules than school days. Each call sets both settings of that day: playtime_enabled with max_playtime_minutes, and bedtime_enabled with the alarm and end time. It only takes effect while the timer mode is EACH_DAY_OF_THE_WEEK (switch_set_timer_mode). For the same bedtime on every day use switch_set_bedtime_alarm and switch_set_bedtime_end_time. Returns a confirmation with the day's rules.

Invalid combinations, like playtime_enabled=true without max_playtime_minutes, are rejected with the reason. Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: device_id (required), day_of_week (required), bedtime_enabled (required), playtime_enabled (required), +5 more. Returns: result

switch_set_restriction_modeA
Idempotent

Choose what happens when the playtime limit is reached: suspend the game or only show an alarm.

FORCED_TERMINATION suspends the software at the limit, ALARM only shows a notice on the screen. This applies to the daily and the per-day limits. switch_get_device shows the current mode. Returns a confirmation.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: mode (required), device_id (required). Returns: result

switch_set_timer_modeA
Idempotent

Choose between one limit for every day (DAILY) and one per weekday (EACH_DAY_OF_THE_WEEK).

Use it before switch_set_day_restrictions, which only takes effect in EACH_DAY_OF_THE_WEEK mode; in DAILY mode switch_set_daily_playtime_limit sets the limit. switch_get_device shows the current mode. Returns a confirmation.

Returns "Error: Device '' not found. ..." for an unknown device_id. Returns "Error: Not authenticated. ..." without a session token and "Error: Authentication failed. ..." when it expired; then log in again with switch_get_login_url.

Inputs: mode (required), device_id (required). Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 20 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action, and the descriptions explicitly cross-reference related tools to clarify boundaries. The playtime-reading tools are separated by today/day/month scope, while the many setters each control a specific setting such as timer mode, bedtime, or content restriction.

    Naming Consistency5/5

    All tools follow the same switch_ + verb_noun snake_case convention, with consistent verbs like list, get, set, add, and clear. The naming is predictable and readable throughout the set.

    Tool Count4/5

    At 20 tools, the surface is somewhat large, but the parental-control domain genuinely requires many distinct settings and read views. No tools appear redundant, and each operation corresponds to a specific user need.

    Completeness4/5

    The server covers login, device and player discovery, app allow-listing, playtime history, and all major parental-control settings. The main gap is the lack of a read tool for per-weekday restrictions, though most core workflows are otherwise complete.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers