AI development/GitHub/Tool

typestub

by sarvanithin·Last observed 2026-10-26
★ 0 stars⑂ 0 forks

TypeStub is a CLI that records MCP tool responses, infers output schemas from samples, and generates TypeScript and Python stubs with documentation for fields, formats, and pagination. The server stays unchanged; the generated stubs give code-mode agents typed tool outputs to use in scripts.

Key features

  • The CLI can probe read-only tools or record live MCP traffic, infer schemas from samples, and generate TypeScript and Python stubs.

Requirements & limitations

  • Query-dependent result shapes, such as SQL result sets, cannot be typed per tool; fewer than 10 samples are marked low-confidence.

Project information

CategoryAI development
TypeTool
Author / organizationsarvanithin
LicenseMIT
Last observed2026-10-26

Discussion

No comments yet.

Sign in with Google to comment. Browsing is open to everyone.

Community vote