The URL for a Google’s “I’m Feeling Lucky” search is:
http://www.google.com/search?i&q=%s
You can replace the %s with your query. This is especially helpful when creating a keyword search in a browser.
As a related note, you can do an automatic image search with this:
http://www.google.com/images?&q=