Skip to main content
Glama

Documentation Search MCP Server

get_code_examples

Retrieve curated code examples for a specific library and topic, tailored to your chosen programming language, helping you understand and implement features efficiently.

Instructions

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

Input Schema

NameRequiredDescriptionDefault
languageNopython
libraryYes
topicYes

Input Schema (JSON Schema)

{ "properties": { "language": { "default": "python", "title": "Language", "type": "string" }, "library": { "title": "Library", "type": "string" }, "topic": { "title": "Topic", "type": "string" } }, "required": [ "library", "topic" ], "title": "get_code_examplesArguments", "type": "object" }

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