Skip to main content
Glama
Needle MCP Server

Needle MCP Server

by yugaaank

Needle MCP Server

Production-ready MCP server for local structured extraction, classification, and summarization.

CI License: MIT

Needle MCP 让软件能够处理你机器上的结构化数据。它使用 Cactus Needle 模型,因此数据保留在本地,响应速度也更快。


功能

  • 从任何文本中提取 JSON 结构化数据,无需编写提示词。

  • 自动丢弃不必要的上下文,以保持在模型上下文窗口内。

  • 在将大型文档发送到大语言模型之前,在本地对其进行分块和搜索。

  • JSON 修复步骤保证结果可解析。

  • SQLite 缓存可即时返回相同的请求。

Related MCP server: ai-toolbox-mcp

安装

uv tool install git+https://github.com/yugaaank/needle-mcp

用法

Claude Code

claude mcp add needle -- needle

Cursor

cursor mcp add needle -- needle

Claude Desktop

claude mcp add needle -- /path/to/needle

CLI

needle

许可证

MIT – 详见 LICENSE 文件。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to maintain persistent, local memory with retrieval-augmented search, knowledge graphs, and context surfacing, without any cloud dependencies.
    293 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables local AI inference for Claude and Cursor through 22 APIs, including summarization, translation, review, classification, RAG, and more, with all data processed on-device.
    17 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Provides fast, offline typed decision tools (classify, score, check, triage) to agents via the Model Context Protocol, enabling safe local inference across 100+ languages with calibrated confidence and no text generation.
    8
    21 PyPI
    MIT