Rake

ai.rakelabsPublished by rakelabs.aiOfficial publisherv3.0.0Updated Nov 24, 2026

Write and debug firmware with exact chip data

VerifiedStreamable HTTPWeb executableKnowledge & MemoryDeveloper Tools

Overview

AI-generated overview

Rake gives an assistant exact microcontroller register, interrupt and pin data, peripheral timing calculations, code and config checks, and crash decoding for C

What you can do
Look up devices, registers, bit fields, interrupts and pin routing from vendor files, and check register, field and handler names against them. Decode register dumps and compare two dumps. Compute CAN bit timing, UART baud divisors, timer prescalers, I2C timing and watchdog timeouts. Decode Cortex-M fault registers, RISC-V traps, ESP-IDF panics and Zephyr fatal errors. Check Zephyr Kconfig symbols, conf files and devicetree bindings, FreeRTOS configs, ESP-IDF API use and build flags. Retrieve platform pitfalls, symptom diagnosis steps, debug techniques, task playbooks, fault lists and firmware coding rules.
When to use it
Useful when writing or reviewing register-level firmware for supported MCU families, setting up peripherals such as CAN, UART, I2C, timers or watchdogs, or diagnosing a board that hangs, faults or resets. Also suited to checking Zephyr, FreeRTOS or ESP-IDF configuration and code against a specific release.
Requirements
A remote streamable HTTP endpoint; no package, environment variable or header is declared. The assistant supplies part names, register dumps, crash output, code or configuration text in tool calls. Coverage is limited to the listed MCU families and Zephyr releases; no datasheet text is included.
Before you install
The server receives the code, configuration, register dumps and crash logs you send, which may reveal product details. Its answers are reference data and computed values, not proof about your hardware; verify on the target. No authentication is declared for the endpoint.

Installation

In SourceWeft

  1. Open Rake in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/ai.rakelabs%2Frake-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "rake": {
      "type": "http",
      "url": "https://mcp.rakelabs.ai/mcp"
    }
  }
}

Tools

28

find_device

Find a microcontroller in the data

Says what data the server has for a part name: the device with register data, the vector table and the pin data, and the exact names to use in the other tools. Use it first when a part number is loose or partial, such as "stm32g431" or "nrf5340", or to see whether a part is covered at all. Register data covers ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI parts, vector tables ST parts and pin data ST parts.

Parametersnamerequired

lookup_register

Look up a register or bit field

Returns the address, size, access, reset value and bit fields of a register of a microcontroller, or the registers of a peripheral, from the vendor's own file for the part. Use it instead of recalling a register address, a bit position or a field name from memory, and to find what an address in a fault report or a debugger belongs to. Covers 935 devices from ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI, and says so when it has no data for a part.

Parametersnamerequireddevicerequired

check_registers

Check register and field names

Checks a list of register, field and peripheral names against the vendor's own file for a microcontroller and says for each whether it exists, with its address or bit position, or names the closest that do. Use it after writing or reviewing register-level code, on every name the code uses, to catch a register or bit that does not exist on this part. Covers 935 devices from ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI, and says so when it has no data for a part. Names follow that file. Another file of the vendor, such as a header, can spell a few of them differently.

Parametersnamesrequireddevicerequired

decode_registers

Decode or compare register dumps

Decodes a register dump of a microcontroller into registers and bit fields, with the named value of each field, from the vendor's own file for the part. With a second dump it returns only what differs between the two. Use it to see what a peripheral is really set to, and to compare a setup that works with one that does not: a vendor example against your code, or a good board against a bad one. A dump is a read: on some status and data registers a read clears flags or takes a byte. Covers 935 devices from ST, Nordic, Raspberry Pi, Espressif, Microchip, NXP and TI, and says so when it has no data for a part.

Parametersdumprequireddevicerequiredcompare

list_interrupts

List the interrupts of a part

