# context7 vs xiaohongshu-mcp
_MCP Servers · independent comparison_

> context7 and xiaohongshu-mcp are both open-source mcp servers you can self-host for free. context7 has wider GitHub adoption — 61k stars vs 15k. Neither is universally better — pick by fit.

## Side by side

**context7**
- Open source · MCP server · 61k★ · TypeScript · MIT · active 3 days ago
- Best for: Giving coding agents up-to-date library documentation via MCP.
- Avoid if: Your stack is niche enough that its docs are not covered.
- [listing](https://agentsearchengine.app/agents/context7) · [official](https://context7.com)

**xiaohongshu-mcp**
- Open source · MCP server · 15k★ · Go · active 2 days ago
- Best for: Giving an AI assistant direct access to Xiaohongshu content.
- Avoid if: You need English documentation — the project is documented in Chinese.
- [listing](https://agentsearchengine.app/agents/xiaohongshu-mcp) · [official](https://www.haha.ai/xiaohongshu-mcp)

## Key differences

- context7 has wider GitHub adoption — 61k stars vs 15k.
- context7 is written primarily in TypeScript; xiaohongshu-mcp in Go.

## Which to choose

**Choose context7 if:** Giving coding agents up-to-date library documentation via MCP.

**Choose xiaohongshu-mcp if:** Giving an AI assistant direct access to Xiaohongshu content.

## FAQ

**What's the main difference between context7 and xiaohongshu-mcp?**
context7 has wider GitHub adoption — 61k stars vs 15k.

**Is context7 or xiaohongshu-mcp better?**
Neither is universally better. context7 is the stronger fit for Giving coding agents up-to-date library documentation via MCP; xiaohongshu-mcp for Giving an AI assistant direct access to Xiaohongshu content. Use the side-by-side specs to decide by your own constraints.

**Is context7 or xiaohongshu-mcp free?**
context7 is free to run and self-host; xiaohongshu-mcp is free to run and self-host. Both are free to self-host — you only pay for the infrastructure and any model or API usage.

**Which is more popular, context7 or xiaohongshu-mcp?**
By GitHub stars — a proxy for open-source adoption — context7 is ahead (61k vs 15k). Stars measure attention, not necessarily the better fit for you.

---
Source: [Agent Search Engine](https://agentsearchengine.app) — https://agentsearchengine.app/compare/context7-vs-xiaohongshu-mcp
