Priority — TypeScript Compiler Intelligence

Stateless TS/JS compiler facts for agents: references, imports, impact. No repo index or OAuth.

Should I use this

Quality & Safety

A
Description quality
91%
Schema completeness
75%
Naming quality
100%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (1)

  • LOWTool 'get_diagnostics' description lacks action verbin get_diagnostics

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~6,023Tokens (tool definitions)
~5.4 KBTypical response size
Significant attention impact (4.71% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "semantic-reader": {
      "url": "https://semanticreader.dev/mcp/registry"
    }
  }
}

Remote endpoints

https://semanticreader.dev/mcp/registrystreamable-http

What it can do

Tool inventory

Tools (12)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢open_snapshot(files)

Store supplied source files ephemerally and return an opaque snapshot handle for reuse.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "minItems": 1,
      "maxItems": 24,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path",
          "content"
        ],
        "properties": {
          "path": {
            "type": "string",
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 65536
          }
        }
      }
    }
  },
  "required": [
    "files"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "snapshot": {
      "type": "string"
    },
    "expires_in_seconds": {
      "type": "integer"
    },
    "supplied_files": {
      "type": "integer"
    }
  },
  "required": [
    "snapshot",
    "expires_in_seconds",
    "supplied_files"
  ],
  "additionalProperties": false
}
🟢get_capabilities

Return Semantic Reader capabilities, limits, billing and discovery facts.

Input Schema

{
  "type": "object",
  "properties": {}
}

Output Schema

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "stage": {
      "type": "string"
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "queries": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "billing": {
      "type": "object",
      "additionalProperties": {}
    },
    "discovery": {
      "type": "object",
      "additionalProperties": {}
    },
    "input": {
      "type": "object",
      "additionalProperties": {}
    },
    "ops": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "name",
    "version"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢find_symbol(files, name, path, kind, limit, ...)

Resolve a symbol name to deterministic ranked compiler symbol candidates; safely reports ambiguity.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "kind": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10,
      "default": 10
    },
    "compact": {
      "type": "boolean",
      "default": true
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string",
      "const": "semantic-reader/find-symbol/0.2"
    },
    "snapshot": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "resolution": {
      "type": "string",
      "enum": [
        "resolved",
        "ambiguous",
        "not_found"
      ]
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "at": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": [
              {
                "type": "string"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ]
          },
          "match": {
            "type": "string",
            "enum": [
              "exact",
              "case_insensitive_exact",
              "qualified_suffix",
              "prefix",
              "substring"
            ]
          }
        },
        "required": [
          "id",
          "name",
          "kind",
          "at",
          "match"
        ],
        "additionalProperties": false
      }
    },
    "total": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "v": {
      "type": "number",
      "const": 1
    },
    "r": {
      "type": "string",
      "enum": [
        "r",
        "a",
        "n"
      ]
    },
    "x": {
      "type": "array",
      "items": {
        "type": "array",
        "minItems": 7,
        "maxItems": 7,
        "items": [
          {
            "type": "string"
          },
          {
            "type": "string"
          },
          {
            "type": "string"
          },
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "number"
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "n": {
      "type": "number"
    },
    "t": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_definition(files, name, path, kind, snapshot)

Return the compiler-resolved declaration for one supplied-file symbol.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "kind": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string",
      "const": "semantic-reader/get-definition/0.1"
    },
    "snapshot": {
      "type": "string"
    },
    "symbol": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "at": {
          "type": "array",
          "minItems": 3,
          "maxItems": 3,
          "items": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "number"
            }
          ]
        },
        "match": {
          "type": "string",
          "enum": [
            "exact",
            "case_insensitive_exact",
            "qualified_suffix",
            "prefix",
            "substring"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "at",
        "match"
      ],
      "additionalProperties": false
    },
    "definition": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "total": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema",
    "snapshot",
    "symbol",
    "definition",
    "total",
    "returned",
    "truncated",
    "next_offset",
    "coverage",
    "limits"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_type(files, name, path, kind, tsconfig, ...)

