Skip to main content
Glama

CodeGraphContext

pypi.ts374 B
// api/pypi.ts export default async function handler(req: any, res: any) { const path = req.url?.replace("/api/pypi", "") || ""; try { const response = await fetch(`https://pypistats.org/api${path}`); const data = await response.json(); res.status(200).json(data); } catch (err) { res.status(500).json({ error: "Failed to fetch PyPI stats" }); } }

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/Shashankss1205/CodeGraphContext'

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