ts-introspect-mcp-server

ts-introspect-mcp-server

3.3

If you are the rightful owner of ts-introspect-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The TypeScript Package Introspector is an MCP server that extracts and analyzes exported symbols and type information from TypeScript packages and source code.

The TypeScript Package Introspector operates as a Model Context Protocol (MCP) server, designed to introspect TypeScript packages and source code. It extracts exported symbols such as functions, classes, types, and constants, along with their type information. This tool is particularly useful for developers and applications that require detailed type signatures and documentation from TypeScript projects. By running as an MCP server, it can provide these capabilities to various LLM applications, enhancing their ability to understand and utilize TypeScript code. The server can be easily integrated into projects using a simple configuration file and can be started using npx.

Features

  • Extract exported symbols from npm packages using their type definitions
  • Analyze TypeScript source code directly
  • Get detailed type signatures for all exported symbols
  • Extract JSDoc comments as descriptions
  • Provide type information to LLMs through MCP

Tools

  1. introspect-package

    Introspects an npm package and returns its exported symbols.

  2. introspect-source

    Introspects TypeScript source code and returns the exported symbols.