Skip to main content
Glama

Documentation Search MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SERPER_API_KEYYesYour Serper API key for enhanced search capabilities

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_docs
Search the latest docs for a given query and one or more libraries. Args: query: The query to search for (e.g., "Chroma DB") libraries: A single library or a list of libraries to search in (e.g., "langchain" or ["fastapi", "django"]) Returns: Text from the docs (limited to ~50KB for readability)
suggest_libraries
Suggest libraries based on partial input for auto-completion. Args: partial_name: Partial library name to search for (e.g. "lang" -> ["langchain"]) Returns: List of matching library names
health_check
Check the health and availability of documentation sources. Returns: Dictionary with health status of each library's documentation site
clear_cache
Clear the documentation cache to force fresh fetches. Returns: Status message about cache clearing
get_cache_stats
Get statistics about the current cache usage. Returns: Dictionary with cache statistics
semantic_search
Enhanced semantic search across one or more libraries with relevance ranking. Args: query: The search query. libraries: A single library or a list of libraries to search in. context: Optional context about your project or use case. Returns: Enhanced search results with relevance scores and metadata, ranked across all libraries.
filtered_search
Search with advanced filtering options. Args: query: The search query library: The library to search in content_type: Filter by content type ("tutorial", "reference", "example", "guide") difficulty_level: Filter by difficulty ("beginner", "intermediate", "advanced") has_code_examples: Filter for content with code examples (true/false) Returns: Filtered search results matching specified criteria
get_learning_path
Get a structured learning path for a library based on experience level. Args: library: The library to create a learning path for experience_level: Your current level ("beginner", "intermediate", "advanced") Returns: Structured learning path with progressive topics and resources
get_code_examples
Get curated code examples for a specific topic and library. Args: library: The library to search for examples topic: The specific topic or feature language: Programming language for examples Returns: Curated code examples with explanations
get_environment_config
Get current environment configuration and settings. Returns: Current environment configuration details
scan_library_vulnerabilities
Comprehensive vulnerability scan using OSINT sources (OSV, GitHub Advisories, Safety DB). Args: library_name: Name of the library to scan (e.g., "fastapi", "react") ecosystem: Package ecosystem ("PyPI", "npm", "Maven", "Go", etc.) Returns: Detailed security report with vulnerabilities, severity levels, and recommendations
get_security_summary
Get quick security overview for a library without detailed vulnerability list. Args: library_name: Name of the library ecosystem: Package ecosystem (default: PyPI) Returns: Concise security summary with score and basic recommendations
compare_library_security
Compare security scores across multiple libraries to help with selection. Args: libraries: List of library names to compare ecosystem: Package ecosystem for all libraries Returns: Security comparison with rankings and recommendations
suggest_secure_libraries
Enhanced library suggestions that include security scores for informed decisions. Args: partial_name: Partial library name to search for include_security_score: Whether to include security scores (slower but more informative) Returns: Library suggestions with optional security information
scan_project_dependencies
Scans project dependencies from files like pyproject.toml or requirements.txt for vulnerabilities. Args: project_path: The path to the project directory (defaults to current directory). Returns: A comprehensive security report of all project dependencies.
generate_project_starter
Generates a starter project from a template (e.g., 'fastapi', 'react-vite'). Args: project_name: The name for the new project directory. template: The project template to use. Returns: A summary of the created project structure.
manage_dev_environment
Manages local development environments using Docker Compose. Args: service: The service to set up (e.g., 'postgres', 'redis'). project_path: The path to the project directory. Returns: A confirmation message with the next steps.
get_current_config
Returns the current, active configuration of the MCP server. This allows users to view the default config and use it as a template for local overrides.

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/anton-prosterity/documentation-search-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server