mcp-abap-keyword
Enables searching and browsing ABAP keyword documentation from SAP's official help site, including keyword lookup, glossary terms, and topic exploration.
README
MCP ABAP Keyword Server
A Model Context Protocol (MCP) server for accessing ABAP Keyword Documentation from SAP's official documentation site (https://help.sap.com).
📚 Available Languages:
- English (this file)
- 日本語 (Japanese)
Features
- 🔍 Search for ABAP keywords in the official ABAP Index
- 📖 Look up terms in the ABAP Glossary
- 📚 Browse ABAP topics (Dictionary, CDS, Programming Language, RAP, etc.)
- 🗂️ Navigate the main documentation structure
- ⚡ Intelligent caching system for fast repeated queries (1-year cache TTL)
- 🚀 Up to 44x faster response times for cached content
Prerequisites
- Node.js 18.0.0 or higher
- npm 9.0.0 or higher
- TypeScript 5.3.0 or higher
Node.js Setup Guide
macOS
Option 1: Using Homebrew (Recommended)
# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Node.js
brew install node
# Verify installation
node --version
npm --version
Option 2: Direct Download
- Visit https://nodejs.org/
- Download the LTS (Long Term Support) version for macOS
- Run the installer and follow the prompts
- Verify installation by opening Terminal and running:
node --version
npm --version
Windows
Option 1: Using Installer (Recommended)
- Visit https://nodejs.org/
- Download the LTS version for Windows
- Run the
.msiinstaller - Follow the installation wizard (accept default settings)
- Open Command Prompt and verify:
node --version
npm --version
Option 2: Using Chocolatey
# If Chocolatey is installed
choco install nodejs
# Verify installation
node --version
npm --version
Option 3: Using Windows Package Manager
winget install OpenJS.NodeJS
# Verify installation
node --version
npm --version
Installation
npm install
Build
npm run build
Development
npm run dev
Testing
Test scripts are located in the test/ directory (excluded from version control).
# Run cache performance test
node test/test-cache.js
# Run RAP behavior definition test
node test/test-rap-detailed.js
# Run basic functionality tests
node test/test.js
See test/README.md for more details.
Available Tools
1. search_abap_keyword
Search for ABAP keywords in the official ABAP Index.
Parameters:
keyword(required): The ABAP keyword to search for (e.g., 'SELECT', 'DATA', 'CLASS')
Example:
{
"keyword": "SELECT"
}
2. lookup_glossary
Look up a term in the ABAP Glossary to get its definition and explanation.
Parameters:
term(required): The term to look up (e.g., 'ABAP Objects', 'CDS', 'RAP')
Example:
{
"term": "ABAP Objects"
}
3. get_abap_topic
Get detailed information about a specific ABAP topic area.
Parameters:
topic(required): The topic to explore. Available topics:dictionaryorddic- ABAP Dictionarycds- ABAP Core Data Servicesprogrammingorlanguage- ABAP Programming Languageraporrestful- ABAP RESTful Application Programming Modelexamples- ABAP Examplesnewsorreleases- Release News
Example:
{
"topic": "cds"
}
4. browse_main_topics
Browse all main topics in the ABAP Keyword Documentation. Returns a categorized overview of available documentation sections.
Parameters: None
Configuration
Claude Desktop / Claude Code
To use this MCP server with Claude Desktop or Claude Code, add the configuration to your Claude config file:
macOS/Linux
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (Claude Desktop) or ~/.config/claude-code/config.json (Claude Code):
{
"mcpServers": {
"mcp-abap-keyword": {
"command": "node",
"args": ["/absolute/path/to/mcp-abap-keyword/build/index.js"]
}
}
}
Command Line Method:
# Add the MCP server using claude command
claude mcp add mcp-abap-keyword node /absolute/path/to/mcp-abap-keyword/build/index.js
Windows
Edit %APPDATA%\Claude\claude_desktop_config.json (Claude Desktop) or %APPDATA%\claude-code\config.json (Claude Code):
{
"mcpServers": {
"mcp-abap-keyword": {
"command": "node",
"args": ["C:\\absolute\\path\\to\\mcp-abap-keyword\\build\\index.js"]
}
}
}
Command Line Method:
# Add the MCP server using claude command
claude mcp add mcp-abap-keyword node C:\absolute\path\to\mcp-abap-keyword\build\index.js
Note: After adding the configuration, restart Claude Desktop or Claude Code for the changes to take effect.
Cline (VS Code Extension)
To use this MCP server with Cline, follow these steps:
macOS
- Install the Cline extension in VS Code
- Open VS Code settings (Code > Preferences > Settings or Cmd+,)
- Search for "Cline" and find the MCP settings section
- Add the server configuration to your
settings.json:
{
"cline.mcpServers": {
"mcp-abap-keyword": {
"command": "node",
"args": ["/absolute/path/to/mcp-abap-keyword/build/index.js"]
}
}
}
Alternatively, edit .vscode/settings.json in your workspace:
{
"cline.mcpServers": {
"mcp-abap-keyword": {
"command": "node",
"args": ["${workspaceFolder}/../mcp-abap-keyword/build/index.js"]
}
}
}
Windows
- Install the Cline extension in VS Code
- Open VS Code settings (File > Preferences > Settings or Ctrl+,)
- Search for "Cline" and find the MCP settings section
- Add the server configuration to your
settings.json:
{
"cline.mcpServers": {
"mcp-abap-keyword": {
"command": "node",
"args": ["C:\\absolute\\path\\to\\mcp-abap-keyword\\build\\index.js"]
}
}
}
Alternatively, edit .vscode\settings.json in your workspace:
{
"cline.mcpServers": {
"mcp-abap-keyword": {
"command": "node",
"args": ["${workspaceFolder}\\..\\mcp-abap-keyword\\build\\index.js"]
}
}
}
Make sure to replace the path with the actual absolute path to your project's build directory.
Data Source
All information is retrieved from SAP's official ABAP Keyword Documentation: https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/ABENABAP.html
Caching
The server implements an efficient file-based caching system to improve performance:
- Cache Location:
cache/directory (relative to the script location) - Cache Format: Gzip-compressed HTML files (
.html.gz) - File Naming: SHA256 hashes of page URLs (12-character hex) +
.html.gzextension - Cache TTL: 365 days (1 year) - configurable
- HTML Cleaning: Automatically removes unnecessary elements before caching:
- External scripts (
<script src>) - Stylesheet links (
<link>tags) - Metadata (
<meta>tags) - Inline styles (
<style>tags) - Noscript fallbacks (
<noscript>tags) - HTML comments
- External scripts (
- Compression: Uses gzip with maximum compression (level 9) for efficient storage
- Automatic Management: No manual cache management required
- Cache Invalidation: Automatic after 365 days
- Performance: Up to 44x faster response times for cached content
To clear the cache manually:
rm -rf cache
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.