\documentclass{article}

\usepackage[index]{mkessler-vocab}



\begin{document}
    \section{beg}\label{foo}
    \vocab{test} test.
    \printvocabindex
\end{document}
