MCPVault

get_imports

MCP tool from MCP Codebase Index by MikeRecognex

List imports with module, names, line

How to use it

get_imports is exposed by the MCP Codebase Index MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_imports tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP Codebase Index

$pip install "mcp-codebase-index[mcp]"
FULL MCP CODEBASE INDEX LISTING