Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Transports: stdio vs HTTP
  • State of MCP (stats)
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. 🏒 Workplace & Productivity
  3. Letin: Power Query (M)
L
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

Letin: Power Query (M)

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Inspect, refactor, lint, run and version Power Query (M) in Excel workbooks and Power BI projects.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

One-click editor setup isn’t available for this listing yet β€” we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ
No confirmed setup config for this listing yet. We only publish a config block when the install details come from the project itself β€” its README, its docs, or a verified owner. We haven’t found those for letin: Power Query (M), and we’d rather show nothing than a guess you’d paste into your client. Follow the project’s own setup instructions for the current steps.
Install Directory Badge Claim listing Alternatives🏒 More in Workplace & Productivity

Documentation Overview

letin

An MCP server that gives an AI assistant (GitHub Copilot in VS Code, Claude, …) real tools for managing Power Query (M) queries, in Excel workbooks and in Power BI projects.

Copilot in Excel / Power BI can suggest M. It cannot see how your queries depend on each other, rename one without breaking the rest, repoint forty queries at a new server, tell you which step killed query folding, put your queries in git, run a query to see what a step really returns, or check the M it just wrote against the real function library. This server does those things.

What it does

AreaTools
Inspectlist_sources list_queries get_query dependency_graph (JSON or Mermaid, lineage, orphans, cycles, refresh order) list_data_sources find_in_queries
Guided actionslist_transforms apply_transform (29 editor actions as parameters, not hand-written M: unpivot, pivot, group by, merge, append, filter, types, conditional column, split, fill, dedupe, date parts, …) remove_step
Bulk edit / refactorrename_query rename_step (reference-safe) replace_in_queries (strings-only by default) extract_parameter copy_queries (with dependencies) set_query delete_query
Lint / performancelint_queries: folding breakers before filters, hard-coded paths/servers/URLs, Csv.Document pinned column counts, dead steps, wrong in step, untyped Table.AddColumn, repeated Changed Type, brittle RemoveColumns, late filtering, duplicated staging logic, orphans, cycles
Version controlexport_queries / import_queries (one .pq per query + manifest) diff_queries list_snapshots restore_snapshot
Run Mevaluate_query (whole query or up to a step) evaluate_steps (every step of a query in one engine call, with the step where an error first appears) evaluate_m (any expression, may reference the source's queries): real column names, types, sample rows, row count, Table.Profile, or the engine's error. Runs in a private hidden Excel on a throwaway copy, under a timeout
M languagevalidate_m (syntax errors with line/column and cause; unknown steps/functions with did-you-mean; wrong argument counts) format_m / format_queries (token-verified pretty-printer, comments kept) m_function_help (858 library members with signatures, generated from the engine's #shared)
Excel liverefresh_query (returns the engine's error text) preview_query

Every write snapshots first, returns a unified diff, accepts dry_run=true, and is refused if it would turn valid M into a syntax error. All edits are token-aware: a query called Sales is never confused with a column [Sales], the string "Sales", or a comment.

Sources

Every tool takes a source:

sourceBacked byReadWrite
C:\path\book.xlsx (.xlsm, .xlsb)Closed: the file's DataMashup part, Excel is not started. Open in Excel: live COM.βœ…βœ… via COM. Already open β†’ edited live, left unsaved for you to review. Closed β†’ opened hidden with macros disabled, saved, closed.
excel:activeThe workbook in front in Excelβœ…βœ…
Report.pbip, its folder, or X.SemanticModelTMDL files (tables/*.tmdl, expressions.tmdl)βœ…βœ… M of any query; add/rename/delete for shared expressions only (renaming a table must be done in Desktop)
model.bim (or a project that contains one)TMSL JSON: legacy PBIP, Tabular Editor, SSAS/AAS projectsβœ…βœ… same rules as TMDL; string-vs-line-array form of each expression is kept
pbi:desktop, pbi:desktop:<port>, pbi:desktop:<title>The model of a running Power BI Desktop (works for .pbix, sees unsaved edits), read through Desktop's own ADOMD clientβœ…βŒ read-only by design: inspect, lint, diff, export, copy_queries out of it
Orders.pq / .mOne query per file, named after the fileβœ…βœ…
mashup.pq (any section document)section Section1; shared A = ...; e.g. Fabric Dataflow Gen2 git items, Power Query SDKβœ…βœ… member-level edits; [attributes] and comments survive
a folder of .pq filesexport_queries outputβœ…βœ…

A .pbix file is refused with instructions (save as .pbip, or open it and use pbi:desktop). Desktop must be closed/reopened to pick up PBIP edits (that is how Desktop works, not a limitation of this server).

How evaluation works

evaluate_* never runs anything in your session. A private, hidden, macro-disabled Excel opens a throwaway copy of the workbook (unsaved edits included), or for non-Excel sources a blank workbook seeded with the source's queries. Your expression is wrapped in try, the outcome is serialised to JSON by M itself, landed on a scratch sheet and read back. The refresh runs in the background under a watchdog; on timeout that Excel is killed, so a credential or privacy prompt cannot hang the server. Typical cost: 7-10 s per call. Non-Excel sources are evaluated by Excel's engine: Power BI-only connectors are unavailable and credentials come from Excel's data source settings for your Windows user. ignore_privacy_levels=true turns the privacy firewall off for that one throwaway evaluation.

Install

Windows, Python 3.10+, Excel installed for workbook editing. letin is on PyPI and in the MCP Registry as io.github.S-CurveLabs/letin. The simplest way to run it is with uv, which needs no separate install step:

powershell
uvx letin

Or install it with pip install letin and run letin.

GitHub Copilot in VS Code

Run MCP: Open User Configuration from the command palette and add:

config.json
{
  "servers": {
    "letin": {
      "type": "stdio",
      "command": "uvx",
      "args": ["letin"]
    }
  }
}

Then in Copilot Chat switch to Agent mode and check that the letin tools are enabled.

Claude Code

Terminal
claude mcp add letin -- uvx letin

From source

powershell
git clone https://github.com/S-CurveLabs/letin.git
cd letin
python -m venv .venv
.\.venv\Scripts\pip install -e .

Opening the clone in VS Code picks up .vscode/mcp.json, which runs that checkout with .venv\Scripts\python.exe -m letin.

Things to ask

  • "List the queries in C:\Reports\Sales.xlsx and draw the dependency graph as Mermaid."
  • "Lint it. Which steps are breaking query folding?"
  • "Every query points at \\oldserver\finance. Move that into a parameter called SourceFolder."
  • "Rename Query1 to stg_Orders everywhere."
  • "In Budget, unpivot everything except Department and Account, then group by Department summing Value."
  • "Export the queries to ./queries so I can commit them." / "What changed in the workbook since that export?"
  • "Undo that last change."
  • "What columns does Sales have after the Merged Queries step? Show me 5 rows." / "Walk me through what every step of Sales does." / "At which step does the error first appear?"
  • "Write a query that pivots months into columns, validate it, run it, then save it as Sales by Month."
  • "What's the signature of Table.NestedJoin? Which functions split text?"
  • "Format every query in this workbook." / "What queries are in the report I have open in Power BI Desktop?"

Safety model

  • Snapshots live in %LOCALAPPDATA%\letin\snapshots\<workbook>-<hash>\ (last 50 per source); override the root with LETIN_HOME.
  • Formulas with unbalanced brackets or unterminated strings are rejected before they reach the host.
  • Hidden Excel instances are started with AutomationSecurity = ForceDisable: workbook macros never run.
  • refresh_query only works on a workbook you have open, because a hidden refresh can block forever on a credentials or privacy-level prompt.
  • The server itself makes no network calls. Only evaluate_* and refresh_query run M, always in Excel's engine, which then contacts whatever data sources that M reads, exactly as a refresh in Excel would. Every other tool is static analysis.
  • Evaluation happens on a throwaway copy in a separate hidden Excel, under a timeout; nothing open on your screen is modified.

Limits (v0.2)

  • Evaluation needs Excel on the machine, and uses Excel's engine even for Power BI sources (see above).
  • Live Power BI Desktop is read-only, and needs Windows PowerShell 5.1 (built into Windows) to drive Desktop's ADOMD client.
  • Reference analysis is lexical. Names built at runtime (Expression.Evaluate, #shared) are reported, not rewritten.
  • The validator knows the library of this machine's Excel; connectors that exist only in Power BI are reported as info, never as errors. Regenerate the catalog after an Office update with python scripts/build_m_library.py.
  • Lint rules about folding are heuristics; confirm with View Native Query.
  • model.bim is re-serialised as 2-space JSON, so the first diff can be noisy if your tool formats it differently.

Development

powershell
.\.venv\Scripts\pip install -e ".[dev]"
.\.venv\Scripts\pytest -m "not excel"   # pure tests
.\.venv\Scripts\pytest                  # also drives a real hidden Excel

Layout: m/ (lexer, structural parser, full syntax parser, validator, formatter) β†’ graph.py lint.py refactor.py transforms.py (pure, host-agnostic) β†’ hosts/ (Excel COM + file, PBIP/TMDL, model.bim, live Desktop, M files, folder) β†’ evaluate.py (hidden-Excel evaluation) β†’ server.py (MCP tools). data/m_library.json is generated by scripts/build_m_library.py.

License

MIT. See LICENSE.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Workplace & Productivity View all alternatives
  • K
    Kaneo

    Official MCP server for Kaneo: manage tasks, projects, and labels from Claude and other MCP clients

    🏒 Workplace & Productivity0 views
    Compare vs Kaneo β†’
  • J
    JDataMunch MCP

    Tabular data retrieval. Index CSV/Excel, query rows, aggregate. 99%+ savings vs raw file reads.

    🏒 Workplace & Productivity1 views
    Compare vs JDataMunch MCP β†’
  • E
    Excel MCP Server

    An Excel manipulation server providing workbook creation, data operations, formatting, and advanced features (charts, pivot tables, formulae).

    🏒 Workplace & Productivity6 views
    Compare vs Excel MCP Server β†’
  • E
    Easy Notion

    Markdown-first Notion MCP server. ~6-7x fewer response tokens vs official Notion MCP. 43 tools.

    🏒 Workplace & Productivity2 views
    Compare vs Easy Notion β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Letin: Power Query (M)

We don't have a confirmed install command for letin: Power Query (M) yet, so we don't publish a generated one β€” a guessed package name would point at the wrong package or none at all. Follow the project's own README or setup instructions (https://github.com/S-CurveLabs/letin) for the current steps.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLetin: Power Query (M) AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/letin-power-query-m?style=directory)](https://allmcps.com/mcp/letin-power-query-m)
HTML Embed
<a href="https://allmcps.com/mcp/letin-power-query-m"><img src="https://allmcps.com/api/badge/letin-power-query-m?style=directory" alt="Letin: Power Query (M) on AllMCPs" /></a>

Technical Specs & Signals

Category🏒Workplace & Productivity
More technical detailsExpand β–Ύ
Last updatedSep 28, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… Featured
A

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in 🏒 Workplace & Productivity β†’Best MCP servers for Workplace & Productivity β†’Alternatives to Letin: Power Query (M) β†’Install in Claude DesktopInstall in CursorInstall in VS CodeSetup guides for all 13 MCP clients