citecite-mcp (MCP Server)
This MCP server supports RAG citation markers by injecting [N] markers into LLM output, parsing those markers during post-processing, and stripping them entirely. Its functionality is centered on handling citation marker text patterns like [1] [2] [3] in generated results.
๐ ๏ธ Key Features
- Injects citation markers into text via
inject_citations(text, citations, at?) - Parses all
[N]markers withparse_citations(text) - Removes all
[N]markers withstrip_citations(text)
๐ Use Cases
- Add
[N]citation markers to RAG outputs for downstream processing - Parse citation markers back into structured data (source order, positions)
- Strip citation markers from text before returning to users or other components
โก Developer Benefits
- Tool-based operations for citation injection, detection, and removal
parse_citations(text)returns each[N]with position, index, and marker length
โ ๏ธ Limitations
- Designed specifically for
[N]citation marker patterns and associated operations