Code Declaration Lookup MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Code Declaration Lookup MCP Serverfind declarations matching 'parse_json'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Code Declaration Lookup MCP Server
An MCP server that provides full text search for code declarations. Uses SQLite with FTS5 and universal ctags to index and search functions, classes, structures, enums, and other code elements. Supports all languages that ctags supports including Python, C, Go, C++, JavaScript, Rust, Java, and many others.
Requirements
Python 3.13
Universal Ctags 6.2.0
SQLite with FTS5 support (included in Python 3.13)
Related MCP server: fw-context-mcp
Installation
git clone git@github.com:osinmv/function-lookup-mcp.git
cd function-lookup-mcp
claude mcp add api-lookup $(pwd)/run.sh -s userExtending the Index
Just ask your coding agent to index your header folder. The indexing process respects your project's .gitignore file to avoid indexing unwanted files. Alternatively, you can generate ctags files manually using universal ctags:
ctags --output-format=json --fields=+Sf --kinds-C=+p -R -f apis/your_api.ctags /path/to/your/headersOr drop existing ctags files into the apis/ folder and restart the MCP server to update the index.
MCP functions
search_declarations(name: str, offset: int = 0, limit: int = 10) - Search for code declarations by name
list_indexed_apis() - List all indexed API files
list_api_files(api_name: str, offset: int = 0, limit: int = 100) - List all unique file paths for a specific API
list_functions_by_file(file_path: str, offset: int = 0, limit: int = 100) - List all functions found in a specific file
generate_ctags(include_directory: str) - Generate ctags from source files and add to index
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables fast semantic code search and analysis across 15+ programming languages. Supports searching for functions and classes, tracing code usage, detecting syntax errors, and analyzing code quality and structure.2933GPL 3.0
- AlicenseAqualityAmaintenanceExposes tools for AI assistants to query a persistent SQLite+FTS5 index of C/C++ symbols parsed from real build commands, enabling sub-millisecond lookup, full-text search, and natural-language explanation without hallucination.347MIT
- Alicense-qualityDmaintenanceEnables code analysis of JavaScript, TypeScript, TSX, Python, and Rust files using Tree-sitter, providing symbol listing, definition/reference lookup, AST queries, LSP-style features, and SQLite indexing for efficient cross-file searches.34MIT
- AlicenseAqualityCmaintenanceEnables smart code search in your editor using natural language queries, building an index of your workspace.7820MIT
Related MCP Connectors
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Enterprise code intelligence for M&A, security audits, and tech debt. Hosted server with 200k free.
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/osinmv/function-lookup-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server