{"id":"tmonk-mcp-stata","name":"mcp-stata","af_score":71.0,"security_score":57.8,"reliability_score":43.8,"what_it_does":"mcp-stata is a Model Context Protocol (MCP) server that connects AI agents to a locally installed Stata (17+) installation. It runs Stata commands, can load/inspect datasets and variables, executes .do files, exports graphs, and retrieves stored r()/e() results. It also exposes an additional localhost-only HTTP API for a data-browser UI with bearer-token access.","best_when":"You have a licensed local Stata installation and want IDE/agent integration through MCP (stdio transport) plus optional localhost UI browsing.","avoid_when":"You need strict governance around what code can be executed, or you cannot isolate the process/session from untrusted prompts.","last_evaluated":"2026-03-30T15:24:20.260962+00:00","has_mcp":true,"has_api":true,"auth_methods":["MCP stdio transport (no network auth described for MCP tools)","Local HTTP UI API bearer token (Authorization: Bearer <token>) for localhost endpoints"],"has_free_tier":false,"known_gotchas":["Commands can mutate/alter the Stata session state; treat session as stateful and avoid re-running without understanding side effects","The server can reload startup do-files on certain clear commands unless MCP_STATA_NO_RELOAD_ON_CLEAR=1 is set","Large outputs are written to a temp log and emitted to the client via log tailing; agents should use read_log/find_in_log for context rather than expecting outputs inline","Cancellation is best-effort and depends on Stata surfacing BreakError; partial output may remain in the log"],"error_quality":null}