---
name: 🐛 Bug Report
about: Report an issue or unexpected behavior
title: '[Bug] Please describe the issue in one sentence'
labels: 'bug'
assignees: ''
---

## Self-Check
<!-- Please complete the following checks before submitting -->
- [ ] I have confirmed I am using the latest version of stata-mcp (if not, please update first)
- [ ] I have run `uvx stata-mcp doctor` to check the environment and will paste the output below if there is any abnormality
- [ ] I have tried to get AI (Claude / ChatGPT / etc.) to help analyze and resolve the issue

## Client / IDE
<!-- Please select the client or IDE you are using -->
- [ ] Claude Code
- [ ] Codex CLI
- [ ] Cursor
- [ ] GitHub Copilot
- [ ] Claude Desktop
- [ ] OpenClaw
- [ ] Hermes Agent
- [ ] Other (please specify):

## Model Provider
<!-- Please select the model provider you are using -->
- [ ] OpenAI (ChatGPT)
- [ ] Anthropic (Claude)
- [ ] Google (Gemini)
- [ ] DeepSeek
- [ ] Moonshot (Kimi)
- [ ] Z.AI (GLM)
- [ ] MiniMax
- [ ] Ali (Qwen)
- [ ] OpenRouter
- [ ] Other (please specify):

## Bug Description
<!-- A clear and concise description of the bug. Please specify the feature/command and the observed behavior. -->

## Steps to Reproduce
<!-- Detailed steps to reproduce the behavior. Please provide the specific command, code, or action that triggered the issue. -->
1. Prompt used (full content):
2. Subsequent actions (e.g., clicks, commands entered):
3. (Add more steps if applicable)

## Expected Behavior
<!-- A clear description of what you expected to happen -->

## Actual Behavior
<!-- What actually happened. Must include the full, unmodified error message or traceback. -->
```
> Paste the full error message here
```

## Environment
<!-- Please complete the following information -->
- OS: [e.g. macOS 14.3]
- Stata Version: [e.g. Stata 17 SE]
- Package Version: [e.g. 1.0.3]

`stata-mcp doctor` output:
```
> Paste the output of stata-mcp doctor here
```

## Additional Context
<!-- Add any other context, screenshots, or log files, and provide the data file that reproduces the issue. -->
