- DATA
- STRATEGY
- PLAN
- HUMAN
Our technology reaches across leading technology and enterprise teams.

Short answer
How do I calculate markdown token density?
Your agent uses the connector to scan your markdown files and return the specific token count for each. This allows you to see exactly how much text exists per file so you can decide on chunking sizes. You'll get a clear breakdown of density across your entire dataset.
Where each metric lands.
The outcomes of your audit.
Once your agent runs the density check, it organizes the data into these categories.
DATA
Raw token counts
Your agent uses the density tool to pull exact numbers for each file in your path. You get the raw data needed for technical planning.
STRATEGY
Chunking limits
Use the density results to set your max token limits. This prevents your embeddings from cutting off mid-sentence.
PLAN
Embedding maps
Your agent identifies which files are too dense or too sparse. You'll know exactly where to focus your vectorization efforts.
HUMAN
Manual cleanup
Your agent flags files with extreme density outliers. You'll need to step in to manually reformat these files if they don't fit your chunking logic.
The workflow
What your agent does when the files arrive.
Your agent handles the heavy lifting of parsing and counting so you don't have to manually check file sizes.
File scanning
Your agent crawls your specified directory to find all markdown files. It identifies the structure and content of each file.
calculate_markdown_token_densityToken counting
Your agent calculates the exact token count for each markdown document. This includes accounting for markdown syntax overhead.
calculate_markdown_token_densityDensity analysis
Your agent compares the token counts against the file structure. It determines how much information is concentrated in specific sections.
calculate_markdown_token_densityReporting
Your agent presents a summary of the density metrics. You receive a clear list of counts and density ratios for your files.
calculate_markdown_token_density
Vinkius Agentic Execution Platform
State the outcome. Agents take it from there.
You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.
Run it in Vinkius
Agents carry the task to the end
Agents execute Markdown Semantic Chunker tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.
Take it to any compatible AI
One connection, any client
Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.
Spaces
One Space per activity
A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.
Limits
Autonomy inside limits you set
Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.
Record
All steps, on the record
Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.
Models
Included in your plan
A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.
Try it
Copy these to start.
Use these prompts to kick off the audit with your agent.
Starting points
Swap out the folder paths and file extensions to match your actual project structure.
Markdown Semantic Chunker Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_7rlgv7c4pKsFI7OUQzClGBELy5KOHUclBVDqK0KP/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat, Markdown Semantic Chunker capabilities are ready to use.
{
"mcpServers": {
"markdown-semantic-chunker-mcp": {
"url": "https://edge.vinkius.com/vk_preview_7rlgv7c4pKsFI7OUQzClGBELy5KOHUclBVDqK0KP/mcp"
}
}
}- 01
Calculate the markdown token density for all files in ./docs/api/.
- 02
Check the token density for my markdown files in the current repo to help me set chunking limits.
- 03
Audit the density of the markdown files in /user/projects/knowledge_base/ and tell me which ones are too large.
- 04
Run a density check on all .md files in this folder and summarize the results.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Markdown Semantic Chunker once, then ask.
Click the link to connect the MCP to your client. Your credentials stay encrypted, and you can start running density checks immediately.
Connect Markdown Semantic Chunker to your agentFAQ
How this task behaves.
- 01
Can your agent change my markdown files?
No. Your agent only reads the files to calculate density. It does not modify, delete, or rewrite your content.
- 02
Does this tool count characters or tokens?
It counts tokens. This is specifically designed to help you plan for LLM context windows and embedding models.
- 03
Will your agent automatically re-chunk my files?
No. Your agent provides the data so you can decide how to chunk. The actual splitting of files is a manual or separate process.
- 04
Can I run this on PDFs too?
No. This specific tool is built for markdown files to ensure accurate density reporting for RAG workflows.
- 05
Does it account for markdown syntax in the count?
Yes. The tool calculates density based on the markdown content to give you a realistic view of what your agent will process.
More questions about Markdown Semantic Chunker? The Connector page answers them. See everything the Markdown Semantic Chunker Connector can do
Building with AI? Ship this whole workflow in your product.
Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Markdown Semantic Chunker to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.
Explore Vinkius ConnectTypeScript · Python · Java · Go · C# · PHP · Rust
- 01
Your customers bring their own keys.
Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.
- 02
Whole catalog, kept current.
Markdown Semantic Chunker plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.
- 03
Any agent, any model.
Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.
Connect Markdown Semantic Chunker to Claude, Cursor, ChatGPT & more
From idea to done
See what gets done when the agents take over the busywork
Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.









