About MCP
MCP is an MCP server published by spartan-ng in the Documentation category: cutting-edge tools powering Angular full-stack development. Conduid read 17 tools from its source: spartan_accessibility_check, spartan_blocks_dependencies, spartan_blocks_get, spartan_blocks_list, spartan_cache_clear, spartan_cache_list_versions and 11 more. It is published to npm as @spartan-ng/mcp and starts with npx.
The repository has 3.0K stars and 344 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v1.10.1 (24 Nov 2026): <small>1.10.1 (2026-11-24)</small> fix: 1.10.1 (#1914) (2311725), closes #1914 #1912 #1908 #1899 fix: let the last repeated class win in a classes() text source (97804a2… It follows v1.10.0 (20 Nov 2026), and the 5 most recent releases go back to v1.8.2 (23 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include accessibility, analogjs, angular, trpc and ui-components.
Install
claude mcp add mcp-b501 -- npx -y @spartan-ng/mcpnpx -y @spartan-ng/mcpgit clone https://github.com/spartan-ng/spartanTools (17)
spartan_accessibility_checkAnalyze accessibility features, ARIA support, keyboard navigation, and screen reader compatibility for a Spartan UI component. Provides accessibility best practices and implementation guidance.| Parameter | Type | Description |
|---|---|---|
| checkType | string | Type of accessibility check: specific area or 'all' for comprehensive analysis |
| componentName * | string | Spartan component name |
spartan_blocks_dependenciesAnalyze what components and packages a Spartan UI block requires. Blocks are compositions of multiple components, so this shows all underlying dependencies.| Parameter | Type | Description |
|---|---|---|
| blockName * | string | Spartan block name (e.g., 'sidebar', 'login') |
spartan_blocks_getFetch the Spartan UI documentation page for a given block (e.g., 'sidebar', 'login'). Blocks are pre-built UI patterns that combine multiple components. The response includes complete code examples showing how to use the block.| Parameter | Type | Description |
|---|---|---|
| format | string | Return format: raw HTML or plain text. |
| name * | string | Block name (kebab-case), e.g., 'sidebar', 'login', 'signup', 'calendar', 'stepper'. |
| noCache | boolean | Bypass cache when true. |
| spartanVersion | string | Spartan UI version to use for caching (e.g., '1.2.3'). If not provided, defaults to 'latest'. |
spartan_blocks_listReturns a list of known Spartan Angular UI blocks (pre-built UI patterns) with their documentation URLs. Blocks are higher-level compositions of components like sidebars, login forms, signup forms, calendars, and steppers. Use this to discover available blocks, then call spartan_blocks_get with specific block names to get detailed code.spartan_cache_clearClear cached documentation for the current Spartan UI version| Parameter | Type | Description |
|---|---|---|
| allVersions | boolean | Clear cache for all versions (default: false) |
spartan_cache_list_versionsList all cached Spartan UI versionsspartan_cache_rebuildRebuild cache by fetching fresh documentation from spartan.ng for all components and blocks| Parameter | Type | Description |
|---|---|---|
| blocks | array | Specific blocks to rebuild (default: all blocks) |
| components | array | Specific components to rebuild (default: all components) |
| includeDocs | boolean | Include documentation topics (default: true) |
spartan_cache_statusGet current cache status, including version, cached components, and statisticsspartan_cache_switch_versionSwitch to a different Spartan UI version for caching and retrieval| Parameter | Type | Description |
|---|---|---|
| version * | string | Spartan UI version (e.g., '1.2.3', 'latest') |
spartan_components_dependenciesAnalyze what other components, packages, or dependencies a Spartan UI component requires. Includes Angular CDK dependencies, peer components, and installation requirements.| Parameter | Type | Description |
|---|---|---|
| componentName * | string | Spartan component name (e.g., 'calendar', 'dialog') |
| includeTransitive | boolean | Include transitive dependencies (dependencies of dependencies) |
spartan_components_getFetch the Spartan UI documentation page for a given component (e.g., 'accordion'). IMPORTANT: The response contains comprehensive API information including Brain API (Brn*) and Helm API (Hlm*) components with their inputs, outputs, selectors, and examples. Always parse and present the API tables, code examples, and component specifications from the response. Look for structured sections like 'Brain API', 'Helm API', and 'Examples' in the response.| Parameter | Type | Description |
|---|---|---|
| extract | string | Extraction: 'code' for code blocks, 'api' for structured API information. |
| name * | string | Component name (kebab-case), e.g., 'accordion'. |
| noCache | boolean | Bypass cache when true. |
| spartanVersion | string | Spartan UI version to use for caching (e.g., '1.2.3'). If not provided, defaults to 'latest'. |
spartan_components_listReturns a list of known Spartan Angular UI components with their documentation URLs. Use this to discover available components, then call spartan_components_get with specific component names to get detailed API documentation.spartan_docs_getFetch an official Spartan documentation section by topic (${DOCUMENTATION_TOPICS.join(', ')}).| Parameter | Type | Description |
|---|---|---|
| extract | string | Optional extraction: code blocks, headings, or links. |
| format | string | Return format: raw HTML or plain text. |
| noCache | boolean | Bypass cache when true. |
| spartanVersion | string | Spartan UI version to use for caching (e.g., '1.2.3'). If not provided, defaults to 'latest'. |
| topic * | string | Documentation topic to fetch. Includes 'analog-dark-mode' external article. |
spartan_health_checkCheck availability and response times for selected Spartan docs and component pages. This validates the docs site, not your local workspace health check.| Parameter | Type | Description |
|---|---|---|
| components | array | Component names to check; defaults to a small representative set. |
| topics | array | Docs topics to check; defaults to a standard set. |
spartan_health_commandReturn the exact command to run the Spartan health check for Angular CLI or Nx. Optionally append --dry-run.| Parameter | Type | Description |
|---|---|---|
| dryRun | boolean | Append --dry-run to preview changes. |
| tool * | string | Which toolchain to use: Angular CLI (ng) or Nx (nx). |
spartan_health_instructionsReturn official instructions and commands for running the Spartan CLI health check in Angular CLI or Nx workspaces.spartan_metaReturn known docs topics, components, and blocks for client autocomplete.Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.4K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
- !No dynamic code executionScanned 2.2K source files and found 7 calls to eval or shell execution, in apps/cli-smoke/src/support/registry.ts:48, apps/cli-smoke/src/utils/workspace.ts:93 and apps/cli-smoke/src/utils/workspace.ts:97 among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
What the source scan found
- Transport
- stdiolibs/mcp/src/server.ts:4
- Starts other programs
- 10 callsapps/cli-smoke/src/support/affected.ts:48, apps/cli-smoke/src/support/registry.ts:48, apps/cli-smoke/src/support/registry.ts:73
- Outbound network calls
- 7 callslibs/mcp/src/tools/health.ts:46, libs/mcp/src/tools/utils.ts:155, apps/app/src/app/shared/stackblitz/open-in-stackblitz-button.ts:54
- Writes or deletes files
- 8 callslibs/mcp/src/tools/cache.ts:130, libs/mcp/src/tools/cache.ts:131, libs/mcp/src/tools/cache.ts:132
- Lockfile
- pnpm-lock.yaml
Pattern matches on the source text of 2164 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.4K words, fetched 6 days ago. The original in the repository is authoritative.
Read full README