# AI agent to retrieve library docs via MCP and HTTP API
This automation template enables developers to instantly retrieve software library documentation through natural language queries. Built on n8n, LangChain, and Google Gemini, it resolves ambiguous library names into precise IDs using Context7, then fetches relevant documentation. Exposed via MCP and SSE, it’s designed for seamless integration with IDEs and code editors.
## Who it´s for
- Developers needing fast access to framework and library docs
- Teams integrating AI agents into code editors and IDEs
- Owners of internal developer tooling platforms
- Architects building MCP-based agent systems
- Teams using Roo Code, Cline, or Smithery
## What the automation does
- Accepts natural language queries via HTTP webhook or MCP trigger (e.g., "docs for Tailwind CSS")
- Resolves library names to standardized IDs using Context7
- Leverages Google Gemini to interpret context and extract relevant doc fragments
- Returns results via SSE stream compatible with external clients
- Operates in real-time using n8n orchestration and LangChain logic
## What´s included
- Ready-to-use n8n workflow with MCP and SSE support
- Trigger logic: HTTP, MCP Server, and manual execution
- Integrations with Context7, Google Gemini API, Roo Code, Cline
- Basic setup and adaptation guide
## Requirements for setup
- n8n instance with external API access
- API keys for Google Gemini and Context7
- Access to MCP-compatible clients (e.g., IDEs supporting MCP)
- Familiarity with LangChain and HTTP triggers
## Benefits and outcomes
- Accelerates developer access to documentation without leaving the editor
- Reduces cognitive load by automating doc lookup
- Enables lightweight AI agent collaboration via standardized MCP
- Supports both open-source and proprietary libraries
- Works with fuzzy input—no need for exact library naming
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet