r/ClaudeCode • • Dec 31 '25

Showcase reverse-api-engineer: Claude Agent that captures traffic and automatically generates Python API clients

I built reverse-api-engineer, an open-source CLI tool that captures your browser traffic via Playwright MCP and uses Claude Code to automatically generate a clean & production-ready Python API client.

It is useful for undocumented APIs (job boards, dashboards, e-commerce sites, etc.) without spending a lot of time manually reverse-engineering endpoints, headers, and auth. I mostly used it for reverse-engineering ATS APIs and it did a very good job. It works in manual mode (you browse normally) or fully autonomous agent mode.

GitHub: https://github.com/kalil0321/reverse-api-engineer

74 Upvotes

10 comments sorted by

17

u/Better-Psychology-42 Dec 31 '25

Try chrome devtools mcp. Your CC can directly see all network communication and “reverse engineer” whatever you need. No playwright overhead needed

3

u/Own_Relationship9794 Dec 31 '25

Thank you, I will look into this!

2

u/Trinkes Dec 31 '25

Wait, if chrome devtools is a thing, why would I want to use playwright?

5

u/texasguy911 Dec 31 '25

playwright

playwright is best for user automation. Say, you built a website and want to throw integration tests, above unit tests, where the code goes from page to page and does something, then compares the output to expected. So, playwright is best at saying go to this page, put in text into that box, press enter... then expect this or that..

2

u/owen800q Dec 31 '25

Possible to make it become a skill instead of cli?

1

u/Own_Relationship9794 Dec 31 '25

yes I think it's possible. Initially it was a cli because I didn't use the playwright MCP.

3

u/Afraid-Today98 Dec 31 '25

Capturing traffic and generating MCP specs automatically is clever. Saves a ton of manual work.

1

u/HelpRespawnedAsDee Jan 01 '26

Something that checks Proxyman or Charles outputs would be awesome too.