Return TypeScript type facts and call/construct signatures for one declaration.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "kind": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "tsconfig": {
      "type": "object",
      "properties": {
        "compilerOptions": {
          "type": "object",
          "properties": {
            "baseUrl": {
              "type": "string",
              "minLength": 1,
              "maxLength": 180
            },
            "paths": {
              "type": "object",
              "additionalProperties": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1
              },
              "propertyNames": {
                "minLength": 1
              }
            },
            "jsx": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "module": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "moduleResolution": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "target": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "strict": {
              "type": "boolean"
            },
            "allowJs": {
              "type": "boolean"
            },
            "checkJs": {
              "type": "boolean"
            },
            "resolveJsonModule": {
              "type": "boolean"
            },
            "esModuleInterop": {
              "type": "boolean"
            },
            "allowSyntheticDefaultImports": {
              "type": "boolean"
            },
            "verbatimModuleSyntax": {
              "type": "boolean"
            },
            "moduleDetection": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "packages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "version": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40
          },
          "integrity": {
            "type": "string",
            "minLength": 8,
            "maxLength": 120
          }
        },
        "required": [
          "name",
          "version",
          "integrity"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 8
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string",
      "const": "semantic-reader/get-type/0.1"
    },
    "snapshot": {
      "type": "string"
    },
    "symbol": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "at": {
          "type": "array",
          "minItems": 3,
          "maxItems": 3,
          "items": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "number"
            }
          ]
        },
        "match": {
          "type": "string",
          "enum": [
            "exact",
            "case_insensitive_exact",
            "qualified_suffix",
            "prefix",
            "substring"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "at",
        "match"
      ],
      "additionalProperties": false
    },
    "declared_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "value_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "apparent_type": {
      "type": [
        "string",
        "null"
      ]
    },
    "call_signatures": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "construct_signatures": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema",
    "snapshot",
    "symbol",
    "declared_type",
    "value_type",
    "apparent_type",
    "call_signatures",
    "construct_signatures",
    "coverage",
    "limits"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_diagnostics(files, path, tsconfig, packages, offset, ...)

Return bounded TypeScript syntactic and semantic diagnostics for supplied files.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "tsconfig": {
      "type": "object",
      "properties": {
        "compilerOptions": {
          "type": "object",
          "properties": {
            "baseUrl": {
              "type": "string",
              "minLength": 1,
              "maxLength": 180
            },
            "paths": {
              "type": "object",
              "additionalProperties": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1
                },
                "minItems": 1
              },
              "propertyNames": {
                "minLength": 1
              }
            },
            "jsx": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "module": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "moduleResolution": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "target": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "strict": {
              "type": "boolean"
            },
            "allowJs": {
              "type": "boolean"
            },
            "checkJs": {
              "type": "boolean"
            },
            "resolveJsonModule": {
              "type": "boolean"
            },
            "esModuleInterop": {
              "type": "boolean"
            },
            "allowSyntheticDefaultImports": {
              "type": "boolean"
            },
            "verbatimModuleSyntax": {
              "type": "boolean"
            },
            "moduleDetection": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "packages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 100
          },
          "version": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40
          },
          "integrity": {
            "type": "string",
            "minLength": 8,
            "maxLength": 120
          }
        },
        "required": [
          "name",
          "version",
          "integrity"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 8
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 24000,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 50
    },
    "compact": {
      "type": "boolean",
      "default": true
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string",
      "const": "semantic-reader/get-diagnostics/0.1"
    },
    "snapshot": {
      "type": "string"
    },
    "path": {
      "type": [
        "string",
        "null"
      ]
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "phase": {
            "type": "string",
            "enum": [
              "syntactic",
              "semantic"
            ]
          },
          "category": {
            "type": "string"
          },
          "code": {
            "type": "integer"
          },
          "message": {
            "type": "string"
          },
          "file": {
            "type": [
              "string",
              "null"
            ]
          },
          "line": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "column": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "end_line": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "end_column": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "phase",
          "category",
          "code",
          "message",
          "file",
          "line",
          "column",
          "end_line",
          "end_column"
        ],
        "additionalProperties": false
      }
    },
    "total": {
      "type": "number"
    },
    "total_found": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "counts": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      }
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "v": {
      "type": "number",
      "const": 1
    },
    "p": {
      "type": [
        "string",
        "null"
      ]
    },
    "f": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "d": {
      "type": "array",
      "items": {
        "type": "array",
        "minItems": 9,
        "maxItems": 9,
        "items": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          },
          {
            "type": "string"
          },
          {
            "type": "integer"
          },
          {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          {
            "type": "string"
          }
        ]
      }
    },
    "n": {
      "type": "number"
    },
    "next": {
      "type": [
        "number",
        "null"
      ]
    },
    "b": {
      "type": "object",
      "properties": {
        "cw": {
          "type": "boolean"
        },
        "ndl": {
          "type": "boolean"
        },
        "gdi": {
          "type": "boolean"
        },
        "complete": {
          "type": "boolean"
        },
        "pkg": {
          "type": "number"
        },
        "net": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "cw",
        "ndl",
        "gdi",
        "complete",
        "pkg",
        "net"
      ],
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_symbol_context(files, name, path, kind, include, ...)

Return bounded definition/callers/callees context; references or impact request paid depth.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "kind": {
      "type": "string",
      "minLength": 1,
      "maxLength": 180
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "definition",
          "references",
          "callers",
          "callees",
          "impact"
        ]
      },
      "minItems": 1,
      "maxItems": 5
    },
    "per_section_limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 32,
      "default": 4
    },
    "offsets": {
      "type": "object",
      "properties": {
        "definition": {
          "type": "integer",
          "minimum": 0,
          "maximum": 24000
        },
        "references": {
          "type": "integer",
          "minimum": 0,
          "maximum": 24000
        },
        "callers": {
          "type": "integer",
          "minimum": 0,
          "maximum": 24000
        },
        "callees": {
          "type": "integer",
          "minimum": 0,
          "maximum": 24000
        },
        "impact": {
          "type": "integer",
          "minimum": 0,
          "maximum": 24000
        }
      },
      "additionalProperties": false
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string",
      "const": "semantic-reader/symbol-context/0.1"
    },
    "snapshot": {
      "type": "string"
    },
    "symbol": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "at": {
          "type": "array",
          "minItems": 3,
          "maxItems": 3,
          "items": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "number"
            }
          ]
        },
        "match": {
          "type": "string",
          "enum": [
            "exact",
            "case_insensitive_exact",
            "qualified_suffix",
            "prefix",
            "substring"
          ]
        }
      },
      "required": [
        "id",
        "name",
        "kind",
        "at",
        "match"
      ],
      "additionalProperties": false
    },
    "include": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "definition",
          "references",
          "callers",
          "callees",
          "impact"
        ]
      }
    },
    "paid_sections_requested": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "references",
          "impact"
        ]
      }
    },
    "per_section_limit": {
      "type": "number"
    },
    "sections": {
      "type": "object",
      "properties": {
        "definition": {
          "type": "object",
          "properties": {
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "additionalProperties": {}
              }
            },
            "total": {
              "type": "number"
            },
            "returned": {
              "type": "number"
            },
            "truncated": {
              "type": "boolean"
            },
            "next_offset": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "items",
            "total",
            "returned",
            "truncated",
            "next_offset"
          ],
          "additionalProperties": false
        },
        "references": {
          "$ref": "#/properties/sections/properties/definition"
        },
        "callers": {
          "$ref": "#/properties/sections/properties/definition"
        },
        "callees": {
          "$ref": "#/properties/sections/properties/definition"
        },
        "impact": {
          "$ref": "#/properties/sections/properties/definition"
        }
      },
      "additionalProperties": false
    }
  },
  "required": [
    "schema",
    "snapshot",
    "symbol",
    "include",
    "paid_sections_requested",
    "per_section_limit",
    "sections"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢query_code(files, query, symbol, offset, limit, ...)

Free navigation for symbols, callers, callees or function facts.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "query": {
      "type": "string",
      "enum": [
        "symbols",
        "callers",
        "callees",
        "function"
      ]
    },
    "symbol": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 24000,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 30
    },
    "compact": {
      "type": "boolean",
      "default": false
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string"
    },
    "analyzer": {
      "type": "string"
    },
    "snapshot": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "symbol": {},
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "total": {
      "type": "number"
    },
    "total_found": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema",
    "analyzer",
    "snapshot",
    "query",
    "items",
    "total",
    "total_found",
    "returned",
    "truncated",
    "next_offset",
    "coverage",
    "limits"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢find_references(files, symbol, offset, limit, compact, ...)

