LeanScale Access API

Key issuance.

GitHub OpenAPI

Operations 1

POST /api/access Issue an access key #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/leanscale-team:leanscale-team-access-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

leanscale-team-access-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LeanScale GTM Knowledge Access API
  version: 1.0.0
  summary: Programmatic access to LeanScale's go-to-market operations knowledge base.
  description: 'Two surfaces.


    **MCP** (`/mcp`) is the primary one: a Model Context Protocol server over Streamable HTTP, exposing the knowledge base as tools and resources to Claude, Cursor and any other MCP client. Discovery (`initialize`, `tools/list`, `resources/list`, `resources/read`) is unauthenticated; `tools/call` needs a key.


    **REST** (`/api/access`) exists to issue that key.


    Keys are free. `POST /api/access` with a business email returns one immediately.


    The server is also listed in the official MCP registry as `team.leanscale/gtm-knowledge`.'
  contact:
    name: LeanScale
    url: https://www.leanscale.team/mcp
    email: hello@leanscale.team
servers:
- url: https://mcp.leanscale.team
  description: Production. The MCP endpoint and the key-issuing API both live on this host.
security:
- accessKey: []
tags:
- name: Access
  description: Key issuance.
paths:
  /api/access:
    post:
      operationId: issueAccessKey
      tags:
      - Access
      summary: Issue an access key
      description: Exchanges a business email for a free access key. Consumer mailboxes are rejected and the domain is checked for deliverability. Repeat signups return the key already issued rather than a new one, so an installed key is never orphaned.
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccessRequest'
      responses:
        '200':
          description: Key issued, or returned unchanged for a repeat signup.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessResponse'
        '400':
          description: Validation failed. `code` identifies which check.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Wrong method.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    AccessResponse:
      type: object
      required:
      - ok
      - key
      properties:
        ok:
          type: boolean
          const: true
        key:
          type: string
          pattern: ^ls_pk_[A-Za-z0-9]+$
          description: The access key. Send as a bearer token to /mcp.
        tier:
          type: string
          enum:
          - public
          - internal
          description: What the key can reach.
        returning:
          type: boolean
          description: Present and true when this email already had a key.
        stats:
          $ref: '#/components/schemas/CorpusStats'
    AccessRequest:
      type: object
      required:
      - name
      - company
      - email
      properties:
        name:
          type: string
          minLength: 2
          maxLength: 120
          description: Who is asking.
        company:
          type: string
          minLength: 2
          maxLength: 160
          description: Company name.
        email:
          type: string
          format: email
          description: Business email. Consumer domains are rejected.
        role:
          type:
          - string
          - 'null'
          maxLength: 120
          description: Job title. Optional.
        note:
          type:
          - string
          - 'null'
          maxLength: 600
          description: What they want to use it for. Optional.
        website:
          type:
          - string
          - 'null'
          description: Honeypot. Leave absent — it is not rendered for humans and any value marks the submission as automated.
    Error:
      type: object
      description: Every failing response on this API has this shape.
      required:
      - ok
      - error
      - code
      properties:
        ok:
          type: boolean
          const: false
        error:
          type: string
          description: Human-readable message, safe to show a user.
        code:
          type: string
          description: Stable machine-readable code. Branch on this, never on the message.
          enum:
          - method_not_allowed
          - invalid_json
          - name_required
          - company_required
          - invalid_business_email
          - email_domain_not_found
          - email_domain_no_mx
          - not_found
        field:
          type: string
          description: Request field the error belongs to, when it belongs to one.
        hint:
          type: string
          description: What to change to make the call succeed.
        docs:
          type: string
          format: uri
          description: Link to this specification.
    CorpusStats:
      type: object
      description: Live corpus counts. Distinct parents on the public tier.
      properties:
        documents:
          type: integer
          description: Searchable passages.
        characters:
          type: integer
        playbooks:
          type: integer
        studies:
          type: integer
        caseStudies:
          type: integer
        episodes:
          type: integer
        docs:
          type: integer
  securitySchemes:
    accessKey:
      type: http
      scheme: bearer
      description: An access key from `POST /api/access`. Required only by `tools/call`.
externalDocs:
  description: Human documentation for the MCP server
  url: https://www.leanscale.team/mcp