Categories

Markdown Link Extractor

Extract inline links, reference links, and bare URLs from Markdown documents with basic syntax validation

## Features Extracts and analyzes various link types from Markdown content: - **Inline Links**: `[text](url)` or `[text](url "title")` - **Reference Links**: `[text][ref]`, `[text][ref]`, collapsed `[ref][]` - **Reference Definitions**: `[ref]: url "title"` - **Image Links**: `![alt](url)` or `![alt](url "title")` - **Autolinks**: `<url>` - **Bare URLs**: http://, https://, www. URLs without Markdown syntax ## Validation - URL syntax validation - Duplicate link detection - Broken reference link detection - Unused reference definition warnings ## Output Provides comprehensive statistics including: - Link counts by type - Unique vs duplicate URLs - Internal vs external links - Anchor/fragment detection - Issue reporting for broken or invalid links

Count and track links with # anchors

API Documentation

Request Endpoint

POST /en/api/tools/markdown-link-extractor

Request Parameters

Parameter Name Type Required Description
markdownInput textarea Yes -
linkTypes select No -
validateUrls checkbox No -
checkDuplicates checkbox No -
sortBy select No -
extractAnchors checkbox No Count and track links with # anchors

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-markdown-link-extractor": {
      "name": "markdown-link-extractor",
      "description": "Extract inline links, reference links, and bare URLs from Markdown documents with basic syntax validation",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=markdown-link-extractor",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]