{"openapi":"3.1.0","info":{"title":"Libraries.io (BYOK) API","version":"0.1.0","description":"Libraries.io (BYOK) lets an AI assistant read your own Libraries.io data through the Libraries.io API with a key you supply (Libraries.io API key). Read-only: 11 tools (list_platforms, get_project, search_projects, list_project_dependents, list_project_contributors, get_project_sourcerank, get_repository, get_github_user, list_user_repositories, list_user_projects, list_subscriptions). The BYOK...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-librariesio.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-librariesio/docs"},"termsOfService":"https://connectorbay.com/byok-librariesio/terms"},"servers":[{"url":"https://byok-librariesio.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-librariesio/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/list_platforms":{"post":{"operationId":"list_platforms","summary":"List the package managers Libraries.io tracks with their project counts, homepage and default language. Use for \"Which p","description":"List the package managers Libraries.io tracks with their project counts, homepage and default language. Use for \"Which package managers does Libraries.io cover\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_platformsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_project":{"post":{"operationId":"get_project","summary":"Get a package's description, license, stars, rank, latest release and dependent counts (the full version list is left ou","description":"Get a package's description, license, stars, rank, latest release and dependent counts (the full version list is left out). Use for \"How popular is the NPM package react and when was it last released\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Package manager name as listed by list_platforms, for example NPM, Pypi, Rubygems, Maven, Cargo, Go.","maxLength":40,"title":"Platform","type":"string"},"name":{"description":"Package name in that package manager, for example 'react'. Scoped names such as @babel/core are not supported here.","maxLength":200,"title":"Name","type":"string"}},"required":["platform","name"],"title":"get_projectArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_projects":{"post":{"operationId":"search_projects","summary":"Search packages across package managers by text, with optional filters for platform, language, license and keyword, and ","description":"Search packages across package managers by text, with optional filters for platform, language, license and keyword, and sort order. Use for \"Find popular Rust packages for parsing JSON\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"description":"Search text, for example 'json parser'.","maxLength":200,"title":"Q","type":"string"},"sort":{"anyOf":[{"enum":["rank","stars","dependents_count","dependent_repos_count","latest_release_published_at","contributions_count","created_at"],"type":"string"},{"type":"null"}],"default":null,"description":"Sort by rank, stars, dependents_count, dependent_repos_count, latest_release_published_at, contributions_count or created_at.","title":"Sort"},"platforms":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only packages from this package manager, for example Cargo.","title":"Platforms"},"languages":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only packages in this programming language, for example Rust.","title":"Languages"},"licenses":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only packages with this license, for example MIT.","title":"Licenses"},"keywords":{"anyOf":[{"maxLength":60,"type":"string"},{"type":"null"}],"default":null,"description":"Only packages with this keyword.","title":"Keywords"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Results per page (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["q"],"title":"search_projectsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_project_dependents":{"post":{"operationId":"list_project_dependents","summary":"List packages that have at least one version depending on a package, 30 per page by default. Use for \"Which packages dep","description":"List packages that have at least one version depending on a package, 30 per page by default. Use for \"Which packages depend on the NPM package base62\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Package manager name as listed by list_platforms, for example NPM, Pypi, Rubygems, Maven, Cargo, Go.","maxLength":40,"title":"Platform","type":"string"},"name":{"description":"Package name in that package manager, for example 'react'. Scoped names such as @babel/core are not supported here.","maxLength":200,"title":"Name","type":"string"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Results per page (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["platform","name"],"title":"list_project_dependentsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_project_contributors":{"post":{"operationId":"list_project_contributors","summary":"List the GitHub contributors of a package's repository with login, name, company and location. Use for \"Who contributes ","description":"List the GitHub contributors of a package's repository with login, name, company and location. Use for \"Who contributes to the NPM package base62\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Package manager name as listed by list_platforms, for example NPM, Pypi, Rubygems, Maven, Cargo, Go.","maxLength":40,"title":"Platform","type":"string"},"name":{"description":"Package name in that package manager, for example 'react'. Scoped names such as @babel/core are not supported here.","maxLength":200,"title":"Name","type":"string"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Results per page (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["platform","name"],"title":"list_project_contributorsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_project_sourcerank":{"post":{"operationId":"get_project_sourcerank","summary":"Get the SourceRank score breakdown of a package: documentation, license, releases, dependents, stars and maintenance sig","description":"Get the SourceRank score breakdown of a package: documentation, license, releases, dependents, stars and maintenance signals. Use for \"What is the SourceRank breakdown of the NPM package base62\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"platform":{"description":"Package manager name as listed by list_platforms, for example NPM, Pypi, Rubygems, Maven, Cargo, Go.","maxLength":40,"title":"Platform","type":"string"},"name":{"description":"Package name in that package manager, for example 'react'. Scoped names such as @babel/core are not supported here.","maxLength":200,"title":"Name","type":"string"}},"required":["platform","name"],"title":"get_project_sourcerankArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_repository":{"post":{"operationId":"get_repository","summary":"Get a GitHub repository as Libraries.io tracks it: description, language, stars, forks, license, rank and last push. Use","description":"Get a GitHub repository as Libraries.io tracks it: description, language, stars, forks, license, rank and last push. Use for \"What does Libraries.io know about the GitHub repository gruntjs/grunt\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"owner":{"description":"GitHub owner login, for example 'gruntjs'.","maxLength":100,"title":"Owner","type":"string"},"repo_name":{"description":"GitHub repository name, for example 'grunt'.","maxLength":100,"title":"Repo Name","type":"string"}},"required":["owner","repo_name"],"title":"get_repositoryArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_github_user":{"post":{"operationId":"get_github_user","summary":"Get a GitHub user or organization as Libraries.io tracks it: name, company, location, followers and type. Use for \"Who i","description":"Get a GitHub user or organization as Libraries.io tracks it: name, company, location, followers and type. Use for \"Who is the GitHub user andrew on Libraries.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"login":{"description":"GitHub username or organization name, for example 'andrew'.","maxLength":100,"title":"Login","type":"string"}},"required":["login"],"title":"get_github_userArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_user_repositories":{"post":{"operationId":"list_user_repositories","summary":"List the repositories owned by a GitHub user or organization with language, stars, forks, license and last push. Use for","description":"List the repositories owned by a GitHub user or organization with language, stars, forks, license and last push. Use for \"What repositories does the GitHub user andrew own according to Libraries.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"login":{"description":"GitHub username or organization name, for example 'andrew'.","maxLength":100,"title":"Login","type":"string"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Results per page (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["login"],"title":"list_user_repositoriesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_user_projects":{"post":{"operationId":"list_user_projects","summary":"List the packages published from a GitHub user's or organization's repositories with release, stars and dependent counts","description":"List the packages published from a GitHub user's or organization's repositories with release, stars and dependent counts. Use for \"Which packages come from the GitHub user andrew's repositories\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"login":{"description":"GitHub username or organization name, for example 'andrew'.","maxLength":100,"title":"Login","type":"string"},"per_page":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":30,"description":"Results per page (1 to 100, default 30).","title":"Per Page"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["login"],"title":"list_user_projectsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_subscriptions":{"post":{"operationId":"list_subscriptions","summary":"List the packages you subscribe to for release notifications, with latest release and prerelease preference. Use for \"Wh","description":"List the packages you subscribe to for release notifications, with latest release and prerelease preference. Use for \"Which packages am I subscribed to on Libraries.io\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_subscriptionsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}