Returns the interrupt numbers and names of a microcontroller and, where the data has the vendor's device header, the handler names of the startup file. Use it to find the interrupt number for a call that enables or prioritises it, the exact handler name to define, or which peripherals share a vector. Handler names come from device headers, which the data has for ST parts. For other parts the list comes from the file that the registers come from, without handler names.

Parametersdevicerequiredfilter

check_interrupt_handlers

Check interrupt handler names

Checks interrupt handler function names against the vector table of a part and says for each whether the startup file declares it, or names the closest that it does. Use it on every interrupt handler function in the code: a handler with a name the startup file does not declare compiles and links, and is never called. It needs the vendor's device header, which the data has for ST parts. For another part it says so and judges nothing.

Parametersnamesrequireddevicerequired

find_pins

Find pin functions

Returns the pins of a part that can carry a signal, with what the code must select to route it there, such as the alternate function, or every signal of one pin. Use it to pick the pin for a peripheral signal such as USART2_TX, to get the alternate function number for it, or to see what else a pin can do. Pin data comes from the vendors' own pin files, which the data has for ST parts, per package. For another part it says so.

Parameterspinpartrequiredsignal

calc_can_bit_timing

Calculate CAN bit timing

Computes the CAN bit timing for a clock, a bit rate and a sample point: prescaler, time quanta, both segments and the jump width, with the real bit rate, the real sample point and the register value. Use it when setting up CAN or CAN FD instead of working the values out by hand. The controller classic gives the counts for a classic CAN controller whose time quantum is the prescaler times the clock period, within the fields most of them have: a prescaler up to 64, segments up to 16 and 8 quanta, and a jump width up to 4. sja1000 and mcp2515 are those two controllers, which halve the oscillator before the prescaler and have limits of their own. With bxcan (CAN_BTR of STM32) or mcan-nominal and mcan-data (NBTP and DBTP of Bosch M_CAN, which several vendors use for CAN FD), it also packs the register value.

Parametersbit_raterequiredclock_hzrequiredcontrollerrequiredsample_point

calc_uart_baud

Calculate a UART baud rate divisor

Computes the divisor for a UART baud rate from the peripheral clock, with the real baud rate and its error in percent, and the BRR value for STM32. Use it to set a baud rate or to find out why a link shows framing errors or garbage. The peripheral generic fits any UART that divides its clock by a whole number, with 16 or 8 samples a bit. For the STM32 USART and LPUART it also gives the BRR value.

Parametersbaudrequiredclock_hzrequiredperipheralrequiredoversampling

calc_timer_prescaler

Calculate timer prescaler and reload

Computes the prescaler and the auto-reload value of a timer for an update or PWM frequency, with the real frequency, its error and the PWM duty resolution in bits. Use it to set up a periodic interrupt or a PWM output. For any timer with a 16-bit prescaler and a 16-bit or 32-bit counter that both count from 0, which is how most microcontroller timers are built.

Parametersclock_hzrequiredcounter_bitsfrequency_hzrequired

calc_i2c_timing

Calculate I2C timing

Computes I2C timing from the limits of the I2C-bus specification: the SCL low and high times for a bus speed as counts of the controller's clock, or the register value of a controller it knows. It can also check an existing register value against the limits. Use it to set up an I2C controller instead of copying a timing value from another project, where the clock differs. The controller generic gives counts for any controller that takes SCL low and high times. The controller stm32-timingr gives I2C_TIMINGR for the STM32 series that have that register, which F1, F2, F4 and L1 do not.

Parametersmoderequiredbus_hzfall_nsrise_nstimingrclock_hzrequiredcontrollerrequiredanalog_filterdigital_filter

calc_watchdog_timeout

Calculate watchdog register values

Computes the register values of a watchdog for a timeout, with the real timeout. Use it to set up a watchdog instead of working the prescaler and the reload value out by hand. It knows the STM32 independent watchdog (IWDG_PR and IWDG_RLR), the STM32 window watchdog (WDGTB and the counter) and the nRF watchdog (CRV). The timeout is never shorter than the one asked for.

Parametersclock_hzwatchdogrequiredtimeout_msrequired

decode_cortex_m_fault

Decode Cortex-M fault registers

Decodes Arm Cortex-M fault status register values (CFSR, and optionally HFSR, MMFAR, BFAR, SFSR, SFAR, EXC_RETURN and the stacked PC) into the faults they record and the checks to make next. For Cortex-M3, M4, M7, M33, M55 and M85. Use it when firmware lands in HardFault, MemManage, BusFault, UsageFault or SecureFault and the register values are known.

Parametersbfarcfsrrequiredhfsrsfarsfsrmmfarexc_returnstacked_pc

decode_riscv_trap

Decode a RISC-V trap cause

Decodes the mcause value of a 32-bit RISC-V core into the exception or interrupt it names, and says what mepc and mtval hold for that cause and what to check. Use it when a RISC-V microcontroller, such as an ESP32-C3 or a GD32V, stops in its trap handler and the register values are known. It covers the causes of the RISC-V privileged specification, not vendor-specific ones.

Parametersmepcmtvalmcauserequired

decode_esp_panic

Decode an ESP-IDF panic

Reads the text an ESP32-family chip prints when ESP-IDF panics and returns the cause, what it means, what to check and the addresses to resolve. Use it when the serial output shows a Guru Meditation Error, an abort(), a task watchdog or interrupt watchdog timeout, a stack overflow or a brown-out. It handles the Xtensa chips and the RISC-V chips. It does not turn addresses into source lines: that needs the ELF file.

Parameterslogrequired

decode_zephyr_fatal

Decode a Zephyr fatal error

Reads the text Zephyr prints on a fatal error and returns the fault, the thread, the faulting address, what to check and the command that resolves the address. Use it when the console shows "ZEPHYR FATAL ERROR", a fault block such as "***** BUS FAULT *****" or "ASSERTION FAIL". The fault detail lines it reads are those of the Arm Cortex-M port. It does not turn addresses into source lines: that needs the ELF file.

Parameterslogrequired

lookup_zephyr_kconfig

Look up a Zephyr Kconfig symbol

Returns a Zephyr Kconfig symbol of a release: type, prompt, range, defaults, dependencies, what selects it and its help text. Or searches symbol names and prompts for words. Use it instead of recalling a CONFIG_ name or its meaning from memory, and to find the symbol for a feature. Covers the symbols of Zephyr 3.7, 4.4, 4.5 and of the modules in its manifest. It does not cover symbols that only the nRF Connect SDK or another downstream tree defines.

Parameterssearchsymbolversion

check_zephyr_conf

Check a Zephyr prj.conf

Checks the lines of a Zephyr configuration file (prj.conf, a board .conf or an overlay) against the Kconfig symbols of a release: symbols that do not exist, with the closest that do, values of the wrong type or outside the range, and symbols that a file cannot set. Use it after writing or editing a prj.conf, before building. It does not evaluate dependencies or board defaults, so the build can still warn about a symbol whose dependencies are not met.

Parametersconfrequiredversion

lookup_zephyr_binding

Look up a Zephyr devicetree binding

Returns the devicetree binding of a compatible in a Zephyr release: its properties with type, whether required, allowed values and defaults, the bus it sits on, its child nodes and its specifier cells. Use it when writing a devicetree node or overlay, instead of recalling property names from memory. Covers the bindings in the Zephyr tree for 3.7, 4.4, 4.5. Bindings that a module or an application adds are not covered.

Parametersversioncompatiblerequired

check_freertos_config

Check a FreeRTOSConfig.h

Reads the content of a FreeRTOSConfig.h and reports settings that stop the build, break the kernel at run time or hide errors, with the values it read. Use it when a FreeRTOS project hangs in a critical section, hard-faults at the first context switch, or before trusting a configuration copied from another project. It checks the interrupt priorities of the Cortex-M ports, stack and heap failure detection, the tick settings, software timers and the hooks the application owes. It does not evaluate #if conditions.

