mcp-client-typescript
The MCP Docs Server is a Node.js implementation of a Model Context Protocol (MCP) server that provides a powerful tool to search and retrieve up-to-date documentation snippets from popular AI/ML libraries. It leverages the Serper API to perform Google searches restricted to specific documentation domains, extracts meaningful content using web
Documentation
# MCP Docs Server
This project implements a Model Context Protocol (MCP) server in Node.js that provides a tool to search and fetch documentation snippets for popular AI/ML libraries.
---
## ๐ Features
โ
MCP-compliant server (using `@modelcontextprotocol/sdk`)
โ
Tool: **get_docs**
โ
Searches Google for latest docs using Serper API
โ
Supports:
- LangChain
- LlamaIndex
- OpenAI
โ
Returns plain text from documentation pages
โ
Handles timeouts and search failures gracefully
---
## ๐ Project Structuremcp-docs-server/
โโโ server.js # The MCP server implementation
โโโ .env # Environment variables
โโโ README.md # This file
---
## โ๏ธ Setup
1. **Clone the repository**git clone
cd mcp-docs-server
2. **Install dependencies**npm install
3. **Create a `.env` file**SERPER_API_KEY=your_serper_api_key
4. **Run the MCP server**node server.js
---
## ๐ ๏ธ Usage
The server exposes one tool:
### get\_docs
* **Description**:
Searches the latest documentation for a given query and library.
* **Arguments**:
* `query` (string): e.g. `"Chroma DB"`
* `library` (string): one of `"langchain"`, `"llama-index"`, `"openai"`
* **Returns**:
Plain text content fetched from the search results.
Example usage from a compatible MCP client:node client.js path/to/server.js
---
## ๐ฆ Dependencies
* `@modelcontextprotocol/sdk`
* `dotenv`
* `httpx`
* `jsdom`
---
## ๐ Notes
* The MCP server uses the Serper API for Google search.
* To get a Serper API key, visit [serper.dev](https://serper.dev/).
---
## ๐ค Contributing
Feel free to open issues or submit pull requests!
---
## ๐ License
MIT License.
---
## ๐ Links
* [Model Context Protocol (MCP)](https://modelcontext.org/)
* [Serper API](https://serper.dev/)Frequently asked questions
What is mcp-client-typescript?
mcp-client-typescript is The MCP Docs Server is a Node.js implementation of a Model Context Protocol (MCP) server that provides a powerful tool to search and retrieve up-to-date documentation snippets from popular AI/ML libraries. It leverages the Serper API to perform Google searches restricted to specific documentation domains, extracts meaningful content using web
How do I install mcp-client-typescript?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-client-typescript open source?
Yes โ it is hosted on GitHub at https://github.com/anasyakubu/mcp-client-typescript.
Related MCP tools
A Minecraft MCP Server powered by Mineflayer API. It allows to control a Minecraft character in real-time, allowing AI assistants to build structures, explor...
๐ฅ Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients. JavaScript-based implementation.
A model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development JavaScript-based implementation.
A server that integrates Linear's project management system with the Model Context Protocol (MCP) to allow LLMs to interact with Linear.
๐ Powerful Local AI Chat Application - Mcp, Secure, Efficient, Personalized ๆฌๅฐๅ้จ็ฝฒ็ๅคงๆจกๅๅฎขๆท็ซฏ JavaScript-based implementation.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP