# Pipeline Diagrams > Whiteboard-proof diagrams for data pipelines. A handful of shapes (processors, data stores, triggers, flows) to design, describe and explain how data moves between systems. Diagrams as code: write a few lines of text in a ```pipeline code block, and the npm package `pipeline-diagrams` checks it, lays it out and draws it as SVG or Mermaid. No dependencies; it runs in a browser, on the command line, in Markdown and in AI agents. To draw a diagram, read the agent guide first: it has the whole language on one page. Write the diagram in a ```pipeline code block. Where `pipeline` blocks aren't rendered (GitHub, most chats), add a Mermaid version as well. Check and render a diagram from the command line, without installing anything first: ```sh npx -y pipeline-diagrams diagram.pipeline --check # errors and warnings, with line numbers and fixes npx -y pipeline-diagrams diagram.pipeline out/ # out/diagram.svg and out/diagram-dark.svg ``` ## For agents - [Agent guide](https://pipeline-diagrams.com/downloads/pipeline-diagrams-agent-guide.md): the language on one page, with the shapes, the flows, an example and the rules - [Skill](https://pipeline-diagrams.com/SKILL.md): the agent guide as an Agent Skill (SKILL.md), for Claude Code and other agents that load skills - [For AI agents](https://pipeline-diagrams.com/agents.html): the Claude Code plugin, the MCP server, and setup for other agents - [Useful prompts](https://pipeline-diagrams.com/prompts.html): prompts that get a map of every data flow in a repository ## Docs - [Language reference](https://pipeline-diagrams.com/text-format.html): every statement, the grammar, and every error and warning - [The notation](https://pipeline-diagrams.com/notation.html): the shapes and what they mean - [Install & tools](https://pipeline-diagrams.com/install.html): the npm package, command line tools, Markdown plugins and the GitHub renderer - [In your browser](https://pipeline-diagrams.com/browser.html): the `` element and the offline viewer ## Install for Claude Code The plugin has the skill and the MCP server: ```text /plugin install pipeline-diagrams --marketplace Sparkboxx/pipeline-modelling ``` ## MCP server ```sh npx -y -p pipeline-diagrams pipeline-diagrams-mcp ``` Tools: `pipeline_guide`, `check_pipeline`, `render_pipeline`, `pipeline_to_mermaid`. ## Optional - [npm package](https://www.npmjs.com/package/pipeline-diagrams) - [Source on GitHub](https://github.com/Sparkboxx/pipeline-modelling) - [Origin story](https://pipeline-diagrams.com/origin.html)