Parametersconfigrequired

check_esp_idf_api

Check code against an ESP-IDF release

Finds the ESP-IDF functions, types and headers in a piece of code that do not fit the ESP-IDF release of the project: removed, changed or deprecated by that release, or introduced after it. Each finding names the replacement. Use it on ESP32 code before building, when the code may come from another ESP-IDF major version, for example ESP-IDF 4 driver calls in an ESP-IDF 5 project. The list comes from Espressif's migration guides for ESP-IDF 5.0 to 5.5, so a name outside those guides is not judged.

Parameterscoderequiredidf_versionrequired

check_build_flags

Check compiler and linker flags

Reads compiler and linker command lines, or the values of CFLAGS and LDFLAGS, and reports what bites on a microcontroller: objects built for different cores or float ABIs, a link line without the core or the float ABI, sections without garbage collection, a build without debug information or without warnings. Use it after writing or changing a Makefile, a CMake toolchain file or the flags of a build. It knows the flags of GCC and Clang and reads the flags only, not the code.

Parametersflagsrequired

get_platform_pitfalls

Get the traps of a platform or a bus

Returns the traps of one microcontroller family, RTOS, SDK or bus as habits: when something shows up there or before a risky step, what to do, and why. Use it before writing code for a platform or a bus that has not come up in this session, and when a board will not connect, flash or start. Subjects: buses, esp-idf, esp32, freertos, kinetis, nrf-connect, nrf52, pico-sdk, rp2040, samd, stm32, stm32-hal, zephyr. Omit the subject or the topic for the list.

Parameterstopicsubject

diagnose_symptom

Diagnose a symptom on hardware

Returns what a firmware engineer does when a board shows a symptom: the order to work in, the suspects in order of likelihood, what to ask the board first, and what each answer means. Use it before changing code for anything seen on hardware: a hang, a reset, a fault that comes and goes, a silent bus, a build that works only with the debugger. With a device, it names the registers to read on that part. Omit the symptom for the list.

Parametersdevicesymptom

get_debug_technique

Get a move to observe or shape firmware

Returns how to make firmware show what it does, on the bench or in the code and the build: watch a variable the optimiser removed, time a handler with a pin, keep evidence across a reset, find who corrupts memory, match a wire format, let the compiler forbid a mistake, shrink an image. Each move says what it shows and what it costs. Use it when you need an observation, or a compiler, linker or macro technique, instead of a guess. Omit the goal for the list.

Parametersgoal

get_playbook

Get the order of a firmware task

Returns the steps of a firmware task in the order that keeps every step provable: bringing up a new board, writing a driver, an interrupt handler, a watchdog, a firmware update, low power. Use it before starting one of these tasks. Each step says when it is done, and the next one stands on it. Omit the task for the list.

Parameterstask

get_break_list

Get the faults to test firmware against

Returns the faults to try on firmware, by area: power, buses, inputs, time, memory and storage, clocks, updates, the watchdog and missing parts, with the order to work through them. Use it to review or test firmware for robustness, one fault at a time. Omit the area for the list.

Parametersarea

get_firmware_rules

Get firmware coding rules

Returns coding rules for microcontroller firmware in C, C++ or Rust. Each rule has an id, a habit with its reason, what to look for in review, and the MISRA or CERT rule numbers it relates to. The rules that block a change come first. Use it before writing firmware code, or to review code rule by rule, where a finding can name the id of its rule. Give a context to get only the rules for that kind of code.

Parameterscontextlanguagerequired

Version history

1
  1. v3.0.0LatestNov 24, 2026

Score

83% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts

    Declare a GitHub repository with a README, or serve resource_documentation in the OAuth protected-resource metadata.

  • LicenseNot applicable

    A hosted service is used under its provider's terms, so no license is expected here. This check is left out of the percentage.