HexDocs MCP - Semantic Search for Hex Documentation, Right in Your Editor ✨

Hey all! I’ve put out v0.2.0-rc.1 but am waiting to release it until I’m more confident in how well it works. Is anyone willing to try it out/give me feedback? I would be eternally grateful!

The main updates are:

  • Added a fetch command to allow the mcp server to auto fetch docs
  • You no longer need to add hexdocs_mcp to your mix.exs. Reasons for this were:
    1. To reduce toil and having to keep dependencies up-to-date for a non-critical tool
    2. I like to switch between various projects and having to remember/install in every project isn’t ideal for my workflow to run mix hex.docs.mcp fetch ...
    3. To make installation as easy as possible for folks. Theoretically you don’t even need to have elixir installed to use the mcp server, though I haven’t tested this.

You can see all of the details and a migration guide in the release notes.

I will admit, it feels odd that the primary entrypoint to this project is a node app, but I think it’s right for now. Once the MCP ecosystem evolves and is more stable, migrating to an elixir MCP server would make a lot of sense I think. I’m open to ideas here if you have any!

2 Likes