Return semantic static references to one exact compiler symbol.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "symbol": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 24000,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 30
    },
    "compact": {
      "type": "boolean",
      "default": true
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "symbol"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string"
    },
    "analyzer": {
      "type": "string"
    },
    "snapshot": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "symbol": {},
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "total": {
      "type": "number"
    },
    "total_found": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema",
    "analyzer",
    "snapshot",
    "query",
    "items",
    "total",
    "total_found",
    "returned",
    "truncated",
    "next_offset",
    "coverage",
    "limits"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_imports(files, symbol, offset, limit, compact, ...)

Return static imports made by one supplied file.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "symbol": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 24000,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 30
    },
    "compact": {
      "type": "boolean",
      "default": true
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "symbol"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string"
    },
    "analyzer": {
      "type": "string"
    },
    "snapshot": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "symbol": {},
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "total": {
      "type": "number"
    },
    "total_found": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema",
    "analyzer",
    "snapshot",
    "query",
    "items",
    "total",
    "total_found",
    "returned",
    "truncated",
    "next_offset",
    "coverage",
    "limits"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢get_importers(files, symbol, offset, limit, compact, ...)

Return supplied files that statically import one target file.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "symbol": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 24000,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 30
    },
    "compact": {
      "type": "boolean",
      "default": true
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "symbol"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string"
    },
    "analyzer": {
      "type": "string"
    },
    "snapshot": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "symbol": {},
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "total": {
      "type": "number"
    },
    "total_found": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema",
    "analyzer",
    "snapshot",
    "query",
    "items",
    "total",
    "total_found",
    "returned",
    "truncated",
    "next_offset",
    "coverage",
    "limits"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢analyze_impact(files, symbol, offset, limit, compact, ...)

Return bounded reverse-caller impact for one exact compiler symbol.

Input Schema

{
  "type": "object",
  "properties": {
    "files": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 180
          },
          "content": {
            "type": "string",
            "maxLength": 262144
          }
        },
        "required": [
          "path",
          "content"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 96
    },
    "symbol": {
      "type": "string",
      "minLength": 1,
      "maxLength": 400
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "maximum": 24000,
      "default": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 30
    },
    "compact": {
      "type": "boolean",
      "default": true
    },
    "snapshot": {
      "type": "string",
      "minLength": 20,
      "maxLength": 100
    }
  },
  "required": [
    "symbol"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "oneOf": [
    {
      "required": [
        "files"
      ]
    },
    {
      "required": [
        "snapshot"
      ]
    }
  ]
}

Output Schema

{
  "type": "object",
  "properties": {
    "schema": {
      "type": "string"
    },
    "analyzer": {
      "type": "string"
    },
    "snapshot": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "symbol": {},
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "total": {
      "type": "number"
    },
    "total_found": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    },
    "next_offset": {
      "type": [
        "number",
        "null"
      ]
    },
    "coverage": {
      "type": "object",
      "additionalProperties": {}
    },
    "limits": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "schema",
    "analyzer",
    "snapshot",
    "query",
    "items",
    "total",
    "total_found",
    "returned",
    "truncated",
    "next_offset",
    "coverage",
    "limits"
  ],
  "additionalProperties": true,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded12 tools
verifiedversion not recorded12 tools