MCP.Market

Stata MCP Server

by tmonk·io.github.tmonk/mcp-stata·v1.0.4·86 stars

A lightweight MCP server for Stata.

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
Growing

86 stars382 downloads/wk

Reviews

Write one

Nobody has reviewed Stata MCP Server yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Stata MCP Server tools (11, 2 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • codebook

    Returns codebook/summary for a specific variable.

  • describe

    Returns variable descriptions, storage types, and labels (equivalent to Stata's `describe` command).

  • export_graph

    Exports a stored Stata graph to an image format (PNG) and returns it.

  • export_graphs_all

    Exports all graphs in memory to base64-encoded PNGs. Returns a JSON envelope listing graph names and images.

  • get_data

    Returns a slice of the active dataset as a JSON-formatted list of dictionaries.

  • get_help

    Returns the official Stata help text for a given command or topic.

  • get_stored_results

    Returns the current stored results (r-class and e-class scalars/macros) as a JSON-formatted string.

  • list_graphs

    Lists the names of all graphs currently stored in Stata's memory.

  • load_data

    Loads data using sysuse/webuse/use heuristics based on the source string. Automatically appends , clear unless clear=False.

  • run_commandwrite action

    Executes a specific Stata command.

  • run_do_filewrite action

    Executes a .do file with optional trace output and JSON envelope.

Public scan report

scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it

no findings
  • Code scan8 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 142 days ago8/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Stata MCP Server compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
82/100
higher than 63% of 48,255 servers
Tools
11
the typical server has 7
Tools that change things
18%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
86
more than 95% of 28,688 servers
Downloads a week
382
more than 84% of 12,191 servers with a package

What its tools let an agent do: 9 read · 2 run or deploy

Install Stata MCP Server in Claude Code, Cursor or VS Code

claude mcp add mcp-stata -- uvx mcp-stata
Add to Cursor

Stata MCP Server: common questions

Is Stata MCP Server safe?
Mostly: it is graded B (82/100). Read the Stata MCP Server safety report
How do I install Stata MCP Server?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Stata MCP Server need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Stata MCP Server maintained?
The last commit was 176 days ago (2026-05-12). The latest release is v1.0.4.
How does Stata MCP Server compare with other MCP servers?
safety score 82/100 (higher than 63% of 48,255 servers); tools 11 (the typical server has 7); tools that change things 18% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.