{"repo":"tmonk/mcp-stata","free":true,"listed":false,"github":"https://github.com/tmonk/mcp-stata","clone":"git clone https://github.com/tmonk/mcp-stata.git","description":"A lightweight Model Context Protocol (MCP) server for Stata. Execute commands, inspect data, retrieve stored results (r()/e()), and view graphs in your chat interface. Built for economists who want to integrate LLM assistance into their Stata workflow.","language":"Python","stars":79,"topics":["ai","econometrics","economics","llm","mcp","mcp-server","stata"],"license":"AGPL-3.0","category":"mcp-servers","readme_excerpt":"Stata MCP Server (mcp-stata) &nbsp; mcp-stata is an agentic toolkit for empirical researchers. It gives AI agents native control over a local Stata installation, allowing agents to run do-files, inspect data, check stored results, and export graphs. Contains a skills catalog for workflows researchers use often: auditing data, replication and robustness checks, specification comparisons, publication QA, referee responses, and modernization of legacy code. Featured in News . If you'd like a fully integrated VS Code extension to run Stata code without leaving your IDE, and also allow AI agent interaction, check out my other project: Stata Workbench. Built by Thomas Monk , London School of Economics. This server enables LLMs to: - Execute Stata code : run any Stata command (e.g. sysuse auto , regress price mpg ). - Inspect data : retrieve dataset summaries and variable codebooks. - Export graphics : generate and view Stata graphs (histograms, scatterplots). - Streaming graph caching : automatically cache graphs during command execution for instant exports. - Verify results : programmatically check stored results ( r() , e() ) for accurate validation. - Drive paper workflows : run structured research audits, estimation planning, specification comparisons, publication checks, and reproducibility diagnostics. - Use modern MCP surfaces : discover prompts, project/session resources, artifacts, and safety metadata through structured tool envelopes. Quickstart 1 · Install macOS/Linux: W","default_branch":null,"files":null,"tree":[],"storefront":"/r/tmonk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tmonk/mcp-stata/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}